Loading...
 
Skip to main content

System Workbench for STM32


creating project with fatfs

I have this problem that whatever I chose I have got these errors

D:/PTM/workspace/pro/inc/usb_conf.h:113:6: error: #error "USB_OTG_HS_CORE or USB_OTG_FS_CORE should be defined"
#error "USB_OTG_HS_CORE or USB_OTG_FS_CORE should be defined"

D">/PTM/workspace/pro/inc/usb_conf.h:126:6: error: #error "USE_USB_OTG_HS or USE_USB_OTG_FS should be defined"

#error "USE_USB_OTG_HS or USE_USB_OTG_FS should be defined"

498:2: error: #error This file is not needed in current configuration

#error This file is not needed in current configuration
^
make: *** fat_fs/src/option/ccsbcs.o Error 1
fat_fs/src/option/subdir.mk:21: recipe for target 'fat_fs/src/option/ccsbcs.o' failed

options are shown in p2 file