Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


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

Hi,
I changed the way to do it using now your “step by step” document I found on your forum
I succeeded
Nice !!!
Jean


Jean,

Do you have a link to the step by step. I’m hainvg a hard time finding it.

Joe


Joe
Sorry, I don’t have the link. It was somewhere in the forum...
But let me an email address
I can push it to you although I’m not the owner of it
Jean



 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs