Skip to content
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

Arduino updated the nano bootloader and now I can't upload to my old nanos #587

Closed
TT-392 opened this issue Oct 18, 2018 · 2 comments
Closed

Comments

@TT-392
Copy link

TT-392 commented Oct 18, 2018

Arduino updated the nano bootloader in the new update so I can now only update to my old arduino nano if I select processor:"ATmega328P (old bootloader)".
but as far as I know I there is no way to tell the makefile to use the old bootloader.

@sej7278
Copy link
Collaborator

sej7278 commented Oct 19, 2018

$ ARDUINO_QUIET=1 make show_boards|grep nano
nano                Arduino Nano

$ ARDUINO_QUIET=1 make show_submenu| grep nano
nano       atmega168       ATmega168
nano       atmega328       ATmega328P
nano       atmega328old    ATmega328P (Old Bootloader)

so, Makefile should look like:

ARDUINO_DIR = $(HOME)/arduino-1.8.7
BOARD_TAG = nano
#BOARD_SUB = atmega328
BOARD_SUB = atmega328old
include $(HOME)/Arduino-Makefile/Arduino.mk

Or even specify it manually by adding:

BOOTLOADER_PARENT = $(HOME)/arduino-1.8.7/hardware/arduino/avr/bootloaders
BOOTLOADER_PATH   = atmega
BOOTLOADER_FILE   = ATmegaBOOT_168_atmega328.hex

mpetitjean added a commit to mpetitjean/NixieClock that referenced this issue Mar 4, 2019
@sej7278
Copy link
Collaborator

sej7278 commented Sep 16, 2020

closed as question answered

@sej7278 sej7278 closed this as completed Sep 16, 2020
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

2 participants