Adding a custom Library to SW4STM32 project
Hello Bernard,
Sorry for the answer delay ...
Yes, the BlueMox_Library.h is posted in both main.c and BlueMox_Library.c.
Here’s the declaration of my two variables :
volatile float Iload = 0.0;
char buffer 30 = {0};
EDIT : If I use static for the declaration the compilation works, but I don’t really understand why a static declaration is so important in this case.
Best regards
Sylvain.