The USBSerial has been added to the new core https://github.com/Serasidis/cbp_HALMX_2
I decided to use the Code::Blocks for creating the static libraries instead of using the .mk files that includes the new ST repo.
The reason is that I am more familiar with Code::Blocks (thanks to Slammer !).
There are two static libraries:
that works on 0x08000000 address for using the ST-Link, Serial and BMP upload methods
that works on 0x08002000 address for using the DFU upload method.
I used the BluePill board with generic_boot20_pc13.bin
Both versions (with bootloader
and without bootloader
) use the USBSerial. The bad thing is that the produced code is too big
21608 bytes FLASH, 9776 bytes RAM.
Anyway. To use it just copy the cbp_HALMX_2
folder into the arduino -> Hardware folder and choose the board you want from
Tools -> Board -> HALMX 2
The NUCLEO-F103RB variant is not supported yet.