aboutsummaryrefslogtreecommitdiff
path: root/boards.txt
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-02-13 00:56:06 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2012-02-13 00:56:06 -0500
commit924e5a48465cf8a9ba3af38e6cf4c2e1a2c0733c (patch)
treee879b9041bf5e9bb37be75eb44d00b311d9d6d0c /boards.txt
parentac3aca0acf45f459c2c55e8e0894621aaaa4b4dd (diff)
Leonardo auto-reset-and-upload changes for Windows (explanation below)
On Windows COM port changes when board switched between bootloader and sketch. No way to prevent this so now Windows users have to select the upload port separate from the comm port. Also, handling of reset into bootloader was broken on Windows. Would occasionally leave the original COM port completely unusable. Changed the way this reset is initiated. Finally, had to add upload.disable.flushing=true flag to boards.txt so IDE wouldn't try to flush the original COM port after it disappeared.
Diffstat (limited to 'boards.txt')
-rw-r--r--boards.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/boards.txt b/boards.txt
index 89035e6..7d25ab8 100644
--- a/boards.txt
+++ b/boards.txt
@@ -149,7 +149,8 @@ mega.build.variant=mega
leonardo.name=Arduino Leonardo
leonardo.upload.protocol=avr109
leonardo.upload.maximum_size=28672
-leonardo.upload.speed=1200
+leonardo.upload.speed=57600
+leonardo.upload.disable_flushing=true
leonardo.bootloader.low_fuses=0xde
leonardo.bootloader.high_fuses=0xd8
leonardo.bootloader.extended_fuses=0xcb