mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01:00
auto-upload-and-reset works now at 300 bps. patched avrdude for Mac to support 300 bps connection, changed core and boards.txt to match
This commit is contained in:
parent
bef7d736d2
commit
6345e2942a
BIN
build/macosx/dist/tools-universal.zip
vendored
BIN
build/macosx/dist/tools-universal.zip
vendored
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
leonardo.name=Arduino Leonardo
|
||||
leonardo.upload.protocol=stk500
|
||||
leonardo.upload.maximum_size=30720
|
||||
leonardo.upload.speed=1200
|
||||
leonardo.upload.speed=300
|
||||
leonardo.bootloader.low_fuses=0xde
|
||||
leonardo.bootloader.high_fuses=0xd8
|
||||
leonardo.bootloader.extended_fuses=0xf3
|
||||
|
@ -94,7 +94,7 @@ bool WEAK CDC_Setup(Setup& setup)
|
||||
if (CDC_SET_LINE_CODING == r)
|
||||
{
|
||||
USB_RecvControl((void*)&_usbLineInfo,7);
|
||||
if (1200 == _usbLineInfo.dwDTERate) // auto-reset is triggered when avrdude opens the port at 1200 bps
|
||||
if (300 == _usbLineInfo.dwDTERate) // auto-reset is triggered when avrdude opens the port at 1200 bps
|
||||
Reboot();
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user