Skip to content

AVR baud rate error with Arduino Mega #70

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

Closed
notkevinjohn opened this issue Oct 19, 2018 · 2 comments
Closed

AVR baud rate error with Arduino Mega #70

notkevinjohn opened this issue Oct 19, 2018 · 2 comments

Comments

@notkevinjohn
Copy link

notkevinjohn commented Oct 19, 2018

I am trying to use the CLI to upload code to an Arduino Mega. It complains that:
avrdude: invalid baud rate specified '{upload.speed}'

I am wondering if maybe the FQBN I am getting (arduino:avr:mega) might still have some kind of place holder text when trying to resolve the appropriate baud rate? How can I investigate what the baud rate being specified for this FQBN is?

Here is the command I am executing:
arduino upload -p /dev/ttyACM0 --fqbn arduino:avr:mega ~/Arduino/HelloWorld/

The board seems to be successfully recognized when searched for:

arduino board list
FQBN                    Port            ID              Board Name
arduino:avr:mega        /dev/ttyACM0    2341:0042       Arduino/Genuino Mega or Mega 2560
@borisgk
Copy link

borisgk commented Oct 21, 2018

Works fine with a fqbn of

--fqbn arduino:avr:mega:cpu=atmega2560

Here is some discussion, but I can't read it.

@notkevinjohn
Copy link
Author

That solved the problem, thanks.

@cmaglie cmaglie closed this as completed Nov 2, 2018
per1234 added a commit that referenced this issue Nov 16, 2020
Clone library dependencies for CI build
per1234 added a commit that referenced this issue Aug 9, 2021
Only compile library.properties schemas once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants