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 two short videos (registration required) highlighting:

System Workbench for STM32


Rename projects ..Does that work ?

HI
Now i am getting more and more familiar witn openstm,and now i do want to rename some of the imported projects from cube exsamples.
It means that i did import, play around, re program and learn a lot from one project, and then want to import another one..
But it can not be done because they are named stm32f7-discovery all of them.

How do i rename a imported project without spoiling everything ?

AND important ..IF you make a clean after you imported from the cube exsamples you can not compile..But if you never hit clean - only make - everything is running smooth and will compile in first shot, and will debug also ...just for information ;o)

Great IDE with some small “issues”

Hjalmar

France

Hi Hjalmar,

Currently there is a bad interaction between the way projects are generated by CubeMX (which is the case of the provided example projects) and project renaming in Eclipse that cause these to fail renaming... We are working on that and will correct it in a future release.

If you want to try several examples, the best solution for now is to create new workspaces to import the second, third, etc. projects; we are working on a solution with ST, so that theer example projects have meaningful names.

Bernard

Hi Bernard,

any update on this?

Regards,
Michele

From what I have seen this is a general problem with C/C++ under eclipse. Eclipse was written for Java where ther is no concept of cross compilation and different versions of header and source files for different targets. Versioning under Java was a nightmare until tools like Mave were introduced.

It is extremely frustrating in this environment to use a previous project as a template for a new one.

It also is a side effect when e.g. using a git repository as an intermediate between differnt development machines, some of which run under different operating systems. This often happens when a development machine is upgraded, replaced or stolen.

What is probably needed is a better make system (cmake or autotools?) and perhaps a move away from the java centric eclipse environment.

Embitz has a nice feature ‘Import recursive’ which would be a nice to have in SW4STM32 it does not presuppose any existing make instructions from another IDE, just looks at compilable files in the filesystem it is given.

Precompiled libraries would also improve things, this is something that SW4STM32 seems to be working towards. Any Brown (http://andybrown.me.uk) has worked in this area fro a number of years and has some very nice C++ libs, perhaps he could be enticed by ST to move and include support for the Discovery boards with graphics/touch screens and newer HAL libs.



Hello everyone,

I tried the following steps to succesfuly rename a project:

1. Copy and paste the folder with the project in the desired location.
2. Change the name of the folder to the new name of the project (optional).
3. Delete the folders “Debug” and “Release” if they exist inside the project folder.
4. If you are using Cube rename the Cube File (.ioc) to the new name of the project. This is highly important. Otherwise cube will not be able to modify the new project.
5. Rename the CFG File which has the format “ProjectName Run”. Only replace the “ProjectName” with the new name. Keep the space character between both words.
6. Open the CPROJECT-File (usually has not a name assigned) with a text editor. Replace all instances of the old name of the project with the new name. Save and close the file.
7. Open the PROJECT-File (usually has not a name assigned) with a text editor. Replace all instances of the old name of the project with the new name. Save and close the file.
8. Open the project and compile it.
9. Flash the microcontroller.
10. If any error appears try by making a full build of the project: right click to the name of the project in the project explorer, then “Build Configurations” and finally “Build All”. Try flashing again.

It worked for me. I hope for you too!

Best regards,

Diego Ballen


Hi diego_ballen,

Thanks for your post. the step by step method you shared really helped me. thank you.


 

Newest Forum Posts

  1. Firmware Installation Process Issue by valkundesuyash@gmail.com, 2019-12-12 16:14
  2. STM32F746-Discovery by stanandrzej, 2019-12-12 13:55
  3. Can't debug by deksnys4life, 2019-12-12 08:16
  4. Can't download StdPeriph library during project creation by klopi90, 2019-12-09 08:46
  5. Building project - subdir.mk error by nupurkohadkar1997, 2019-12-06 18:10
  6. openOCD Wrong device detected by maxim221, 2019-12-06 12:32
  7. STM32429I_Discovery board with printf float support problem by johannes.visser@msc-technologies.eu, 2019-12-05 16:08
  8. malloc heap issue with CubeMX Project by johannes.visser@msc-technologies.eu, 2019-12-05 16:04
  9. Debugger not working by Daniel Jack Morley, 2019-11-27 21:46
  10. Compiler change problem by Lucian Pop, 2019-11-20 17:41

Last-Modified Blogs