Hi,
I’m trying to update the toolchain to the latest version for a STM32 blackpill project i am working on. I am running the vscode installation on macos 14.4.1
I have started to follow the instructions on git:
pio pkg install --global --tool "platformio/toolchain-gccarmnoneeabi@^1.120301.0"
I get the following error shown below:
As you see, the (base) python version is 3.11.7 yet PIO is trying to use 3.10. Does anyone have an idea on why this is happening?
Ok, some added information:
I added the following to the platform.ini file
platform_packages = platformio/toolchain-gccarmnoneeabi@1.120301.0
It installed the packaged, and flashed up some messages at the end that i couldn’t see.
Checking the .platformio folder:
It has installed the new toolchain under toolchain-gccarmnoneeabi and not toolchain-gccarmnoneeabi@1.120301.0 as i was expecting.
Now when compiling, i start to get the following warning:
/Users/jamesclarke/.platformio/packages/toolchain-gccarmnoneeabi/bin/…/lib/gcc/arm-none-eabi/12.3.1/…/…/…/…/arm-none-eabi/bin/ld: /Users/jamesclarke/.platformio/packages/toolchain-gccarmnoneeabi/bin/…/lib/gcc/arm-none-eabi/12.3.1/…/…/…/…/arm-none-eabi/lib/thumb/v7e-m/nofp/libc_nano.a(libc_a-closer.o): in function `_close_r’:
(.text._close_r+0xc): warning: _close is not implemented and will always fail
Mmmm, are there any other settings in the platformio.ini file i need to add:
[env:blackpill_f411ce]
platform = ststm32
board = blackpill_f411ce
framework = stm32cube
platform_packages = platformio/toolchain-gccarmnoneeabi@1.120301.0