Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

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