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 two short videos (registration required) highlighting:

System Workbench for STM32


You are viewing a reply to sprintf / _sbrk make error  

sprintf / _sbrk make error

I would (respectfully) disagree with bluenow and suggest that the bare-bones syscall.c be included in new Ac6 C/C++ projects. When I was starting out with SW4STM32, I ran into this problem too and eventually solved it on my own by looking at other complete project examples, eventually figuring out that this source file had to be part of my project. It was a bit frustrating though, and adds an extra hurdle for the “newbie” to get over.

The onus for removing or replacing syscalls.c with a more appropriate implementation for a more complex project, e.g. one that uses a RTOS or has more complex memory management requirements, should be on those people who, in all likelyhood, will be more advanced and experienced users and will know ahead of time that the default syscalls will need to be modified or replaced.