platform-ststm32 icon indicating copy to clipboard operation
platform-ststm32 copied to clipboard

toolchain-gccarmnoneeabi for arm64

Open pandcy opened this issue 6 years ago • 5 comments

PIO Core Call Error: "PlatformManager: Installing ststm32\r\nststm32 @ 5.5.0 has been successfully installed!\r\nPackageManager: Installing toolchain-gccarmnoneeabi @ >=1.60301.0,<1.80000.0\r\n\n\nError: Detected unknown package 'toolchain-gccarmnoneeabi'"

pandcy avatar Aug 02 '19 13:08 pandcy

have the same problem. running on an nvidia jetson nano (arm64).

dptalks avatar Aug 16 '19 09:08 dptalks

At the moment only GCC v9.3.1 is available for ARM platforms, please try the following configuration:

[env:override_default_toolchain]
platform = ststm32
board = ...
framework = ...
platform_packages =
  toolchain-gccarmnoneeabi@~1.90301.0

valeros avatar Aug 13 '20 20:08 valeros

@ivankravets hi!

May be it's better to specify <= 1.90301.0 here: https://github.com/platformio/platform-ststm32/blob/76958b476e042f578e0f6a6a74b8d47ca767db22/platform.json#L76

hacker-cb avatar Dec 21 '22 08:12 hacker-cb

@valeros, can we switch to the latest 10.3.1 as default? https://registry.platformio.org/tools/platformio/toolchain-gccarmnoneeabi ?

ivankravets avatar Dec 21 '22 14:12 ivankravets

Hi... the version numbering thing seems to be messing up the platform's ability to install properly and generate projects. The "version" constraint in the platform.json for toolchain-gccarmnoneeabi appears to be preventing "optionalVersions" from being checked, even though the most up to date versions are listed under optionalVersions. In order to get a working project generation I had to remove the version line entirely, then it worked. Maybe better to just list known compatible versions than rely on the equality comparisons that are out of date with the actual version numbering?

romanjeff avatar Apr 20 '24 09:04 romanjeff