HugoPT:
OK it worked.
Now is there any way to create new devices on AVRDUDE?
in avrdude.conf (hardware/tools/avrdude.conf) search for "atmega328p." Copy its entire entry and change the appropriate options (probably id, desc, and signature). Then make your new boards.txt entry reference the new id.