-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlatformIO updated teensy platform from 4.12 to 4.13 and now getting compile errors from the SD modules #47
Comments
It appears this new update was just pushed in the last 12 hours and revs Teensyduino to 1.54 which I believe is the likely source of the conflict based on reading the notes here. I'm investigating how to force PlatformIO back to 4.12 version of their teensy package. |
PlatformIO IDE > PIO Home > Platforms > Embedded > Teensy > Changelog Near the top of the page you can choose to install 4.12. Then you need to go in to: PIO > Quick Access > Projects & Configurations > Choose your grblHAL project > teensy41 (tab on far right) In the 'platform' field append @4.12 so the field reads: Make clean and try building again, you should see the Platform declared at the top of the build window output as 4.12 instead of 4.13. |
I received a similar error and was also able to resolve it by reverting to the 4.12 version.
|
Started from scratch and followed all the instructions regarding libraries and patches (including some #define changes inside files). Now I feel, I am very near to destination. Following are the last lines of build process: Archiving .pio/build/teensy41/libFrameworkArduino.a Environment Status Duration teensy41 FAILED 00:01:00.536 Terminal will be reused by tasks, press any key to close it. |
Do you have an old version of the uSDFS library? Please check and potentially change a setting in the library as mentioned here. |
OK. I was using uSDFS library which was automatically fetched by PIO. changed that to the suggested in link. Still no luck but coming closer:
Processing teensy41 (board: teensy41; platform: teensy@4.12; framework: arduino)Verbose mode can be enabled via
Environment Status Duration teensy41 FAILED 00:00:05.988 Terminal will be reused by tasks, press any key to close it. |
Ok, this one is on me - PIO obviously links to an older version of the uSDFS library since you had to set USE_MSC to 0 as it has been changed to 0 in the latest version. I do not know if that could be problematic. |
Success!! after above change. Thanks for your valuable time and continuous support. Will play with Teensy4.1 & grblHAL now. |
PlatformIO prompted me to update my teensy platform from 4.12 to 4.13.
Now I am getting errors on my compile that I wasn't getting previously (haven't updated any files and don't use the SD module).
I see there is some history around isssues with the SD module compiling for the teensy but since it pretty much worked out of the box before, I'm a bit confused what has changed or how to resolve it.
The errors:
The text was updated successfully, but these errors were encountered: