What exactly doesn’t work? A example firmware fails to be compiled? It can be compiled but fails to run? The platform can’t be installed?
Please read through:
- Arduino Due (or other SAM3/4) upload fails with ATMEL ICE JTAG on VSCode with PlatformIO - #8 by maxgerhardt
- Custom Platform & Board — PlatformIO latest documentation
- platform-gd32/platform.json at main · CommunityGD32Cores/platform-gd32 · GitHub
The toolchain and framework packages usually do not reside within the platform. They are however referenced by the platform’s platform.json
with the version
expression detailing how to obtain that package; for examle
Doesn’t have a version expression (?)
Tells it to get it from the PIO Registry (https://registry.platformio.org/, pio pkg publish — PlatformIO latest documentation) matching SemVer 4.21001.xxx
Tells it to get it from a certain repository and branch.
Anything from pio pkg install — PlatformIO latest documentation is accepted version
.
When the platform is installed, it installs its declared needed (non-optional) packages automatically.
Platforms or packages can be installed also from the commandline: pio pkg install — PlatformIO latest documentation