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


Adding a custom Library to SW4STM32 project

France

Hi Sylvain,

That exactly what I thought: in BlueMox_Library.h you should declare these variables; however here you define them. Instead, in BlueMox_Library.h you should have the variables declarations:
extern volatile float Iload; 
extern char buffer 30;
and in BlueMox_Library.c you must add the definitions (that were incorrectly placed in the header file):
volatile float Iload = 0.0; 
char buffer 30 = {0};

Then your project should compile and link without any problem.

Remember: you should only declare things in header file, never define them (except for static inline functions).

Hope this clarifies things,

Bernard (Ac6)