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

Fresh VSCODE Aceinna Extension install gives bad platform.json file

Open mazcoder opened this issue 11 months ago • 0 comments

I ma y have found a typo that stop the ability of newly downloaded Aceinna extensions from building code. I have some old code that worked on a previous computer that has been built hundreds of times without a problem. Now with new computer and fresh VS code, fresh platform IO, Aceinna extensions. Trying to build the same code yielded the below error

Processing OpenIMU300RI (platform: aceinna_imu; board: OpenIMU300) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Tool Manager: Installing platformio/toolchain-gccarmnoneeab @ >=1.60301.0,<1.80000.0 UnknownPackageError: Could not find the package with 'platformio/toolchain-gccarmnoneeab @ >=1.60301.0,<1.80000.0' requirements for your system 'windows_amd64' after hours of digging I was able to find the location where this tool chain was called within

C:\Usersmyusername.platformio\platforms\aceinna_imu\platform.json

Within platform.json file find on line 25

"toolchain-gccarmnoneeab": { and replace with

"toolchain-gccarmnoneeabi": { Note the "i" at the end. Hope this help someone

I checked this file in Github just now and the file is correct so somehow when downloading from within VSCode I get a bad file.

mazcoder avatar Mar 06 '24 18:03 mazcoder