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


fixed mcu type per project

The mcu type and board is greyed and not editable after project generation.

http://s3.postimg.org/jwdmiy903/SW4_STM32_mcu_select.pngQuestion

from my undertanting the board is just linked to some symbol (that can be changed by hand )
Cpu type inderectly set compile flags ie
“-mcpu=cortex-m0plus” or -“-mcpu=cortex-m4 ”

ok It make sense that inital value match the initial generated code and selection .
I can undertand beginer user should not play with that but advanced user need this.

As is it is impossible to copy export and reuse project to different mcu type
It is also impossile to have project with multiple configuration targerting different mcu.
Ok ther’s quite a lot of extra dependencies on cpu/mcu type to take care about but it’s manageable (include path and hal src set per configuration and build variable)

I’ll apreciate that mcu could be set in c/c++ compiler tab or MCU Settings tabs (at least what passed to compiler type I don’t care much if board is greyed as that can be changed in c/c++ path & symbol)

Rigth now i had to edit .cproject and change it that by hand

or value=”STM32F401RETx”

Hi,

You can change the board and the mcu in Properties > C/C++ Build > Settings > Target tab. But as you said, the symbols and dependencies need to be changed by youself.

Hope it answer your need.

Regards,
Kevin.


Thanks i see the tab but look like it has no effect
even if change the mcu family and type it always turn back to inital value (.cproject change seam to realy take effect)
and build is always perform usign intial mcu type

the warning seam appropriate ;)
Changing target on existing executable or static library C/C+ + project is highly NOT recommanded, dependencies and options might not be valid anymore. You have to manually reconfigure the project.


I don’t understand why it has no effect for you. I just retried and it works for me.
Did you push on the “Apply” button to reconfigure the project ?

Regards,
Kevin.


i do not have aplly button only ok/cancel?
obviously i use ok;)

http://s24.postimg.org/xczuv07n9/SW4_STM32_mcu_target.pngQuestion

i’m on win7-64 eclispe luna plugin detail below

ARM Compiler for MCU (for Windows 32 bits) 1.1.0.201503101257 fr.ac6.feature.mcu.externaltools.armnone.win32.feature.group Ac6
Eclipse IDE for C/C++ Developers 4.4.1.20150109-0740 epp.package.cpp null
External Tools for Windows (32 bits) 1.1.0.201503121115 fr.ac6.feature.mcu.externaltools.win32.feature.group Ac6
GNU ARM C/C++ Cross Compiler 1.12.1.201412191510 ilg.gnuarmeclipse.managedbuild.cross.feature.group Liviu Ionescu
GNU ARM C/C++ Generic Cortex-M Project Template 1.2.3.201412191510 ilg.gnuarmeclipse.templates.cortexm.feature.group Liviu Ionescu
GNU ARM C/C++ OpenOCD Debugging 2.1.1.201412191510 ilg.gnuarmeclipse.debug.gdbjtag.openocd.feature.group Liviu Ionescu
GNU ARM C/C++ STM32Fx Project Templates 2.2.3.201412191510 ilg.gnuarmeclipse.templates.stm.feature.group Liviu Ionescu
OpenOCD (for Windows 32 bits) 1.1.0.201503101257 fr.ac6.feature.mcu.externaltools.openocd.win32.feature.group Ac6
OpenSTM32 IDE 1.1.0.201503101252 fr.ac6.feature.mcu.ide.feature.group Ac6
OpenSTM32 Linker Script editor 1.1.0.201503101252 fr.ac6.feature.mcu.ldscript.feature.group Ac6
OpenSTM32 Remote debugging support 1.1.0.201503121115 fr.ac6.feature.mcu.debug.feature.group Ac6
STM32CubeMX 4.6.0.201501201329 com.st.microxplorer.feature.group STMicroelectronics


A project with no board selected might not be supported yet.

Kevin.


Thanks that was it Without selecting a board no way to change cpu type .
Any plan to get this fixed ?

I noticed changing type is not causing a clean or rebuild of object only link is oden again
maybe a missing a make dpedencies ?