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


static library link error with STM32L4

static library is added in project folder with path STM32_display/Lib/libSTM32display.0.0_CM4_GCC.a

Same path is updated under “Properties->C/C++ General->Paths and Symbols->Libraries” and “Properties->C/C++ General->Paths and Symbols->Library Path”

__Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: cannot find -l/home/sachin/workspace/UnitTest/STM32_display/Lib/libSTM32display.0.0_CM4_GCC.a
collect2: error: ld returned 1 exit status
make: *** UnitTest.elf Error 1
makefile:37: recipe for target ‘UnitTest.elf’ failed__

Please help if anything is not appropriate to link static library.

Hi,

With GCC in Eclipse, to link a static library :
In “Properties->C/C++ General->Paths and Symbols->Library Path”, add “Lib/”
In “Properties->C/C++ General->Paths and Symbols->Libraries”, add “STM32display.0.0_CM4_GCC” (the “lib” prefix and the extension are not required)

Hope it works,
Kevin.


Thanks for information. Now it is giving error for “uses VFP register arguments, ” any suggestion

16:09:07 **** Incremental Build of configuration Debug for project UnitTest ****
make all
Building target: UnitTest.elf
Invoking: MCU GCC Linker
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L”/home/sachin/workspace/UnitTest/STM32_display/Lib” -T”/home/sachin/workspace/UnitTest/LinkerScript.ld” -Wl,-Map=output.map -Wl,--gc-sections -o “UnitTest.elf” @”objects.list” -lSTM32displayV3.0.0_CM4_GCC -lSTM32displayV3.0.0_CM4_GCC_ot -lm
/home/sachin/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: error: UnitTest.elf uses VFP register arguments, /home/sachin/workspace/UnitTest/STM32_display/Lib/libSTM32displayV3.0.0_CM4_GCC.a(display.o) does not
/home/sachin/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/sachin/workspace/UnitTest/STM32_display/Lib/libSTM32displayV3.0.0_CM4_GCC.a(display.o)
collect2: error: ld returned 1 exit status
make: *** UnitTest.elf Error 1
makefile:37: recipe for target ‘UnitTest.elf’ failed