2025-10-15 2:30 AM - last edited on 2025-10-15 2:51 AM by Andrew Neil
Hello!
I've been uploading code to my STM32 Bluepill using my computer but it died recently and I had to use a different computer. After adding the library for the STM32F1, i tried to compile and upload again but i received these errors. Im a bit lost on where to start and would appreciate if anyone could help point me in the right direction for a fix!!
The error code from the arduino terminal is as below
exec: "C:\\Users\\hisha\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\14.2.1-1.1/bin/arm-none-eabi-gcc": file does not exist
Compilation error: exec: "C:\\Users\\hisha\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\14.2.1-1.1/bin/arm-none-eabi-gcc": file does not exist
Solved! Go to Solution.
2025-10-15 2:51 AM - edited 2025-10-15 3:02 AM
Note that Blue Pill is not an ST Product, and likely does not contain a genuine STM32.
This forum isn't focussed on Arduino - the place for STM32 Arduino support is: https://www.stm32duino.com/
For general Arduino Support: https://forum.arduino.cc/
@Potatogineer wrote:The error code from the arduino terminal is as below
exec: "C:\\Users\\hisha\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\14.2.1-1.1/bin/arm-none-eabi-gcc": file does not existCompilation error: exec: "C:\\Users\\hisha\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\14.2.1-1.1/bin/arm-none-eabi-gcc": file does not exist
arm-none-eabi-gcc is the compiler executable - so your GCC compiler is not (properly) installed.
Arduino IDE specific forum: https://forum.arduino.cc/c/development-tools/ide-2-x/93
2025-10-15 2:51 AM - edited 2025-10-15 3:02 AM
Note that Blue Pill is not an ST Product, and likely does not contain a genuine STM32.
This forum isn't focussed on Arduino - the place for STM32 Arduino support is: https://www.stm32duino.com/
For general Arduino Support: https://forum.arduino.cc/
@Potatogineer wrote:The error code from the arduino terminal is as below
exec: "C:\\Users\\hisha\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\14.2.1-1.1/bin/arm-none-eabi-gcc": file does not existCompilation error: exec: "C:\\Users\\hisha\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\14.2.1-1.1/bin/arm-none-eabi-gcc": file does not exist
arm-none-eabi-gcc is the compiler executable - so your GCC compiler is not (properly) installed.
Arduino IDE specific forum: https://forum.arduino.cc/c/development-tools/ide-2-x/93
2025-10-15 3:17 AM
Ah gotcha apologies and thanks for the clarification
2025-10-15 3:24 AM - edited 2025-10-15 3:26 AM
> The error code from the arduino terminal is as below
>exec: "C:\\Users\\hisha\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\14.2.1-1.1/bin/arm-none-eabi-gcc": file does not exist
Dabbling in Arduino occasionally, I think it means the corresponding platform ("boards" in Arduino jargon) is not installed on this PC. Check within Arduino's "board manager".
PS:
And yes, Arduino is not well supported on this forum.
Although a few members have some experience with it.
2025-10-15 3:28 AM
@Potatogineer in particular, STM32 (or, in fact, any Cortex-M MCU) needs a different compiler from AVR (the "traditional" Arduino MCU).
2025-10-15 4:08 AM
The same toolchain should work for all boards based on Cortex M devices.
Not sure about the Arduino equivalent of the respective BSPs.