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


errors building eclipse project from cubeMX

Hi,

i am following a book about STM32 and i am really new to this world.
I have an STM32f103c8T6 bluepill.
i have copied files generated from CubeMX project to Eclipse project as described in the book but i have errors:


Building process fail with 3 errors:

../system/include/cmsis/stm32f1xx.h:147:27: fatal error: stm32f103x6.h: No such file or directory

  1. include “stm32f103x6.h”

^
system/src/stm32f1xx/subdir.mk:51: recipe for target ‘system/src/stm32f1xx/stm32f1xx_hal.o’ failed
compilation terminated.
make: *** system/src/stm32f1xx/stm32f1xx_hal.o Error 1
“make all” terminated with exit code 2. Build might be incomplete.


CAN YOU HELP PLEASE?

HI, I’m a newbie in SW4STM32, and cannot explain why the system cannot find the file gpio.h which is however known in my project. Here is the backgroud:
1- I have produced a very simple file with STM32cubeMX on a STM32L476RG MCU, including 2 GPIOs, PA5 and PC6. I also set the clock to 0.25Mhz, and that’s all for this part.
2- I import the project “as is” in SW4STM32
3- I launch the “build project” and I get in the console when compiling gpio.c:

../Src/gpio.c:41:10: fatal error: gpio.h: No such file or directory
#include “gpio.h”
^~~~~~~~
I joined a screenshot describing my eclipse project view where one can see the gpio.h file really present in the tree
I probably missed something somewhere...
Could someone help me ?


 

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