Age | Commit message (Collapse) | Author |
|
|
|
Done so all IO and other registers are properly reinitialized when a new sketch is uploaded or when an existing sketch is started. Uses a watchdog timeout with a 15 ms period to accomplish the reset. Bootloader checks the reason for reset and only enumerates as bootloader and enters the programming loop if reset was NOT caused by WDT.
|
|
|
|
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
|
|
http://code.google.com/p/arduino/issues/detail?id=661
|
|
full set of descriptors in sketch fixes driver installation issue on Win7.
|
|
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
|
|
These will return, but the code isn't finished yet so I don't want to include it.
|
|
|
|
http://code.google.com/p/arduino/issues/detail?id=586
|
|
http://code.google.com/p/arduino/issues/detail?id=710
|
|
satisfy Windows' composite device requirements.
|
|
|
|
Changed digital_pin_to_port_PGM[] and digital_pin_to_bit_mask_PGM[] to reflect changes to constants for SPI and analog pins
|
|
Mellis). Also updated comments on pin numbers.
|
|
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.
|
|
Fixed analog pin to ADC channel mapping to match new scheme. Changed mapping of analog pins to digital channels so that A6-A11 point back to the correct digital pins. Declared SDA and SCL pins.
(All from Federico Vanzati's comments)
|
|
pin functions.
|
|
|
|
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.
|
|
|
|
|
|
bootloader must always have CDC enabled
|
|
|
|
Moved nuevo_diskloader files into diskloader directory. Changed back to real PID for Leonardo
|
|
Conflicts:
app/src/processing/app/Editor.java
app/src/processing/app/Sketch.java
build/shared/examples/4.Communication/SerialCallResponse/SerialCallResponse.pde
build/shared/lib/theme/theme.txt
hardware/arduino/cores/arduino/HardwareSerial.h
hardware/arduino/cores/arduino/Print.cpp
hardware/arduino/cores/arduino/WString.h
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClient/PachubeClient.ino
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
libraries/Firmata/examples/EchoString/EchoString.ino
libraries/SD/File.cpp
libraries/SoftwareSerial/SoftwareSerial.cpp
libraries/SoftwareSerial/SoftwareSerial.h
libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
libraries/SoftwareSerial/keywords.txt
|
|
NOTE: need to have sketch CDC jump to appropriate place for bootloader - 4k from end instead of 2k
|
|
|
|
|