Projects, thoughts and more
in categories ARM, C++
So i gave that a try. Here is what i used in this case:
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
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.