Page 1 of 1

add stm32f103c8 based board

Posted: Mon Aug 08, 2016 9:28 pm
by acr
i try add this cheap board http://wiki.stm32duino.com/index.php?title=Blue_Pill
it based on STM32F103C8T6, 64Kb flash
so i start from RT-STM32F103-MAPLEMINI that is based on STM32F103CBT6, 128Kb flash
i replace cpu to #define STM32F103x6 in board.h
and here strange stuffs begin, chibios say that i don't have usb :(
i found in stm32_registry.h that STM32F103x6 is Low Density device
but http://www.st.com/content/st_com/en/pro ... 103c8.html
here st say that this is medium device it has same features as STM32F103CBT6 but 64Kb flash and do not have PORTE
not sure this is bug or feature

Re: add stm32f103c8 based board

Posted: Mon Aug 08, 2016 9:32 pm
by Giovanni
Hi,

You should verify on the datasheet if the registry matches exactly the device.

Giovanni

Re: add stm32f103c8 based board

Posted: Mon Aug 08, 2016 9:40 pm
by acr
i think it registry compatible devices, binary from STM32F103CBT6 run on STM32F103C8T6 without problem, but it hacky way