Closed shawnchain closed 3 years ago
It seems 57912 + 8192 = 66,104
which exceeds the max 64KiB of stm32f1 flash
Its a bit of a hack, but virtually all STM32F103C8 devices are actually STM32F103CB and have 128k flash, because ST's production yields are so high.
You could change the linker script and assume that the MCU has 128k