aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boards.txt30
1 files changed, 24 insertions, 6 deletions
diff --git a/boards.txt b/boards.txt
index 88f0af2..ef1e029 100644
--- a/boards.txt
+++ b/boards.txt
@@ -4,14 +4,32 @@ menu.cpu=Processor
##############################################################
-dogstick.name=Arduino Dogstick
-dogstick.upload.tool=http
-
-dogstick.build.mcu=atmega328p
+dogstick.name=Arduino DogStick
+dogstick.upload.via_http=true
+dogstick.upload.tool=avrdude
+dogstick.upload.protocol=avr109
+dogstick.upload.maximum_size=28672
+dogstick.upload.speed=57600
+dogstick.upload.disable_flushing=true
+dogstick.upload.use_1200bps_touch=true
+dogstick.upload.wait_for_upload_port=true
+
+dogstick.bootloader.tool=avrdude
+dogstick.bootloader.low_fuses=0xff
+dogstick.bootloader.high_fuses=0xd8
+dogstick.bootloader.extended_fuses=0xcb
+dogstick.bootloader.file=caterina/Caterina-Leonardo.hex
+dogstick.bootloader.unlock_bits=0x3F
+dogstick.bootloader.lock_bits=0x2F
+
+dogstick.build.mcu=atmega32u4
dogstick.build.f_cpu=16000000L
-dogstick.build.board=ARDUINO_UNO
+dogstick.build.vid=0x2341
+dogstick.build.pid=0x8036
+dogstick.build.board=ARDUINO_DOGSTICK
dogstick.build.core=arduino
-dogstick.build.variant=standard
+dogstick.build.variant=leonardo
+dogstick.build.extra_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid}
##############################################################