-
Notifications
You must be signed in to change notification settings - Fork 119
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
Bug: Internal Compiler Error #271
Comments
I get a near identical error when trying to compile a bare minimum example for the Feather M0 on an RPi 1. Since arock093's error is on an RPi Zero, I suspect the issue is related to the armv6 instruction set. I use an RPi 1 for development since it shares the same CPU architecture as the Pi zero and has more ports. I can compile identical code for the same board from my Windows machine without any issues. The error must be a problem in the GCC toolchain. In the meantime, I'm going to try an older release of the samd boards to see if the older toolchain does work on arm 6.
|
And I can confirm that version 4.8.3-2014q1 of arm-none-eabi can compile the code just fine (release 1.4.1). Of course, while it compiles fine, it encounters a file not found error for {runtime.tools.bossac-1.7.0.path}/bossac. Hooray for progress! |
Fixed both issues by reinstalling the SAMD boards. I used version 1.6.21 for the Arduino SAMD boards and 1.4.1 for the Adafruit SAMD boards. |
Raspberry Pi Zero W
Board: Adafruit Trinket M0
I'm trying to compile and getting an internal compiler error.
I am able to compile for a different board.
I am also able to compile the sketch for the board on a different computer.
Using a Raspberry Pi 4, the sketch compiles without any issues for the Adafruit Trinket M0 board. This leads me to believe the issue has something to due with the relationship between the Rasperry Pi Zero W and adafruit:samd.
I get the same errors when I try to compile for other adafruit:samd boards on the Raspberry Pi Zero W.
Section of verbose output:
I was thinking about manually updating gcc but I'm not sure if it's using Raspberry PI OS included gcc to compile or the one it downloads with Adafruit:samd.
The text was updated successfully, but these errors were encountered: