Fatfs problems during first integration
Hi,
I’m trying to install OpenSTM32 on my Eclipse
Goal is to use STM32CubeMx and then integrate generated source code in Eclipse as you propose it
I’m following your starting documentation and I’m trying to generate a project including FreeRtos, Fatfs and USB device and host
I have some compilation errors mainly around Fatfs and usb_host integration
FATFS
Description Resource Path Location Type
‘MSD_OK’ undeclared (first use in this function) sd_diskio.c /AC6_test_2/Middlewares/Third_Party/FatFs/src/drivers line 80 C/C++ Problem
Field ‘CardCapacity’ could not be resolved sd_diskio.c /AC6_test_2/Middlewares/Third_Party/FatFs/src/drivers line 174 Semantic Error
request for member ‘CardCapacity’ in something not a structure or union sd_diskio.c /AC6_test_2/Middlewares/Third_Party/FatFs/src/drivers line 174 C/C++ Problem
Symbol ‘MSD_OK’ could not be resolved sd_diskio.c /AC6_test_2/Middlewares/Third_Party/FatFs/src/drivers line 80 Semantic Error
Symbol ‘SDRAM_DEVICE_SIZE’ could not be resolved sdram_diskio.c /AC6_test_2/Middlewares/Third_Party/FatFs/src/drivers line 163 Semantic Error
Type ‘SD_CardInfo’ could not be resolved sd_diskio.c /AC6_test_2/Middlewares/Third_Party/FatFs/src/drivers line 160 Semantic Error
unknown type name ‘SD_CardInfo’ sd_diskio.c /AC6_test_2/Middlewares/Third_Party/FatFs/src/drivers line 160 C/C++ Problem
USB Host
Field ‘class_ready_event’ could not be resolved usbh_template.c /AC6_test_2/Middlewares/ST/STM32_USB_Host_Library/Class/Template/Src line 178 Semantic Error
Symbol ‘osWaitForever’ could not be resolved usbh_template.c /AC6_test_2/Middlewares/ST/STM32_USB_Host_Library/Class/Template/Src line 178 Semantic Error
Symbol ‘USB_TEMPLATE_CLASS’ could not be resolved usbh_template.c /AC6_test_2/Middlewares/ST/STM32_USB_Host_Library/Class/Template/Src line 98 Semantic Error
Can you help me on these topics ?
Thanks
Jean