arm-none-eabi-g++: error: i5.platformio\packages\framework-arduinoststm32\variants\PILL_F103XX\ldscript.ld: No such file or directory
*** [.pio\build\bluepill_f103c8\firmware.elf] Error 1
See
- Can not compile Stm32f103c8 core: STM32duino · Issue #282 · platformio/platform-ststm32 · GitHub
- Can not compile Stm32f103c8 core: STM32duino · Issue #281 · platformio/platform-ststm32 · GitHub
Do you have a space in your Windows username?
No i dont have it in my user name
Then state your full platformio.ini
and the code you’re running.
Are you sure? That’s exactly what someone else thought, and they were wrong…
Go to your file manager, and type %userprofile%
in the location bar, and hit enter. Then either screenshot or copy and paste the path that that expanded to. If there’s a space, or an accent there, that could be your problem!
Sorry, i thank i have a space in my user name
Easiest way around that is to set the build_dir, then you can locate it somewhere else
i.e. something like
[platformio]
build_dir = "C:/pio-build"
should work (may need to create the folder before the first build).
https://docs.platformio.org/en/latest/projectconf/section_platformio.html#build-dir
Thank you ! I have deletted space between my username and all goes well !!