Uwes Blog


ChibiOS/RT on STM32 development

After publishing my article about development with FreeRTOS and the LPCXpresso 1769 a few people mentioned i should try ChibiOS/RT and STM32 Microcontrollers too.

So i gave that a try. Here is what i used in this case:

Olimex STM32

The gdb commands which need to be executed to start the program on the board differ a little bit from the LPC:

target remote localhost:2331
monitor interface swd
monitor endian little
monitor reset 0
monitor flash device = STM32F103RB
monitor speed 1000
monitor flash download = 1
monitor flash breakpoints = 1
file "build/ch.elf"
load
monitor reg r13 = 0x00000000
monitor reg pc = 0x00000004
break main
monitor reset

Roundup

Especially the HAL (Hardware abstraction layer) and the integration of the IP stack are very neat. In my next project i will use ChibiOS/RT. I found also the C++ abstractions handy. The STM32 line is also very nice, with the small exception that some LPCs are also available in a DIL packages.

Article created 2013-08-04. Comment on this post!