AVRDude Problem With ATMega328 (No "P") Parts


I bought some "ATMega328" (not the pico power version "ATMega328P") parts but I kept getting a signature error from AVRDude:
avrdude: Device signature = 0x1e9514
avrdude: Expected signature for ATMEGA328P is 1E 95 0F
Double check chip, or use -F to override this check.
I found a board post that said exactly what I was thinking I needed to do: the parts are almost the same, so copy the "*P" part config and change the "signature" to "0x1e 0x95 0x14" (and the "id" to "m328", and the "desc" to "ATMEGA328", of course). This file:
avrdude-atmega328-no-p.conf
is what I came up with, inserted right after the original part in the "/etc/avrdude.conf" file. It seems to work, no "override" needed.