Arduino Forum
>
Products
>
Create
>
Chrome App
>
[Solved] Blink example fails to compile for Mega 2560
Print
Go Down
Pages:
[1]
Topic: [Solved] Blink example fails to compile for Mega 2560
(Read 605 times)
previous topic
-
next topic
pwelte
Chrome App Beta
Newbie
Posts: 6
Karma: 0
[add]
[Solved] Blink example fails to compile for Mega 2560
Apr 05, 2017, 10:38 pm
Last Edit
: Apr 10, 2017, 09:52 am by 00alis
Compiled, uploaded, and executed fine on an Arduino Uno. Unplugged Uno and plugged in Arduino Mega 2560 using same cable, port, and Chromebook but I get a red error bar that states "Compilation failed, please report this issue on our forum."
CrossRoads
Global Moderator
Unlimited Eagle board sizes available.
Brattain Member
Posts: 42,465
Karma: 1802
[add]
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
http://www.crossroadsfencing.com/BobuinoRev17/
Re: Blink example fails to compile for Mega 2560
#1
Apr 05, 2017, 10:41 pm
Did you select Boards:Mega2560 after plugging in the Mega?
Designing & building electrical circuits for over 25 years. Screw Shield for Mega/Due/Uno, Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at my website.
pwelte
Chrome App Beta
Newbie
Posts: 6
Karma: 0
[add]
Re: Blink example fails to compile for Mega 2560
#2
Apr 05, 2017, 10:51 pm
Yes, I made sure I selected the Arduino/Genuino Mega or Mega 2560 on port /dev/ttyACM0.
Verify works fine. But when I click upload, I get the red error bar and this text:
arduino-builder/arduino-builder -compile -core-api-version 10611 -build-path /tmp/236584362 -hardware arduino-builder/hardware -hardware arduino-builder/packages/cores -tools arduino-builder/tools -tools arduino-builder/packages/tools -built-in-libraries arduino-builder/latest -libraries /tmp/175180215/pinned -libraries /tmp/175180215/custom -fqbn arduino:avr:mega:cpu=atmega2560 -build-cache /tmp -verbose=false /tmp/175180215/Blink
Sketch uses 1462 bytes (0%) of program storage space. Maximum is 253952 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.
sandeepmistry
MKR1000
Sr. Member
Posts: 325
Karma: 46
[add]
Re: Blink example fails to compile for Mega 2560
#3
Apr 05, 2017, 11:26 pm
Hi
@pwelte
I've reproduced the issue locally, it's specific to the Mega 2560 and the Chrome app.
We'll let you know with a fix has been deployed. In the meantime non-Mega boards should be fine with the Chrome app. Thanks for helping with beta testing!
smellai
CreatePrivate
Sr. Member
Posts: 306
Karma: 31
[add]
Web Developer @ Arduino
Re: Blink example fails to compile for Mega 2560
#4
Apr 06, 2017, 11:29 am
HI @pwelte,
the issue should be fixed, could you please try again?
Thanks
pwelte
Chrome App Beta
Newbie
Posts: 6
Karma: 0
[add]
Re: [Solved] Blink example fails to compile for Mega 2560
#5
Apr 19, 2017, 02:43 pm
Yes, it worked now. Sorry I didn't get back to you sooner. Thanks for your help!
Print
Go Up
Pages:
[1]
Loading...