Aceinna / platform-aceinna_imu

Aceinna Navigation Studio: open-source, embedded development platform for Aceinna IMU hardware. Run custom algorithms and navigation code on Aceinna IMU/INS hardware
https://marketplace.visualstudio.com/items?itemName=platformio.aceinna-ide
36 stars 26 forks source link

Fresh VSCODE Aceinna Extension install gives bad platform.json file #27

Open mazcoder opened 7 months ago

mazcoder commented 7 months ago

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.