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


You are viewing a reply to Error log/ console view  

Error log/ console view

Dear Sir ,

Thank you once again.
Yes, you picked up very key point here.

I did see this thing before, but problem is compiler shows different errors in different time you compile.

As far as I remember I have #include header file in main c.
To be honest, my huge project has 2 main files, 1 from cubemx, other is little modified with user code in cubemx.

Its true many times I have added constants in c like #define contant.

For this time being lets talk about the project which has less compile time.
In this case I think, include paths and CMSIS header files are well linked in system.

Take a look now,

Info: Internal Builder is used for build
arm-none-eabi-gcc -mthumb -mfloat-abi=soft -E “-IC:\STM32_toolchain\bin” “-IC:\STM32_toolchain\arm-none-eabi\bin” “-IC:\STM32_toolchain\common\Drivers\STM32F0xx_HAL_Driver\Inc” “-IC:\STM32_toolchain\common\Drivers\STM32F0xx_HAL_Driver\Src” “-IC:\STM32_toolchain\lib\gcc” -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -o “startup\Src\stm32f0xx_hal_pcd.o” “..\startup\Src\stm32f0xx_hal_pcd.c”
arm-none-eabi-gcc -mthumb -mfloat-abi=soft -E “-IC:\STM32_toolchain\bin” “-IC:\STM32_toolchain\arm-none-eabi\bin” “-IC:\STM32_toolchain\common\Drivers\STM32F0xx_HAL_Driver\Inc” “-IC:\STM32_toolchain\common\Drivers\STM32F0xx_HAL_Driver\Src” “-IC:\STM32_toolchain\lib\gcc” -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -o “inc\Src\stm32f0xx_ll_utils.o” “..\inc\Src\stm32f0xx_ll_utils.c”
..\inc\Src\stm32f0xx_ll_utils.c:38:30: fatal error: stm32f0xx_ll_rcc.h: No such file or directory
compilation terminated.

13:40:20 Build Finished (took 803ms)


We can think number of question ...

1.If the HAL header file is already exsists in project tree folder, does it make trouble?
2. How about staying Debug folder in project tree, does it make sence ?
3. Is there anything with pre=prossesor setting?...I did tick on project properties>C/C++ build>setting>preprocessor>Preprocess only(-E)

Take a look on some setting in this attacment.

Regards
Hasan

 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  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. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs