Loading...
 

STM32MP1 support available in SW4STM32

   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 download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


Re: SW4STM32 or CubeMX to init STM32 device

Hi,

I have download the “tem2_with_everything_HSE_8mhz fixed SHORTENED.zip (443.35 Kb)” file. The STM32CubeMX-generated code was for TrueSTUDIO and not System Workbench.

I did download the latest version of STM32CubeMX (v4.7.0), opened your project and change the Toolchain/IDE to SW4STM32 in the project settings. Then I’ve regenerated the code.

On System Workbench, I chosed the CubeMX project root directory as workspace, then imported the generated project.

To debug, I have found the debug script “nucleo-f411re.cfg” in the repertory “SystemWorkbench\plugins\fr.ac6.mcu.debug_1.1.0.201503121050\resources\openocd\scripts\st_board”. I’ve copied it into the project and select it as local script in the debug configuration.

My workspace is attached in http://dl.free.fr/k9pDN3ZlNQuestion. Run System Workbench with this fiolder as workspace. You should see your project.

Hope it will work and help you.

Regards,
Kevin