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


You are viewing a reply to SW4STM32 - use GCC v4.9 ?  

SW4STM32 - use GCC v4.9 ?

OK, so I creatd a new Configuration, and used the path to the 4.9 tools in it:
2017 06 07 (8)

I also added a pre-build step - to confirm the version in use:
2017 06 07 (9)

It seemed that didn’t “take” without restarting Eclipse.

After restarting Eclipse, the build fails with “Resource ‘Debug-493/sources.mk’ does not exist”

On repeating the build, sources.mk appears and then the build fails with “Resource ‘Debug-493/makefile’ does not exist”

On repeating the build, makefile appears and then the build fails with “Resource ‘Debug-493/objects.list’ does not exist”

On repeating the build a third time, objects.list appears and, finally, the build actually completes - but it has used the wrong toolchain!

16:59:25 **** Incremental Build of configuration Debug-493 for project L4_Blinky01 **** make -j4 pre-build main-build ‘Check Toolchain Version’ ‘Building file: ../startup/startup_stm32l476xx.s’ ‘Building file: ../Src/main.c’ arm-none-eabi-gcc --version ‘Building file: ../Src/stm32l4xx_hal_msp.c’ ‘Invoking: MCU GCC Compiler’ ‘Invoking: MCU GCC Compiler’ ‘Invoking: MCU GCC Assembler’ arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.4.1 20160919 (release) [ARM/embedded-5-branch revision 240496] Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. C:\STWork\L4_Blinky01\Debug-493 arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=c99 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32L476xx -I”C:/STWork/L4_Blinky01/Inc” -I”C:/STWork/L4_Blinky01/Drivers/STM32L4xx_HAL_Driver/Inc” -I”C:/STWork/L4_Blinky01/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy” -I”C:/STWork/L4_Blinky01/Drivers/CMSIS/Device/ST/STM32L4xx/Include” -I”C:/STWork/L4_Blinky01/Drivers/CMSIS/Include” -O0 -g3 -Wall -fmessage-length=0 -v -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF”Src/main.d” -MT”Src/main.o” -o “Src/main.o” “../Src/main.c” ’ ’ C:\STWork\L4_Blinky01\Debug-493 arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o “startup/startup_stm32l476xx.o” “../startup/startup_stm32l476xx.s” ‘Building file: ../Src/stm32l4xx_it.c’ C:\STWork\L4_Blinky01\Debug-493 arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=c99 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32L476xx -I”C:/STWork/L4_Blinky01/Inc” -I”C:/STWork/L4_Blinky01/Drivers/STM32L4xx_HAL_Driver/Inc” -I”C:/STWork/L4_Blinky01/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy” -I”C:/STWork/L4_Blinky01/Drivers/CMSIS/Device/ST/STM32L4xx/Include” -I”C:/STWork/L4_Blinky01/Drivers/CMSIS/Include” -O0 -g3 -Wall -fmessage-length=0 -v -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF”Src/stm32l4xx_hal_msp.d” -MT”Src/stm32l4xx_hal_msp.o” -o “Src/stm32l4xx_hal_msp.o” “../Src/stm32l4xx_hal_msp.c” ‘Invoking: MCU GCC Compiler’ Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc Target: arm-none-eabi Configured with: /home/build/work/GCC-5-build/src/gcc/configure --build=i686-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/home/build/work/GCC-5-build/install-mingw --libexecdir=/home/build/work/GCC-5-build/install-mingw/lib --infodir=/home/build/work/GCC-5-build/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/home/build/work/GCC-5-build/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/home/build/work/GCC-5-build/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/home/build/work/GCC-5-build/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/home/build/work/GCC-5-build/install-mingw/arm-none-eabi --with-libiconv-prefix=/home/build/work/GCC-5-build/build-mingw/host-libs/usr --with-gmp=/home/build/work/GCC-5-build/build-mingw/host-libs/usr --with-mpfr=/home/build/work/GCC-5-build/build-mingw/host-libs/usr --with-mpc=/home/build/work/GCC-5-build/build-mingw/host-libs/usr --with-isl=/home/build/work/GCC-5-build/build-mingw/host-libs/usr --with-cloog=/home/build/work/GCC-5-build/build-mingw/host-libs/usr --with-libelf=/home/build/work/GCC-5-build/build-mingw/host-libs/usr --with-host-libstdcxx=’-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm’ --with-pkgversion=’GNU Tools for ARM Embedded Processors’ --with-multilib-list=armv6-m,armv7-m,armv7e-m,armv7-r,armv8-m.base,armv8-m.main Thread model: single gcc version 5.4.1 20160919 (release) [ARM/embedded-5-branch revision 240496] (GNU Tools for ARM Embedded Processors) +-