0

arduino IDE trouble
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

arduino IDE trouble

by Rcayot on Wed Feb 12, 2020 1:18 pm

I am trying to get my Metro M4 Express working. I did the install, and chose my board, only in the board manager there is no "Metro M4 Express" listed, only "Adafruit Metro M4", which I selected, I doubt that is my problem. When I try to run blink, I get teh following messages:

Arduino: 1.8.11 (Linux), Board: "Adafruit Metro M4 (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off"

fork/exec /bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Adafruit Metro M4 (SAMD51).
Invalid library found in /home/pi/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests: no headers files (.h) found in /home/pi/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests
Invalid library found in /home/pi/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests: no headers files (.h) found in /home/pi/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


any help would be appreciated.

Roger Ayotte

Rcayot
 
Posts: 16
Joined: Sat Feb 08, 2020 6:48 pm

Re: arduino IDE trouble

by adafruit_support_carter on Wed Feb 12, 2020 1:26 pm

For the initial install, were you following this guide?
https://learn.adafruit.com/adafruit-met ... md51/setup
https://learn.adafruit.com/adafruit-met ... rduino-ide

Did you install both the Arduino and the Adafruit SAMD board packages?

adafruit_support_carter
 
Posts: 14475
Joined: Tue Nov 29, 2016 2:45 pm

Re: arduino IDE trouble

by Rcayot on Wed Feb 12, 2020 3:07 pm

Two things. First the install was done from "arduino" folder, after which there was another folder "Arduino" which was empty except for an empty "library" folder.

Second, the board was running UF2 bootloader as I was trying to use CP before I installed Arduino IDE.

And yes, I followed those instructions, which cannot find where to install SAMD51 twice.

Roger

Rcayot
 
Posts: 16
Joined: Sat Feb 08, 2020 6:48 pm

Re: arduino IDE trouble

by adafruit_support_carter on Wed Feb 12, 2020 3:24 pm

Are you doing the Board Support install from within the Arduino IDE? It should take care of the correct folder location for you.

adafruit_support_carter
 
Posts: 14475
Joined: Tue Nov 29, 2016 2:45 pm

Re: arduino IDE trouble

by Rcayot on Wed Feb 12, 2020 6:19 pm

I missed the loading the Arduino SDA board support, so I went to renstall, and nothing. Rebooted, nothing. So I deleted everything and am now downloading the tar file again.

I will let you know how that goes.

Roger

Rcayot
 
Posts: 16
Joined: Sat Feb 08, 2020 6:48 pm

Re: arduino IDE trouble

by Rcayot on Thu Feb 13, 2020 3:08 pm

okay, here is an update. Finally, after reinstalling everything, I started up Arduino IDE to find that my board (Metro Express) is already installed, and the Arduino AVR boards library is installed! I cvannot find the Arduino SAM support boards listed, and I do not see how to uninstall the AVR board.

So, here is latest error when running blink:

Arduino: 1.8.11 (Linux), Board: "Adafruit Metro M4 (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), TinyUSB, Off"

fork/exec /bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Adafruit Metro M4 (SAMD51).
Invalid library found in /home/pi/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests: no headers files (.h) found in /home/pi/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests
Invalid library found in /home/pi/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests: no headers files (.h) found in /home/pi/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Rcayot
 
Posts: 16
Joined: Sat Feb 08, 2020 6:48 pm

Re: arduino IDE trouble

by Rcayot on Thu Feb 13, 2020 3:49 pm

more.

I uninstalled, deleted everything. re-downloaded the IDE, un-tar'd it and ran install:

pi@raspberrypi:~/Downloads/arduino-1.8.12 $ sudo ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...

touch: cannot touch '/root/.config/mimeapps.list': No such file or directory
/usr/bin/xdg-mime: 848: /usr/bin/xdg-mime: cannot create /root/.config/mimeapps.list.new: Directory nonexistent

done!

there was no desktop icon installed! okay, any insight will help. Going to uninstall, then reboot, then repeat.

Roger

Rcayot
 
Posts: 16
Joined: Sat Feb 08, 2020 6:48 pm

Please be positive and constructive with your questions and comments.


cron