Wiblocks --- Boards.txt File

Updating boards.txt to Include Wiblock Boards

The majority of wiblock boards that are based on the Atmel microcontrollers run at 3.3V. Operation at 3.3V requires a lower operating frequency which for wiblock boards is 12MHz. Choosing a frequency that is different from the actual operating frequency requires a scaling factor to be applied to adjust for the difference between the two. The most common library that relies on the frequency setting is the Serial library. Since you may be using other libraries that use the operating frequency variable it is best to add the entries for the wiblock boards.


Updating the boards.txt file is simple a matter of adding lines of text to the file. wiblocks-boards.zip contains changes for all the wiblock boards.

  1. Find your boards.txt file. This should be located in the hardware sub-directory where you installed the Arduino tools.
  2. Make a backup copy of the orginal file.
  3. Add the new entries to the original file. I prefer to make additions at the end of the file.

168 Based Boards

# Arduino 1.6.5

wiblocks_168.name=wiblocks 168 at 12MHz
wiblocks_168.upload.protocol=stk500
wiblocks_168.upload.maximum_size=30720
wiblocks_168.upload.speed=19200
wiblocks_168.bootloader.low_fuses=0xff
wiblocks_168.bootloader.high_fuses=0xdd
wiblocks_168.bootloader.extended_fuses=0x00
wiblocks_168.bootloader.path=atmega168
wiblocks_168.bootloader.file=ATmegaBOOT_168_zb1.hex
wiblocks_168.bootloader.unlock_bits=0x3F
wiblocks_168.bootloader.lock_bits=0x0F
wiblocks_168.build.mcu=atmega168
wiblocks_168.build.f_cpu=12000000L
wiblocks_168.build.core=arduino
wiblocks_168.build.variant=arduino:standard

328 Based Boards


# Arduino 1.6.5

wiblocks_328.name=wiblocks 328 at 12MHz
wiblocks_328.upload.protocol=stk500
wiblocks_328.upload.maximum_size=30720
wiblocks_328.upload.speed=19200
wiblocks_328.bootloader.low_fuses=0xff
wiblocks_328.bootloader.high_fuses=0xdd
wiblocks_328.bootloader.extended_fuses=0x00
wiblocks_328.bootloader.path=atmega328
wiblocks_328.bootloader.file=ATmegaBOOT_328_zb1.hex
wiblocks_328.bootloader.unlock_bits=0x3F
wiblocks_328.bootloader.lock_bits=0x0F
wiblocks_328.build.mcu=atmega328p
wiblocks_328.build.f_cpu=12000000L
wiblocks_328.build.core=arduino
wiblocks_328.build.variant=arduino:standard