I tried to build a personal pcb with an ATMEGA328. I didn't pay attention between the atmega328P and atmega328-AU believed that only the footprint changed.
I found a solution to edit the "avrdude.conf" file.
But this was boring due to the fact that i was programming an actual Arduino an my board continuously. I was forced to edit and edit the file again.
I found finally an new solution: create a "new arduno nano" in my "boards.txt" file.
I did it by adding :
Arduino Nano w/ ATmega328 (without a "P")
--------------------------
nano.menu.cpu.atmega328x=ATmega328 (autre MCU)
nano.menu.cpu.atmega328x.upload.maximum_size=30720
nano.menu.cpu.atmega328x.upload.maximum_data_size=2048
nano.menu.cpu.atmega328x.upload.speed=57600nano.menu.cpu.atmega328x.bootloader.low_fuses=0xFF
nano.menu.cpu.atmega328x.bootloader.high_fuses=0xDA
nano.menu.cpu.atmega328x.bootloader.extended_fuses=0xFD
nano.menu.cpu.atmega328x.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hexnano.menu.cpu.atmega328x.build.mcu=atmega328
just before the arduino nano w/ATmega168
As a programmer, I use an Arduino Uno "as ISP"
I hope this will help