-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
"Out of memory" error when installing arduino:samd
platform
#1059
Comments
Hi @arock093. Thanks for your bug report. Please post the output from this command:
|
OK, I think this bug might have been fixed since the time of the 0.13.0 release version you're using (#981). Please try again with the nightly build of Arduino CLI and then let us know if that fixes the issue: |
I used the nightly build and it allowed me to install the cores. Now I'm having an issue compiling. I've also opened an issue on Adafruit/samd repository - adafruit/ArduinoCore-samd#271
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. |
@arock093 Right now my only hope when it comes to that format is that Raspberry Pi Foundation releases a Zero form-factor board with more RAM and a new CPU :) |
Thanks for the help and feedback everyone. I apologize for opening an issue when it was less of a software issue and more hardware compatibility problem. I was able to get an Arduino Micro to work with the Raspberry Pi Zero. As far as this issue goes, should I close it and try to get the adafruit:SAMD repo to mention somewhere about the Pi zero having compatibility issues? |
@arock093 |
arduino:samd
platform
Closing because the original Out of Memory bug was resolved. Thanks for the interest in the project ❤️ |
I thought about posting this in the forum. It seems like a underlying technical issue so hopefully this will be alright.
I'm using a raspberry pi zero w. Based off of reports by others on the forum, it should be able to handle arduino-cli.
I tested the command
arduino-cli core install arduino:avr
and it worked fine.I'm trying to run the commands,
arduino-cli core install arduino:samd
andarduino-cli core install adafruit:samd
This is the output. Both commands get hung up on "
Installing arduino:arm-none-eabi-gcc@7-2017q4...
" and then are Killed.The process is getting killed for some reason.
dmesg output indicates a memory issue:
The text was updated successfully, but these errors were encountered: