If you want to use PlatformIO package management, you’ll have to create a proper package.json
for toolchain-armcc
. That’s just a metadata file, giving it the right name (and optionally version) is already enough. Also, the package.json should be placed in the root of the toolchain, not in bin/
.
You could e.g. try something like
{
"name": "toolchain-armcc",
"version": "1.50000.200702",
"description": "ARMCC compiler",
"keywords": [
"toolchain",
"build tools",
"compiler",
"assembler",
"linker",
"preprocessor",
"arm"
],
"homepage": "https://developer.arm.com/Tools%20and%20Software/Arm%20Compiler%20for%20Embedded",
"license": "GPL-2.0-or-later",
"system": [
"windows_amd64"
],
"repository": {
"type": "git",
"url": "https://gcc.gnu.org/git/gcc.git"
}
}
it’s also to be recommended to use symlink://
instead of file://
in the platform_packages
to avoid doing a copy to internal PlatformIO folders.
Further reading on PlatformIO internals is e.g. here: Arduino Due (or other SAM3/4) upload fails with ATMEL ICE JTAG on VSCode with PlatformIO - #7 by clemens