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


Issues after changing compiler from "Ride7+RKitARM" to System Workbench for STM32"

Hello,

I have a project which is developed for five years for MCU STM32F103VGTx. Hardware in this project consist of two up to seven boards (each with STM32F103VGT6 MCU). Boards are connected together with CAN bus (2.0). Everything is working fine. For developing this project I am using “Ride7” IDE and “RKitARM”(we have enterprise licence from Raisonance company):

http://www.raisonance.com/software_packages_arm.htmlQuestion

This project is based on old “Standard Peripheral Libraries”. I haven’t any problems with compiling project sources using Ride7+RKitARM. I would like to move with development to “System Workbench for STM32” (I am using this compiler together with STM32CubeMX for new projects). I imported project from sources to SW4STM32, but I encoutered many problems with compilation (I had to altered make files by hand). Features which were compiled properly in RKitARM now generate errors. For example such code:

const uint8_t KB_OFFSET_LATARNIE = 0;
const uint8_t KB_OFFSET_REZERWA = 16;
const uint8_t KB_OFFSET_FUNKCJE = 23;

and then:

if(kbhit_Kbd()){

uint8_t ch=getch_Kbd();
USART_fsend(“KBD%02d\r\n”,ch);
switch(ch){
case KB_OFFSET_FUNKCJE+1:{//klawisz Test swiecenia LED Matrix (All)
BuczekGlobal = 1;
Buczek5s = 1;
TestLEDMatrixON = 1;//Swieci 8s all LED
}break;
case KB_OFFSET_FUNKCJE+3:{//klawisz + jasnosc
if(ligth2)ligth--;
USART_fsend(“ligth %d\r\n”,ligth);
}break;
case KB_OFFSET_FUNKCJE+4:{//wlaczenie/wylaczenie zasilania latarn
...
gives error:
__
case label does not reduce to an integer constans__
I had to change constant definitions to defines to remove this error.

There are many issues with compiling code (which not generated any issues with Raisonance compiler).
I would like to ask if exist any tutorial how to compile projects with “Standard Peripheral” libraries in STW4STM32, and how to smoothly move from different compilers to STW4STM32.

Thanks in advance and Reegards