Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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

 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs