avrdude: Expected signature for ATMEGA328P is 1E 95 0F

328 has different signature than 328P.
One way to fix is to change the signature bytes in avrdude.conf to match 328, then change back after burning the bootloader.