Hi Guys,
Is anyone else having issues with PIO Core installed on Arm Linux? I get the following error when I try to install a platform (such as “ststm32”) that relies on “toolchain-gccarmnoneeabi”.
jnr2820@nano-cube-black:~$ pio platform install ststm32 -f
PlatformManager: Installing ststm32
Downloading [####################################] 100%
Unpacking [####################################] 100%
ststm32 @ 6.1.0 has been successfully installed!
PackageManager: Installing toolchain-gccarmnoneeabi @ >=1.60301.0,<1.80000.0
Error: Could not find a version that satisfies the requirement '>=1.60301.0,<1.80000.0' for your system 'linux_aarch64'
jnr2820@nano-cube-black:~$ uname -a
Linux nano-cube-black 5.4.28-sunxi64 #20.02.7 SMP Sat Mar 28 17:25:10 CET 2020 aarch64 GNU/Linux
jnr2820@nano-cube-black:~$ hostnamectl
Static hostname: nano-cube-black
Icon name: computer
Machine ID: --snip--
Boot ID: --snip--
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 5.4.28-sunxi64
Architecture: arm64
Is “toolchain-gccarmnoneeabi” not working on “arm64”? (Am I doing it wrong? I’m a bit new to PlatformIO/Arduino/STM32 etc)
Compiling also doesn’t work:
jnr2820@nano-cube-black:~/superblink$ pio run -t compile -v
Processing bpill (platform: ststm32; framework: arduino; board: genericSTM32F103C8; upload_protocol: dfu; board_upload.maximum_size: 131072)
---------------------------------------------------------------------------------------------------------------------------------------------------
PackageManager: Installing toolchain-gccarmnoneeabi @ >=1.60301.0,<1.80000.0
Error: Could not find a version that satisfies the requirement '>=1.60301.0,<1.80000.0' for your system 'linux_aarch64'