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


SW4STM32 v2.0 fails to build imported project from v1.13.1

If I modify the USE_HAL_DRIVER definition to USE_HAL_DRIVER=1 then it, too, gets corrupted with spurious single-quotes on the command line:

 arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=c99 '-D__weak=__attribute__((weak))' '-DUSE_HAL_DRIVER=1' -DSTM32L476xx ... 


So the bug appears to be in the handling of the -D name=definition form of the option

https://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Preprocessor-Options.htmlQuestion

EDIT

Note that the spurious single-quotes do not appear in the GUI display of the command-line options in the Properties view

2017 06 20 (10)