This is using the board manager files from:Arduino: 1.8.19 (Windows 10), Board: "Generic STM32F1 series, BluePill F103C6 (32K), STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), None, Newlib Nano (default)"
c:/users/pwrgr/appdata/local/arduino15/packages/stmicroelectronics/tools/xpack-arm-none-eabi-gcc/10.2.1-1.1/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\pwrgr\AppData\Local\Temp\arduino_build_682641/show_pulse.ino.elf section `.rodata' will not fit in region `FLASH'
c:/users/pwrgr/appdata/local/arduino15/packages/stmicroelectronics/tools/xpack-arm-none-eabi-gcc/10.2.1-1.1/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 7820 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Generic STM32F1 series.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
https://github.com/stm32duino/BoardMana ... index.json
Which contains "STM32 MCU based boards" with versions 2.0.0, 2.1.0, and 2.2.0. All of these versions product the same results.
The only way I can compile is if I used the deprecated files from:
https://github.com/stm32duino/BoardMana ... index.json
Using the oldest version, 1.3.0, I can compile.
Are the new drivers supposed to work in Arduino?
Additional setup information:
I do not have a bootloader installed. I am using "STM32 ST-LINK Utility" to download hex files after they are compiled.
The chip on my Blue Pill appears to be a genuine STM32F103C8T6. I have programs running & working, when I can get them compiled.