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


Import Arduino Libraries

Hello

I started trying out the SW4STM32 IDE today and finished with the blink example.
Since i come from arduino and have a lot of loved libraries there, i tried do make them work in SW4STM32 but i failed :-(

Here is what i’ve done:

- Import CubeMX configuration and made the “blink” example which worked
- In Project User, i added new header file (TimeLib.h)
- In Project User, i added new source file (TimeLib.cpp)
- In Main.c i added #include “TimeLib.h”
- in main void, i added “setTime(UL);” which is a function in TimeLib

When building, i gett error “undefinded reference to ‘setTime’.

What am i doing wrong?

The TimeLib is basically a virtual rtc and only has two uses of functions that are not just “software”. Its the millis() function, but this can be coded in STM32 as a replacement as following:

uint32_t millis(){
return HAL_GetTick();
}

Then the library would have basically all the things it needs.

But why does the IDE not find the call of “setTime()” ? :-(

Regards
sgtBear

This is what I am interested in, too.
I need to adapt arduino project to run it in STM32F769I Discovery. (Any simple project for the beginning.)


Have you seen this before?

http://www.stm32duino.com/Question
https://github.com/stm32duinoQuestion

Otherwise,
If coming from Arduino with out a lot of “real c programming experience” to SW4STM32 and HAL, strap yourself in for one heck of a learning curve.
I do love having a real debugger though and it is worth it.