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 two short videos (registration required) 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


 

Newest Forum Posts

  1. Holy fuck by mkellinghusen, 2020-12-02 22:54
  2. Holy fuck by rhaley-starfish, 2020-12-02 19:46
  3. Unable to Build and Clean Program in STM32CubeIDE by chandlerbing65nm, 2020-12-01 15:25
  4. Holy fuck by jqwpb, 2020-12-01 09:45
  5. Ubuntu 19.04 Debug problems by wigir, 2020-11-29 20:38
  6. SW4STM32 installation on Ubuntu 20.04 LTS by ImedBriki, 2020-11-27 23:43
  7. Serial Printing on STM32F1 using CubeMX by LORDHADES, 2020-11-27 09:04
  8. gdb not connected to openocd for debug by avf1906, 2020-11-23 10:26
  9. STM32F103 + CAN -> microcontroller does not release the frame from FIFO banks by amilo_pa, 2020-11-17 09:08
  10. STWINKT1 as HID by greale, 2020-11-13 13:03

Last-Modified Blogs