aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
AgeCommit message (Collapse)Author
2013-08-20Removed unused flags from String (free 1 byte of SRAM)Cristian Maglie
2013-07-31Merge branch 'master' into ide-1.5.xCristian Maglie
2013-07-31Merge branch 'issue1366' of github.com:Lauszus/Arduino into Lauszus-issue1366Cristian Maglie
2013-07-27Move buffers into USB CDC (look #947 and #1369 for reference)Cristian Maglie
2013-07-26Fixed compile problem for Leonardo after ↵Cristian Maglie
0bd6a2d20fb9664255b20e0db11dd4586ebe9007
2013-07-26Make private members of HardwareSerial protectedMatthijs Kooijman
This allows users to create subclasses. Closes: #947
2013-07-26Move buffers into HardwareSerialMatthijs Kooijman
This removes the need for doing an extra pointer dereference on every access to the buffers, shrinking the code by around 100 bytes. The members for these buffers must be public for now, since the interrupt handlers also need to access them. These can later be made private again. Furthermore, the struct ring_buffer was removed. This allows the all head and tail pointers to be put into the HardwareSerial struct before the actual buffers, so the pointers all end up in the first 32 bytes of the struct that can be accessed using a single instruction (ldd). References: #947
2013-07-26Use uint8_t for HardwareSerial ringbuffer pointersMatthijs Kooijman
Since the buffers aren't bigger than 64 bytes, these values can be smaller. This saves a few bytes of ram, but also saves around 50 bytes of program space, since the values can now be loaded using a single instruction. To prevent problems when people manually increase the buffer size, a compile-time check is added. Closes: #1078
2013-07-17Remove hardcoded product names (all provided for in boards.txt)Angus Gratton
2013-07-17Fix whitespace (tabify), oopsAngus Gratton
2013-07-17Allow USB product and manufacturer strings to be supplied in boards.txtAngus Gratton
2013-06-28String: fixed number of whitespaces in concat() methodsCristian Maglie
2013-06-21String: changed default to 2 decimal digitsCristian Maglie
2013-06-06Fixed buffer overflow on String class (Paul Stoffregen)Cristian Maglie
2013-06-06Merged various bugfix / improvements to String class.Cristian Maglie
Merge branch 'master' into ide-1.5.x
2013-06-06Added support for Flash string on String class.Cristian Maglie
2013-06-06String class: removed deep copy on substring method.Cristian Maglie
Small code cleanup.
2013-06-06add String.toFloatTevin Zhang
2013-06-05Added remove methods to WStringRyan Esteves
2013-05-29Merged 1.0.5Cristian Maglie
2013-05-13Added support to INT6 on Leonardo.Fede85
Fixes #988
2013-05-11Merged 1.0.5Cristian Maglie
Still missing: - updates to WiFi lib for sam. - updates to examples of Ehternet and WiFi for sam. Merge remote-tracking branch 'arduino/master' into ide-1.5.x Conflicts: app/src/processing/app/Base.java app/src/processing/app/Editor.java app/src/processing/app/helpers/FileUtils.java app/src/processing/app/i18n/Resources_fr.po app/src/processing/app/i18n/Resources_fr.properties build/shared/revisions.txt hardware/arduino/avr/libraries/Ethernet/examples/DnsWebClient/DnsWebClient.ino hardware/arduino/avr/libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino hardware/arduino/avr/libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino hardware/arduino/avr/libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino hardware/arduino/avr/libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino hardware/arduino/avr/libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino hardware/arduino/avr/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino libraries/WiFi/examples/WiFiChatServer/WiFiChatServer.ino libraries/WiFi/examples/WiFiPachubeClient/WiFiPachubeClient.ino libraries/WiFi/examples/WiFiPachubeClientString/WiFiPachubeClientString.ino libraries/WiFi/examples/WiFiTwitterClient/WiFiTwitterClient.ino libraries/WiFi/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino libraries/WiFi/examples/WiFiWebClient/WiFiWebClient.ino libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino libraries/WiFi/examples/WiFiWebServer/WiFiWebServer.ino libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
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-04-03Merged 1.0.5Cristian Maglie
Merge remote-tracking branch 'arduino/master' into ide-1.5.x Conflicts: app/src/processing/app/Base.java build/shared/revisions.txt hardware/arduino/avr/cores/arduino/malloc.c hardware/arduino/cores/arduino/avr-libc/malloc.c hardware/arduino/cores/arduino/malloc.c todo.txt
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-17Merged 1.0.4 pre-release into 1.5Cristian Maglie
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-10Merged 1.0.3Cristian Maglie
2012-12-10fixed permissions on a lot of text files. see #1116Federico Fissore
2012-12-08Moving 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-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-04Merged 1.0.2Cristian Maglie
Merge remote-tracking branch 'arduino/master' into ide-1.5.x Conflicts: app/src/processing/app/debug/AvrdudeUploader.java build/shared/examples/09.USB/Keyboard/KeyboardLogout/KeyboardLogout.ino build/shared/examples/09.USB/Keyboard/KeyboardReprogram/KeyboardReprogram.ino build/shared/examples/09.USB/Keyboard/KeyboardSerial/KeyboardSerial.ino build/shared/examples/09.USB/Mouse/ButtonMouseControl/ButtonMouseControl.ino build/shared/examples/09.USB/Mouse/JoystickMouseControl/JoystickMouseControl.ino hardware/arduino/boards.txt
2012-11-02Added general yield()-hook for cooperative scheduling development (part 2)Cristian Maglie
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-31Added general yield()-hook for cooperative scheduling developmentCristian Maglie