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


Compiling Demonstration for 32L0538DISCOVERY on SW4STM32

Italy

Hi Shirokuma, first you have to choose a complete template or better an example.
All examples Application and templates have AC6 setting. Demonstration has no AC6 settings, hope ST can supply this in the future.

So the fast way can be pick one project, I suggest USB to avoid miss important settings. (Application USB_Device DFU_Standalone)
Try import compile and test.
At this point copy and paste project. (ctrl C ctrl V or from menus copy and paste)

On project copy, start add files from demonstration.
Clean compile and see what still is missing from, open :-> project-explorer -> Property for xxxxxx
C/C++ general -> Paths and Symbols
tabs Includes and Source Locations
add path to missing Folder and library or sources

if reference is not under project root:
Select folder where it has to be (example Src or Inc) right click mouse on folder then select “new file” on popup select Advanced
select check box “link to file in file system” use button browse to select file, when done press button finish.

- *** - *** --- ***
Alternate.
- *** - *** --- ***
(Maybe folder naming where different on your system)
Open repository directory:
$homedir/STM32Cube/Repository/STM32Cube_FW_L0_V1.11.0/Projects/32L0538DISCOVERY/Applications/USB_Device/DFU_Standalone
copy folder SW4STM32 then paste to
$homedir/STM32Cube/Repository/STM32Cube_FW_L0_V1.11.0/Projects/32L0538DISCOVERY/Demonstrations
CD to
$homedir/STM32Cube/Repository/STM32Cube_FW_L0_V1.11.0/Projects/32L0538DISCOVERY/Demonstrations/SW4STM32
rename STM32L053C8_USBxxxxx to STM32L053C8_Demonstrations then CD to folder STM32L053C8_Demonstrations/Debug
keep STM32L053C8Tx_FLASH.ld, STM32L0538DISCOVERY.xml, .project .cproject and folder .settings select other things and delete.


edit both .project and .cproject
subst STM32L053C8_USBxxxxx with STM32L053C8_Demonstrations

rename or adapt Applications to Demonstrations, check subdir depth and adapt to new one (projects Applications has subfolder projects Demonstrations not).
save
import and clean then try compile.
May be some dependances still where uncovered but can be adjusted on settings.
Also file .project and .cproject can be edited as XML on workbench open as file not project. When ready import.
If this doesn’t work tell again.
Best regards
Roberto