Commit Graph

296 Commits

Author SHA1 Message Date
Cristian Maglie 514b18bb05 Merge branch 'ide-1.5.x' into ide-1.5.x-discovery 2013-06-07 00:38:42 +02:00
Cristian Maglie f25e5e94f7 Fixed buffer overflow on String class (Paul Stoffregen) 2013-06-06 20:04:43 +02:00
Cristian Maglie 550b6adcfc Merged various bugfix / improvements to String class.
Merge branch 'master' into ide-1.5.x
2013-06-06 19:54:58 +02:00
Cristian Maglie db286ac0c1 Added support for Flash string on String class. 2013-06-06 16:33:20 +02:00
Cristian Maglie 2719777a48 String class: removed deep copy on substring method.
Small code cleanup.
2013-06-06 16:33:20 +02:00
Tevin Zhang c8a79d0d0c add String.toFloat 2013-06-06 16:19:34 +02:00
Ryan Esteves 6bef2ada06 Added remove methods to WString 2013-06-05 14:08:59 -04:00
Cristian Maglie 177ad96f86 Merge branch 'merge-1.0.5' into ide-1.5.x-discovery 2013-06-01 23:16:02 +02:00
Cristian Maglie d90fcca583 Merged 1.0.5 2013-05-29 18:30:36 +02:00
Federico Fissore 5ab307f06f Etheris references renamed Yun without accent to avoid encoding issues 2013-05-23 09:53:56 +02:00
Cristian Maglie ef4e8c6537 Robot has its own core 2013-05-17 11:02:00 +02:00
Federico Fissore 09749bdf01 right etheris values 2013-05-16 15:37:42 +02:00
Fede85 cc5f2a52b4 Added support to INT6 on Leonardo.
Fixes #988
2013-05-13 21:22:59 +02:00
Cristian Maglie 7207108255 Merged 1.0.5
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-11 14:37:25 +02:00
Cristian Maglie eb40f35b2d Added const modifier to String.c_str() 2013-05-06 18:10:29 +02:00
Cristian Maglie 8673113e43 Added c_str() method to String class. 2013-05-06 08:57:06 +02:00
Cristian Maglie ccf7eb9a56 Stream "_timeout" field and related methods are now protected instead of private.
This allows better optimization on classes that extends Stream without losing
timeout capabilities.
2013-05-06 08:52:31 +02:00
Kristian Sloth Lauszus ed42d95412 Added support for all variants of Sanguino 2013-04-04 20:55:15 +02:00
Cristian Maglie ee90e68e86 Merged 1.0.5
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-04-03 13:51:04 +02:00
Cristian Maglie f50c307be2 Fix deprecated ISR names for ATmega8.
See #881
2013-03-29 15:17:54 +01:00
Cristian Maglie ab41589c2b Removed deprecated interrupt handlers
Fixes #831 #881 #955 #1123 #1140
2013-03-29 14:41:36 +01:00
Cristian Maglie f39a246be5 Increased malloc margin to 128.
https://github.com/arduino/Arduino/pull/1329#issuecomment-15609148
See #857 #1329
2013-03-29 11:48:35 +01:00
Cristian Maglie f567db7573 Backported malloc and realloc from avr-libc 1.8.0 (without test code)
See #857
2013-03-23 21:40:52 +01:00
David A. Mellis aa218e803a Use analogPinToChannel() macro if present for ATtiny25/45/85.
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.
2013-03-06 17:49:44 -05:00
Cristian Maglie 5f4e55a3d2 Merged 1.0.4 pre-release into 1.5 2012-12-17 16:53:45 +01:00
Cristian Maglie 09b755fb9c Add trivial new[] and delete[] operators (Justin R. Cutler)
Fixes #73
Fixes #883
2012-12-16 14:30:12 +01:00
Cristian Maglie 025ec2bc84 Fixed malloc() bug. (Paul Stoffregen)
Fixes #857
2012-12-16 14:16:35 +01:00
Cristian Maglie 433090f18b Merged 1.0.3 2012-12-10 15:55:05 +01:00
Federico Fissore c453e0a32e fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
David A. Mellis c4337d812b Moving TXCO definition into HardwareSerial.cpp from HardwareSerial.h.
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-08 10:44:48 -05:00
Cristian Maglie 1668039101 Added support for Arduino Esplora 2012-12-07 18:11:07 +01:00
David A. Mellis 9d638ca052 Clarifying comment. 2012-11-29 13:55:59 -05:00
David A. Mellis 4a01b84cab Moving TXCO definition into HardwareSerial.cpp from HardwareSerial.h.
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-29 13:48:01 -05:00
Cristian Maglie 706f5c74b2 Merged 1.0.2
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-04 22:49:14 +01:00
Cristian Maglie 69aead513d Added general yield()-hook for cooperative scheduling development (part 2) 2012-11-02 18:12:21 +01:00
David A. Mellis 769aab0115 HardwareSerial: change byte to uint8_t (since byte definition isn't present). 2012-11-02 09:24:51 -04:00
David A. Mellis cfec7864e9 Adding LilyPad Arduino USB. 2012-11-01 10:45:50 -04:00
Cristian Maglie 6e2b0e8755 Added general yield()-hook for cooperative scheduling development 2012-10-31 01:37:37 +01:00
David A. Mellis 42ca56fb83 Adding Micro. 2012-10-27 14:12:26 -04:00
David A. Mellis 69fa44473b Updating USB core to work at 8 MHz (different PLLCSR value). 2012-10-18 15:03:23 -04:00
Cristian Maglie 037020e938 Merged latest changes in AVR arduino core 2012-10-18 18:47:50 +02:00
Cristian Maglie 6a45ba48ab Merged upstream arduino branch 2012-10-18 15:50:09 +02:00
David A. Mellis 6d296e0fab Adding ATmega644P check to ATmega1284P check. 2012-10-09 13:53:09 -04:00
David A. Mellis 1a0f22225b Moving ATmega32U4 Timer 2 #undef's to Leonardo pins_arduino.h file. 2012-09-13 09:19:52 -04:00
David A. Mellis 999619579b Merge pull request #102 from sgk/leonardoTone
Fix for tone() on Leonardo.
2012-09-13 06:07:10 -07:00
Peter Van Hoyweghen dc86d26a11 Avoid serial buffer overrun on leonardo 2012-09-13 08:46:45 -04:00
David A. Mellis 5ca747e312 Changing setting of the UMSELn bits (for UART mode) and serial config values.
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-30 08:47:35 -04:00
David A. Mellis 1650169f5d Renaming serial config constants to, e.g., SERIAL_8N1. 2012-08-30 08:21:12 -04:00
David A. Mellis 6542625bc2 Merge pull request #109 from Alarus/master
Serial.begin() parameter to set data bits, parity, stop bits.
2012-08-30 05:08:28 -07:00
David A. Mellis 70b6f11d63 Fixing Serial.flush() breakage on Leonardo (WestFW).
http://code.google.com/p/arduino/issues/detail?id=1020
2012-08-30 07:44:25 -04:00