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


Eclipse Scraps Resources At Will

I have come across a fact that Eclipse scraps .c files of which header files are left intact in the project tree. This is not normal. What happened here?

The project was created starting from GNU ARM toolchain wizard ‘empty project’ instead of ‘Blinky_led’, not from an Ac6 project creation wizard. Still, what is the reason Eclipse scraps the .c files?

It is normal because you create empty project without and peripheral is used, therefore they do not know which peripheral you want to use in your project,
and It is not good to include all the standard peripheral library to your project it is not efficient
But Eclipse helped them to make this easy, How ?
Is by excluding the files from the build configuration
and therefor you see it inactive.
How to solve this ???
Go to the file you want to add it to the project Right Click -> Resource Configuration -> Exclude from Build -> the un check the checkbox

then we will see the file is active “without the dash line on the icon”



Best Regards
Eng.mazen


Could be because it’s an empty project however that would be a unacceptable haphazard by eclipse. I have come to the conclusion that eclipse is a ‘dumb’ IDE tool and has its illogic ways of acting. These .c files should never be crossed out bu default.

I looked around still and found the answer in Project => Properties => C/C++ Build General => Paths and Symbols -> Source Locations: selecting paths and Edit Filter, while making sure the Filter is ‘Empty’.

Yes, it is good to include the Standard Peripheral Library in the beginning of learning using and understanding compiling C code or whatver code. Everything is in one package and the beginner has oversight over the situation. All beginners must start this way before spreading stuff around not knowing where is what and what is used. Dependencies are a pain for every beginner. The concept of dependencies is what is overlooked in Arduino. Many Arduino people find themselves in unsurmountable trouble once entering the ARM zone and Eclipse with its unpredictable quircks. Soon C-code might be defunct and the connoisseur/enthusiast will be left completely at a loss with C++ code’s bloating coding protocols. Anyway, that’s another story.

Your solution ‘Right Click -> Resource Configuration -> Exclude from Build -> the un check the checkbox’ makes me the more aware how an Eclipse setting can be changed from several different Eclipse setting options. Very user unfriendly, but that’s also another story. There’s still a lot to be done to reduce forum clog.