Continuing the discussion from Framework cached in build process - how to change it:
I need to install a different version of the toolchain than what is supplied with default installation as there is a bug.
I followed this link Redirecting...
My platformio.ini has this extra entry as below
[env:override_default_toolchain]
platform = kendryte210
platform_packages = kendryte-toolchain
[env:sipeed-maix-one-dock]
platform = kendryte210
framework = kendryte-standalone-sdk-develop
board = sipeed-maix-one-dock
monitor_speed = 115200
I have a new folder under
~/.platformio/packages/kendryte-toolchain
This one has the tool chain installed in it under the same directory structure as the default tool chain.
I have placed a package.json in this folder which reads as follows
more package.json
{
“description”: “RISC-V Kendryte210 GCC toolchain”,
“name”: “kendryte-toolchain”,
“system”: “linux_x86_64”,
“url”: “GitHub - kendryte/kendryte-gnu-toolchain: Kendryte GNU Toolchain”,
“version”: “8.2.0”
}
After this, I deleted my .vscode and did a rebuild intellisense, it is failing with the following message
Error: Processing override_default_toolchain (platform: kendryte210)
Verbose mode can be enabled via -v, --verbose
option
Error: BoardConfig: Board is not defined
============================================== [FAILED] Took 1.36 seconds ==============================================
Environment Status Duration
override_default_toolchain FAILED 00:00:01.360
sipeed-maix-one-dock IGNORED
sipeed-maix-go IGNORED
sipeed-maix-bit IGNORED
sipeed-maixduino IGNORED
========================================= 1 failed, 0 succeeded in 00:00:01.360 =========================================
Could you please guide