Editing the board.txt - file

Hi guys.

With refrences til this thread:


And this in post #18

atmega168a.name=ATmega168A-PU on a breadboard (8 Mhz)

atmega168a.upload.tool=avrdude atmega168a.upload.protocol=arduino

atmega168a.bootloader.tool=avrdude atmega168a.bootloader.unlock_bits=0x3F atmega168a.bootloader.lock_bits=0x0F

atmega168a.build.board=AVR_PRO atmega168a.build.core=arduino:arduino atmega168a.build.variant=arduino:standard

atmega168a.upload.maximum_size=14336 atmega168a.upload.maximum_data_size=1024 atmega168a.upload.speed=19200

atmega168a.bootloader.low_fuses=0xc6 atmega168a.bootloader.high_fuses=0xdd atmega168a.bootloader.extended_fuses=0x00 atmega168a.bootloader.file=atmega/ATmegaBOOT_168_pro_8MHz.hex

atmega168a.build.mcu=atmega168a atmega168a.build.f_cpu=8000000L

I'd like to use one of my ATMEGA328P-PU, so I was thinking of changing some of the values, but I do not know which.

I recon the maximum_size, the bootloader and the build.mcu but I do not know the new values.

  • nerdegutta

Under the Minimal Circuit (Eliminating the External Clock) section of https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard there are downloads that contain boards.txt for using ATmega328P with 8MHz internal clock on a breadboard.


Looks like it is what I need.

I'll give it a try later today.

  • nerdegutta