Hi Matthias, Thanks for an awesome system in the mecrisp family. I'm hugely enjoying playing with mecrisp-stellaris in my personal projects. in the course of putting together the patch for STM32F401CC support I think I noticed a couple of issues in the STM32F401CD RA files. Firstly, a real bug. In mecrisp-stellaris-2.6.1/mecrisp-stellaris-source/stm32f401cd-ra/flash.s, line 257-260: @ 128 kb sectors loeschpruefung 0x08020000 0x0803FFFF 5 loeschpruefung 0x08040000 0x0805FFFF 6 loeschpruefung 0x08060000...
Matthias, Marc, I found this thread after unsuccessfully trying to get my STM32F401CC-based 'black pill' board and have followed the instructions above successfully. I humbly attach a patch file against 2.6.1 to add builds for non-optimised and RA binaries for STM32F401CC, if it can be considered for inclusion in a future release. /gde