Age | Commit message (Collapse) | Author |
|
(David Mellis). Also edit KeyboardReprogram example which was the only example using type()
|
|
releases (up to six each)
|
|
releaseAll()
|
|
|
|
Since we use a magic RAM flag to signal to the bootloader there's a risk of the sketch overwriting the magic RAM location before the bootloader starts. By reducing the watchdog timeout we reduce the chance of this happening.
|
|
|
|
|
|
Was no longer being used and would be damn near impossible to support with the new scheme for handling modifiers and non-printing keyboard characters.
|
|
Changes mean that a single, persistent key report must be used so keys can be added or removed. Also reimplemented type() using the new methods.
|
|
Conflicts:
.gitignore
|
|
|
|
http://code.google.com/p/arduino/issues/detail?id=736
|
|
is opened at 1200 bps. (Dave Mellis)
|
|
|
|
Reset into bootloader is much snappier.
|
|
|
|
Before the sketch initiates an auto-reset for upload it pokes a magic word into a specific RAM address. On starting the bootloader checks this address. If it finds the magic word it knows the bootloader code should run. If not it jumps straight back to sketch.
Test in a sketch by adding to setup():
wdt_enable(WDTO_2S);
Sketch should upload, start, run for two seconds, WDT, and sketch should restart (not bootloader).
Had to cut out unused descriptor code to make the bootloader still fit in 4k.
|
|
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.
|
|
bootloader, 0x0801 for sketch)
|
|
http://code.google.com/p/arduino/issues/detail?id=795
|
|
grabbing different COM numbers on Windows
|
|
AvrdudeUploader class opens and closes Leonardo port at the magic baudrate before starting avrdude; reduced reset timeout from 250 ms to 15 ms
|
|
|
|
http://code.google.com/p/arduino/issues/detail?id=776
|
|
had to remove TIMER1 operation from bootloader - was interfering with normal sketch operation
|
|
|
|
This also changes pinMode(pin, INPUT); to explicitly disable the pull-up resistor, even if it was previously set.
http://code.google.com/p/arduino/issues/detail?id=246
|
|
http://code.google.com/p/arduino/issues/detail?id=768
|
|
|
|
|
|
|
|
This should fix problems with overflows in pulseIn(). It may make millis() slightly less precise for clock speeds that aren't multiple of 1 million, but we don't really support those anyway.
http://code.google.com/p/arduino/issues/detail?id=675
|
|
to allow subclassing by Stream.
|
|
for type() to allow subclassing by Stream."
This reverts commit de1d5fc0cb82874c0dcb766c5fb27ab36c5cb32c.
|
|
to allow subclassing by Stream.
|
|
had to define a separate block for the 32U4 since it looks like a Mega-series board based on a simple register trick. Only two useable HW interrupts though, compared to the Megas' 8, and numbering differs.
|
|
This fixes the issue Federico reported where bytes written by host but not read by sketch would cause serial connection to lock up. Ring buffer implementation is based on HardwareSerial.cpp.
Adds public accept() method to CDC.
|
|
|
|
ATMEGA32U4 has major differences in TIMER4 registers compared to ATMEGA1280 and 2560. turnOffPWM, analogWrite, and initialize routines had wrong registers, bit names, etc.
|
|
http://code.google.com/p/arduino/issues/detail?id=728
|
|
http://code.google.com/p/arduino/issues/detail?id=728
|
|
http://code.google.com/p/arduino/issues/detail?id=306
|
|
http://code.google.com/p/arduino/issues/detail?id=586
|
|
Fixed mistake in assignment and handling of A6-A11 constants. Renumbered constants for all Ax channels.
|
|
Interrupt-driven version was a dead-end - too many bugs with that approach.
|
|
diskloader_reboot
|
|
This should allow us more flexibility in determining how to handle these functions later. For example, in specifying that initial characters shouldn't be skipped.
http://code.google.com/p/arduino/issues/detail?id=698
|
|
diskloader_reboot"
This reverts commit df9835efafd13685251749bc210c0b96a18a96a5, reversing
changes made to ec45af8bfa9222a807c075dd1db4b5aa798bba03.
Conflicts:
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
|
|
diskloader_reboot
Conflicts:
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClient/PachubeClient.ino
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
|
|
old bootloader could fit in only 2 kB of flash. new version has to have a 4 kB block - jump-to address and boards.txt must reflect this.
|