aboutsummaryrefslogtreecommitdiff
path: root/cores
AgeCommit message (Collapse)Author
2014-05-24Improve CDC read codePaul Brook
Read CDC data from USB FIFO on demand instead of in ISR. Remove superfluous ring buffer. Signed-off-by: Paul Brook <paul@nowt.org>
2014-05-24Fix race condition in USB CDC transmitPaul Brook
If the Start of Frame interrupt triggers just after the call to USB_SendSpace in USB_Send then we can get data loss. When the first bank is full and the second partially full, the SOF handler will release the second bank via USB_Flush. Data is then lost due to overflow as USB_Send continues writing data to the now-closed bank. Fix this by re-checking the FIFO status inside LockEP, immediately before doing the data write. Signed-off-by: Paul Brook <paul@nowt.org>
2014-05-24improved USB write speedsJustin Rajewski
2014-05-24Backported Print class from ide-1.5.x branchCristian Maglie
Close #1951
2014-05-07Match return value to type in available()Zachary J. Fields
2014-04-01Import WString from 1.5.6Matt Jenkins
2014-04-01Fixed string constructor overloading bugMatt Jenkins
2014-02-13Added license for Client, IPAddressm and Server (master branch)Cristian Maglie
See #1847 and #1117
2014-02-13Added license for Arduino.h, binary.h and main.cpp (master branch)Cristian Maglie
See #1847 and #1117
2013-12-06remove all Changes besides operator==ntruchsess
2013-11-27add localPort to EthernetClient, simplify operator==ntruchsess
2013-11-26add operator==, remoteIP and remotePort to EthernetClientntruchsess
2013-09-02USB CDC two argument begin()Paul Brook
Add two argument form of Serial_::begin Signed-off-by: Paul Brook <paul@nowt.org>
2013-09-02USB serial baud arg typePaul Brook
Make USB Serial_::begin() function take an unsigned long argument for consistency with HardwareSerial. Signed-off-by: Paul Brook <paul@nowt.org>
2013-07-31Merge branch 'issue1366' of github.com:Lauszus/Arduino into Lauszus-issue1366Cristian Maglie
2013-06-06add String.toFloatTevin Zhang
2013-06-05Added remove methods to WStringRyan Esteves
2013-05-17Robot has its own coreCristian Maglie
2013-05-13Added support to INT6 on Leonardo.Fede85
Fixes #988
2013-05-06Added const modifier to String.c_str()Cristian Maglie
2013-05-06Added c_str() method to String class.Cristian Maglie
2013-05-06Stream "_timeout" field and related methods are now protected instead of ↵Cristian Maglie
private. This allows better optimization on classes that extends Stream without losing timeout capabilities.
2013-05-02Removed double instance of the same codeKristian Sloth Lauszus
2013-04-18Check if ATmega32u4 is definedKristian Sloth Lauszus
Needed in order to work with Arduino Leonardo
2013-04-18Removed call to analogPinToChannel for LeonardoKristian Sloth Lauszus
2013-04-17Use analogPinToChannel if it's definedKristian Sloth Lauszus
2013-04-04Added support for all variants of SanguinoKristian Sloth Lauszus
2013-03-29Fix deprecated ISR names for ATmega8.Cristian Maglie
See #881
2013-03-29Removed deprecated interrupt handlersCristian Maglie
Fixes #831 #881 #955 #1123 #1140
2013-03-29Increased malloc margin to 128.Cristian Maglie
https://github.com/arduino/Arduino/pull/1329#issuecomment-15609148 See #857 #1329
2013-03-23Backported malloc and realloc from avr-libc 1.8.0 (without test code)Cristian Maglie
See #857
2013-03-06Use analogPinToChannel() macro if present for ATtiny25/45/85.David A. Mellis
This allows use of A0, A1, A2, A3 constants and for them to be mapped to the appropriate analog input channel. It should only be used if the macro is actually defined.
2012-12-16Add trivial new[] and delete[] operators (Justin R. Cutler)Cristian Maglie
Fixes #73 Fixes #883
2012-12-16Fixed malloc() bug. (Paul Stoffregen)Cristian Maglie
Fixes #857
2012-12-07Added support for Arduino EsploraCristian Maglie
2012-11-29Clarifying comment.David A. Mellis
2012-11-29Moving TXCO definition into HardwareSerial.cpp from HardwareSerial.h.David A. Mellis
Otherwise, you get an error when compiling for processors with no serial port because the header file is always compiled. See, for an example of the problem: https://github.com/damellis/attiny/issues/8
2012-11-02HardwareSerial: change byte to uint8_t (since byte definition isn't present).David A. Mellis
2012-11-01Adding LilyPad Arduino USB.David A. Mellis
2012-10-27Adding Micro.David A. Mellis
2012-10-18Updating USB core to work at 8 MHz (different PLLCSR value).David A. Mellis
2012-10-09Adding ATmega644P check to ATmega1284P check.David A. Mellis
2012-09-13Moving ATmega32U4 Timer 2 #undef's to Leonardo pins_arduino.h file.David A. Mellis
2012-09-13Merge pull request #102 from sgk/leonardoToneDavid A. Mellis
Fix for tone() on Leonardo.
2012-09-13Avoid serial buffer overrun on leonardoPeter Van Hoyweghen
2012-08-30Changing setting of the UMSELn bits (for UART mode) and serial config values.David A. Mellis
Before, the UMSELn1 bit was being to set to 1, putting the UART into a reserved mode. Now, we only set the high (0x80) bit to 1 for the ATmega8, which is needed to access UCSRnC (whose i/o address is shared with UBRRH). Also, no longer bitwise-or the new config with the existing register value, because we're actually configuring all the settings in the register. (We're not using UCPOL, but it's supposed to be 0 in asynchronous mode.)
2012-08-30Renaming serial config constants to, e.g., SERIAL_8N1.David A. Mellis
2012-08-30Merge pull request #109 from Alarus/masterDavid A. Mellis
Serial.begin() parameter to set data bits, parity, stop bits.
2012-08-30Fixing Serial.flush() breakage on Leonardo (WestFW).David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=1020
2012-08-29Fixing ATmega8 breakage from flush() change. (WestFW)David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=1019