aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-27initVariant() is now declared as external "C" function.Cristian Maglie
See #2080 for more details.
2014-06-19Allow variants to define an initVariant() function that is called at startup.Cristian Maglie
See #2080
2014-06-19Fixed regression in USBAPI and CDC (xaljox)Cristian Maglie
See: https://github.com/arduino/Arduino/commit/9ac7e30252fce5b9dafde3288519b020b73c37bd#commitcomment-6718676
2014-06-10Update USBAPI.hEmbedded Micro
Fixes bug where Serial.read() would always return 0 as the first byte.
2014-06-02Merge pull request #2104 from amulya349/masterCristian Maglie
Fix of a bug in Stream.cpp
2014-05-30USB CDC available() method returns correct number of bytes in buffer.Cristian Maglie
See #1953
2014-05-30Fix of a bugAmulya Kumar Sahoo
Stream::find(char *target) passes NULL as “terminator” to Stream::findUntil(char *target, char *terminator), which immediately dereferences it by passing it on to strlen() : bool Stream::find(char *target) { return findUntil(target, NULL); } // as find but search ends if the terminator string is found bool Stream::findUntil(char *target, char *terminator) { return findUntil(target, strlen(target), terminator, strlen(terminator)); }
2014-05-30Fix of a bugAmulya Kumar Sahoo
Stream::find(char *target) passes NULL as “terminator” to Stream::findUntil(char *target, char *terminator), which immediately dereferences it by passing it on to strlen(): bool Stream::find(char *target) { return findUntil(target, NULL); } // as find but search ends if the terminator string is found bool Stream::findUntil(char *target, char *terminator) { return findUntil(target, strlen(target), terminator, strlen(terminator)); }
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
2014-02-12Revert "Changed pins definition in variants from constants to #defines."Cristian Maglie
This reverts commit 7fcba37acfd11313640b3f5d5c813d63d2f59999.
2013-12-13Merge branch 'master' of github.com:arduino/ArduinoCristian Maglie
2013-12-13Changed pins definition in variants from constants to #defines.Cristian Maglie
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-11-11Fix SERIAL_* metadata in Arduino Ethernet variantCristian Maglie
2013-11-11Added SERIAL metadata into variant files.Cristian Maglie
2013-11-03Changed LED_BUILTIN to a macro to better support boards that do not have a ↵Cristian Maglie
built-in LED. Fixes #758
2013-11-03Added LED_BUILTIN constant to Leonardo boardCristian Maglie
2013-11-03Added Arduino Ethernet variant.Cristian Maglie
Fixes #925
2013-10-06Fix indentation (cosmetic)Jacques Supcik
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-08-21Fixed robot libraries and examples for unified Arduino coreXun Yang
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-15Merge branch 'robot'Cristian Maglie
2013-05-13Added support to INT6 on Leonardo.Fede85
Fixes #988
2013-05-13Added robot hardwareCristian Maglie
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