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


Import demo project (STM32F429i-Discovery demonstration) not working V1.10

I am trying to get the 429i disco demonstration app compiled and loading.

Process
=
1) New workspace
2) File -> Import -> Existing Project
point to C:\Users\Chris\STM32Cube\Repository\STM32Cube_FW_F4_V1.10.0\Projects\STM32F429I-Discovery\Demonstrations\SW4STM32\STM32F429I-Discovery
3) select ‘copy files to workspace’ and ‘search for nested projects’
4) import
5) build

PROBLEMS
=====

1) The build expects workspace ==D:\ (D:\workspaceMars\STM32F429Disco\STM32F429I-Discovery would be correct)
2) BSP/Common is not copied in
3) many of the ‘missing’ entries are actually copied across as can be seen in the screenshot and error messages

How do I patch the eclipse project?

What is the simplest way to generate and compile a project fro STM32F429i that includes RTOS, Sound and Graphics?

I also noticed that AC6 does not identify the Cube repository, and insists on downloading the STM libraries for itself.

The libraries should be installed in a user agnostic place so that all users of the same machine do not individually need to download libraries (This problem appears to be common to Ac6 AND cube)

SCREENSHOT
======
Attaching a screenshot is seriously unfriendly, A zip of the project is attached.
A zip of the project is attached

Untitled

Error Messages
======



Description Resource Path Location Type
Invalid project path: Include path not found (D:\Drivers\BSP\Components\Common). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Drivers\BSP\STM32F429I-Discovery). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Drivers\CMSIS\Device\ST\STM32F4xx\Include). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Drivers\CMSIS\Include). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Drivers\STM32F4xx_HAL_Driver\Inc). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\ST\STemWin\inc). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\ST\STM32_USB_Host_Library\Class\MSC\Inc). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\ST\STM32_USB_Host_Library\Core\Inc). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\Third_Party\FatFs\src). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\Third_Party\FatFs\src\drivers). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\Third_Party\FreeRTOS\Source\include). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\Third_Party\LwIP\src\include). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\Third_Party\LwIP\src\include\ipv4). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Middlewares\Third_Party\LwIP\system). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\Utilities\CPU). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\workspaceMars\Config). STM32F429I-Discovery pathentry Path Entry Problem
Invalid project path: Include path not found (D:\workspaceMars\Core\inc). STM32F429I-Discovery pathentry Path Entry Problem
make: *** No rule to make target `D:/Middlewares/ST/STemWin/OS/GUI_X_OS.c’, needed by `Middlewares/STemWin/OS/GUI_X_OS.o’. Stop. STM32F429I-Discovery C/C++ Problem

Hi,
On the example projects provided in ST firmware, include directories are not copied into the project but are found with relative path. You should re-import the project without copy (don’t forget to delete the previous project).

If you really need to copy the sources, you have to manually change the include directories location path in the project Properties > C/C++ Generals > Paths and Symbols > Includes tab.

Regards,
Kevin

Hi,
I managed to compile the Cube exmaple projects this way:
- Download Cube library via AC6 utilty
- Download it again as a standalone package from ST website
- Change workspace to whatever demo directory in standalone package and import project

This works fine with all sample I tried But I have a problem with the “Demonstations project” confused : it compiles with no errors and the first touchscreen calibration routine is ok but then freezes at home menu (no reactions from the screen). however LEDs are blinking meaning thet the program it self is running.
PS: teh same project was compiled with other tools and it works fine.

Any suggestions ?
Regards,
Atef


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 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