aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-02Removed implicit xxxx.platform=avr from boards.txtCristian Maglie
2011-12-31reset the Leonardo board when leaving the bootloader, before starting the sketchZach Eveland
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.
2011-12-31Merge remote-tracking branch 'arduino/master' into platforms-bCristian Maglie
2011-12-31Merge branch 'master' of github.com:arduino/Arduino into new-extensionZach Eveland
2011-12-31platforms.txt recipes now have symbolic variables instead of indexes ↵Cristian Maglie
({0},{1},etc.) Recipes arguments are splitted with spaces instead of |. Single argument containing spaces should be placed between "double quotes". Refactored and formatted Compiler class, removed all unused code in comments.
2011-12-30Simplifying microseconds <-> clock cycles conversions. (Rob Tillaart)David A. Mellis
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
2011-12-30Created second level in hardware folder: hardware/PACKAGE/PLATFORM/...Cristian Maglie
Made some helper class for files filtering. platforms.txt now contains only one platform at a time. Some cleanup in Compiler and AvrDudeUploader classes.
2011-12-28Fixing ArduinoISP sketch by lowering baud rate to 9600 (from 19200).David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=661
2011-12-26bootloader merged with blink sketchZach Eveland
full set of descriptors in sketch fixes driver installation issue on Win7.
2011-12-22Various post-merge refinements.Cristian Maglie
2011-12-22Merge commit 'fcbbf8f4b4960bae1091c0cd9dc58b4a1885baf6' into platforms-bCristian Maglie
Conflicts: app/src/processing/app/Base.java app/src/processing/app/debug/Compiler.java build/build.xml hardware/arduino/boards.txt
2011-12-20changed Keyboard write() method to type(). Made write() an alias for type() ↵Zach Eveland
to allow subclassing by Stream.
2011-12-20Revert "changed Keyboard write() method to type(). Made write() an alias ↵Zach Eveland
for type() to allow subclassing by Stream." This reverts commit de1d5fc0cb82874c0dcb766c5fb27ab36c5cb32c.
2011-12-20changed Keyboard write() method to type(). Made write() an alias for type() ↵Zach Eveland
to allow subclassing by Stream.
2011-12-19fixed attachInterrupt() on LeonardoZach Eveland
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.
2011-12-18added asynchronous buffering of received CDC charactersZach Eveland
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.
2011-12-18fixed digitalWrite on timer 4 pins (D6 and D13)Zach Eveland
2011-12-18fix bootloader size in boards.txt - 2 kB instead of 4 kBZach Eveland
2011-12-11fixed TIMER4 use on LeonardoZach Eveland
ATMEGA32U4 has major differences in TIMER4 registers compared to ATMEGA1280 and 2560. turnOffPWM, analogWrite, and initialize routines had wrong registers, bit names, etc.
2011-12-02Updated reference voltage defines for ATmega1284P.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=728
2011-12-02Support 3rd external interrupt on ATmega1284P (maniacbug)David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=728
2011-12-02Fixing delayMicroseconds() timing for 20 MHz clocks. (Erdem U. Altinyurt)David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=306
2011-11-28Removing Leonardo (and Mouse/Keyboard examples) for Arduino 1.0 release.David A. Mellis
These will return, but the code isn't finished yet so I don't want to include it.
2011-11-25Correcting Arduino Mini w/ ATmega328 bootloader file and fuses (untested).David A. Mellis
2011-11-19readBytes() and readBytesUntil() handle zero bytes and return # of bytes read.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=586
2011-11-19Adding Arduino Mini w/ ATmega328.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=710
2011-11-16Leonardo bootloader now sends iSerial string during enumeration. Seems to ↵Zach Eveland
satisfy Windows' composite device requirements.
2011-11-16Fixed size of const array mapping digital pin number to bit mask.Zach Eveland
2011-11-16Updated digital pin and port mapping constants in pins_arduino.h for Leonardo.Zach Eveland
Changed digital_pin_to_port_PGM[] and digital_pin_to_bit_mask_PGM[] to reflect changes to constants for SPI and analog pins
2011-11-16Swapped Dx assignment for MISO and SS to make numbering more sane (Dave ↵Zach Eveland
Mellis). Also updated comments on pin numbers.
2011-11-16Fixed handling of Ax constants on LeonardoZach Eveland
Fixed mistake in assignment and handling of A6-A11 constants. Renumbered constants for all Ax channels.
2011-11-15updated pins_arduino.h for Leonardo to reflect final mapping of A6-A11Zach Eveland
2011-11-15Merge branch 'new-extension' of github.com:arduino/Arduino into new-extensionZach Eveland
2011-11-12Added latest firmware for usbserial (not combined with DFU)Cristian Maglie
2011-11-11Added latest firmware for atmega16u2 on R3 boardsCristian Maglie
2011-11-09restored original non-interrupt-driven DiskLoaderZach Eveland
Interrupt-driven version was a dead-end - too many bugs with that approach.
2011-11-08updated analog pin assignments and declared TWI/I2C pinsZach Eveland
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)
2011-11-02added 12th ADC channel for Leonardo. cleaned up and corrected comments for ↵Zach Eveland
pin functions.
2011-10-31changed Leonardo PID to 0x0032 for Diskloader testing. updated .inf to match.Zach Eveland
2011-10-31Merge branch 'new-extension' of github.com:arduino/Arduino into ↵Zach Eveland
diskloader_reboot
2011-10-31check to see if a sketch has been loaded before jumping out of bootloaderZach Eveland
2011-10-29Protecting the version of parseInt() and parseFloat(). (Paul Stoffregen)David A. Mellis
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
2011-10-27renamed bootloader fileZach Eveland
2011-10-27Revert "Merge branch 'master' of github.com:arduino/Arduino into ↵Zach Eveland
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
2011-10-27Merge branch 'new-extension' of github.com:arduino/Arduino into ↵Zach Eveland
diskloader_reboot Conflicts: hardware/arduino/variants/mega/pins_arduino.h libraries/Ethernet/examples/PachubeClient/PachubeClient.ino libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
2011-10-27changes in core and boards.txt to support new bootloaderZach Eveland
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.
2011-10-27bootloader runs sketch after timeout, added bootloader LED breathingZach Eveland
2011-10-27cosmetic changes - remove old comments, unused codeZach Eveland
2011-10-27removed conditional compilation checks for CDC_ENABLEDZach Eveland
bootloader must always have CDC enabled
2011-10-27removed old comments and unused USB core codeZach Eveland