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


I need to Generate Code again to compile the project with STM32CubeIDE

I use STM32CubeIDE Version: 1.0.1 Build: 3139_20190612-1256 (UTC) to develop my application. The device is the Nculeo-F746ZG discovery board.
In my configurations on the project, I enabled the freeRTOS and LWIP. I don’t have any problems in at the beginning.
But, after I closed the project and close the STM32CubeIDE, I open the STM32CubeIDE with project again. It failed to compile.
I got errors as following.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

18:28:03 **** Incremental Build of configuration Debug for project PosPrinterSimulator ****
make -j8 all
arm-none-eabi-gcc “../Src/main.c” -mcpu=cortex-m7 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32F746xx -DDEBUG -c -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include -I../Drivers/STM32F7xx_HAL_Driver/Inc -I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF”Src/main.d” -MT”Src/main.o” --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o “Src/main.o”
../Src/main.c:23:10: fatal error: cmsis_os.h: No such file or directory
#include “cmsis_os.h”
^~~~~~~~~~~~
compilation terminated.
make: *** Src/subdir.mk:51: Src/main.o Error 1
“make -j8 all” terminated with exit code 2. Build might be incomplete.

18:28:04 Build Failed. 2 errors, 0 warnings. (took 925ms)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

After I generated code of project, I could compile the project without any problem.
Any idea to me to solve this problem?

 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs