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


System Workbench using Eclipse

Hello,

First time poster...

Background: long time developer using Atmel Mega, and PIC 18F. New to GCC and Eclipse.

Installed System workbench in Eclipse. New Project, Custom Board I called rc2

When done, did a build.

Got a linker error: ld.exe: cannot find -lrc2_hal_lib
and rc2_hal_lib folder does exist several places

How do I tell the linker where to find it? changing the PATH property did not work...

TIA

Glenb

Hi Glenb,

In GCC, the -l flag refers to a static library. When you have created your project, you’ve probably let the default choice for the low-level drivers.
In your case, “As static external libraries” was selected which means that the HAL drivers and the chip headers has been put in the static library project “rc2_hal_lib”. This way is useful if you have many projects on the same board, it avoids to rebuild the HAL drivers for each project.

The error seems to tell the rc2_hal_lib has not been successfully built. Please, click on this project in the “Project Explorer” view to see the GCC console output and to know the real error.

Regards,
Kevin

Kevin,

Thanks, you were correct, way too many error to worry about the one I saw...

I am changing tacks, and going to import a STM CubeMX project, following instructions I found here in the OpenSTM32.

Glenb