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


Errors after a clean on CubeF4 examples

When I load any of the examples from STM32Cube_FW_F4_V1.7.0 package, e.g. “STM32Cube_FW_F4_V1.7.0\Projects\STM32F401-Discovery\Examples\GPIO\GPIO_EXTI\SW4STM32”, I’m able to build out of the box but after I do a clean and try to rebuid again, then I get errors when trying to rebuild. I found that if I attempt to rebuild four times, then the fourth time, it works. After each of the first three build attempts, I get three different errors.

Project->Build Project
Errors occured during build.
Errors running builder ‘CDT Builder’ on project ‘STM32F4xx-Nucleo’.
Resource ‘/STM32F4xx-Nucleo/Debug/sources.mk’ does not exist.

Project->Build Project
Errors occured during build.
Errors running builder ‘CDT Builder’ on project ‘STM32F4xx-Nucleo’.
Resource ‘/STM32F4xx-Nucleo/Debug/makefile’ does not exist.

Project->Build Project
Errors occured during build.
Errors running builder ‘CDT Builder’ on project ‘STM32F4xx-Nucleo’.
Resource ‘/STM32F4xx-Nucleo/Debug/object.list’ does not exist.

Project->Build Project
Builds Project Successfully. __


Can you look into this issue and fix in future release?

Thanks,
Joe T

Hello Joe,

Indeed, we had several feedbacks about issues in the SW4STM32 projects provided in the library examples. After investigation, we found out that there are several bugs in the .cproject and .project files. The issue has been fixed in the tool which is generating these projects and the examples will be fixed in a maintenance release of the library.

Best Regards,

Pascale


Using SW4STM32 version 2.0, I get the same error.
It happens after a “clean” command of the project too. It seems that this is still not fixed (or maybe in the IDE?).
I use CubeF4 version 1.16.0, the latest.
This happens to this project:
STM32Cube_FW_F4_V1.16.0\Projects\STM32F429I-Discovery\Applications\FatFs

I also have to compile about 3 times until it works.
The first time I get the same error:
Project->Build Project
Errors occured during build.
Errors running builder ‘CDT Builder’ on project .
Resource ‘/Debug/sources.mk’ does not exist.

The second time I get this error:
Project->Build Project
Errors running builder ‘CDT Builder’ on project
Resource ‘/Debug/Application/SW4STM32’ does not exist.

And after that, it finally builds properly.

It seems that on other projects (like building the official full demos of the boards) it works fine.
Hence I suspect that the fixes were made only for the demo projects and not for all projects. I would recommend doing it for all other projects too.


Can SW4STM32 please tell us what they have changed in the .cproject or .project files so that this error disappears? This way we could apply that change to other projects having this issue.

Thanks,
dulan

I’d appreciate that too. I’ve created a new project from scratch with the latest version of sw4stm32 but am still experiencing this problem.
After third retry it builds properly.

Thanks,
over.