aboutsummaryrefslogtreecommitdiff
path: root/boards.txt
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2012-02-05 23:17:15 +0100
committerCristian Maglie <c.maglie@bug.st>2012-02-05 23:17:15 +0100
commitf6d2a612ab9995d9bd89d1978852adb709a76df7 (patch)
treef5c23f0928072e58f87c6d371326d69f6d314761 /boards.txt
parent5c57cbab0cbc519bb097993328ade730995c095e (diff)
Upload/Program with configurable generic command line tools (wip)
Diffstat (limited to 'boards.txt')
-rw-r--r--boards.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/boards.txt b/boards.txt
index 32063cb..6903098 100644
--- a/boards.txt
+++ b/boards.txt
@@ -5,13 +5,10 @@ uno.upload.tool=avrdude
uno.upload.protocol=arduino
uno.upload.maximum_size=32256
uno.upload.speed=115200
-uno.bootloader.low_fuses=0xff
-uno.bootloader.high_fuses=0xde
-uno.bootloader.extended_fuses=0x05
-uno.bootloader.path=optiboot
-uno.bootloader.file=optiboot_atmega328.hex
-uno.bootloader.unlock_bits=0x3F
-uno.bootloader.lock_bits=0x0F
+uno.bootloader.tool=avrdude
+uno.bootloader.erase.params=-e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m
+uno.bootloader.write.params=-Uflash:w:{bootloader.file}:i -Ulock:w:0x0F:m
+uno.bootloader.file={runtime.ide.path}/hardware/arduino/avr/optiboot/optiboot_atmega328.hex
uno.build.mcu=atmega328p
uno.build.f_cpu=16000000L
uno.build.core=arduino