platformio / platform-atmelsam

Atmel SAM: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelsam
Apache License 2.0
78 stars 105 forks source link

Could not find the package with 'platformio/toolchain-gccarmnoneeabi @ ~1.70201.0' requirements for your system 'linux_aarch64' ? #177

Closed gpfister closed 2 years ago

gpfister commented 2 years ago

Hi,

When I try to download the platform ATMELSAM (pio platform install atmelsam), I get an error when trying to download the toolchain:

Platform Manager: atmelsam @ 6.3.1 is already installed
Tool Manager: Installing platformio/toolchain-gccarmnoneeabi @ ~1.70201.0
Error: Could not find the package with 'platformio/toolchain-gccarmnoneeabi @ ~1.70201.0' requirements for your system 'linux_aarch64'

I’m using Platform IO 5.2.1 (PlatformIO Core, version 5.2.1).

I’m using VSCode to remotely code and build on the Raspberry Pi (this Arduino project aims at building a usb device, which a Raspberry PI will use).

A workaround is to add in platformio.ini file:

platform_packages =
  toolchain-gccarmnoneeabi@~1.90301.0

But couldn't it be solved by correcting the plaform.json file for ATMELSAM ?

A warm thanks in advance for your help.

aykevl commented 2 months ago

For anybody having the same issue: I solved it by setting framework = arduino (I had not previously set a framework).