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


Problems adding a new library .a

Hi,

I am having some problem adding a new library to a project. I opened Properties/C/C++ General/Path and Symbols/Library Path and i added the .a file. When i did it, in C/C++ Build/Setting/MCU GCC LInker, it appears on the added libraries list. which i think is how it should be. But when I build the project, I get the following error:

c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.11.0.201610101338/tools/gcc-arm-none-eabi-5_4-2016q2-20160622-win32/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lC:/Users/Gregorio/Desktop/NewMCUfiles/SSD1963(23012018)1/SSD1963/SSD1963/EmWin/libSTemWin522_CM4_GCC.a

So apparently it can’t find the library and I don’t know why.

Thank you for your help

France

Hi,

To load a library, the best way is to

  1. Set a -L option with the directory where the library is:
    • project properties >> C/C++ Build >> Build settings >> MCU GCC Linker >> Libraries >> Libraries search path
    • in your case this is /Users/Gregorio/Desktop/NewMCUfiles/SSD1963(23012018)1/SSD1963/SSD1963/EmWin
  2. Set a -l option with the library base name:
    • project properties >> C/C++ Build >> Build settings >> MCU GCC Linker >> Libraries >> Libraries
    • in your case this is STemWin522_CM4_GCC


The linker will search for libyour_lib_name.a in the library search path provided and should find your library

HTH

Bernard (Ac6)

Hi Bernard
It is working now

Thank you for your help

Gregorio


Sir

I’ve just created a new project and I’m having a lot of issues with it. When I tried to build it, a message appeared saying that ‘building is finished’.But lot of errors in console window. I figured out that binaries is missing under my file name in the project explorer. Please see the attachment showing the error message. Please reply.



I am using STM32 AC6 software system workbench & STM32F3 DISCOVERY Board. Please do the needful

Please reply then only i can start my research work. I am a new learner of this software.

Hi,

It looks like you can’t run the compiler program (arm-none-gnueabi-gcc.exe). No project can compile on your system.
I’m not sure if it is due to an other software or if your installation directory path is not supported.

Do you have unix-like environment installed in your system (such as cygwin or msys) ? Do you run System Workbench from this environment ?
Can you verify that your installation path does not contains special character or space ? (maybe there is a bug on this)

Regards,
Kevin


I’ve had the same problem. When I tried to compare to a project that would both compile and link with the same library - I noticed that in the project that would link in the library the library name was prefixed with : so in the properties the correct library name was :-STemWin_CM7_GCC_ARGB.a instead of STemWin_CM7_GCC_ARGB.a ! Notice also, that I kept the .a suffix - otherwise the linker can not find the library!