Cristian Maglie
090d53a74e
Fixed compile problem for Leonardo after 0bd6a2d20fb9664255b20e0db11dd4586ebe9007
2013-07-26 12:50:17 +02:00
Matthijs Kooijman
d1da7ef303
Make private members of HardwareSerial protected
...
This allows users to create subclasses.
Closes : #947
2013-07-26 12:41:35 +02:00
Matthijs Kooijman
714874dd8c
Move buffers into HardwareSerial
...
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-26 12:39:56 +02:00
Matthijs Kooijman
a056282246
Use uint8_t for HardwareSerial ringbuffer pointers
...
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-26 12:18:56 +02:00
Cristian Maglie
bda85506ea
Fixed usb_products on some AVR boards
2013-07-22 12:30:25 +02:00
Cristian Maglie
43392fb2b4
Added quoting to usb_product key to preserve double quotes.
...
See #1422 .
2013-07-17 14:42:41 +02:00
Angus Gratton
ff47a782f5
Remove hardcoded product names (all provided for in boards.txt)
2013-07-17 14:38:05 +02:00
Angus Gratton
0340b90366
Fix whitespace (tabify), oops
2013-07-17 14:37:49 +02:00
Angus Gratton
96286247b6
boards.txt: Refactor the default usb build flags into a generic property in platform.txt
2013-07-17 14:37:39 +02:00
Angus Gratton
a33cba585f
Allow USB product and manufacturer strings to be supplied in boards.txt
2013-07-17 14:37:29 +02:00
Cristian Maglie
77678f3af1
Merge branch 'master' into ide-1.5.x
2013-07-14 11:51:50 +02:00
Cristian Maglie
e565393143
assembly compile recipe is missing (C. A. Church)
...
Fixes #1457
2013-07-12 21:09:45 +02:00
Cristian Maglie
620fe0a3ac
String: fixed number of whitespaces in concat() methods
2013-06-28 09:53:25 +02:00
Cristian Maglie
a7ba61d1b7
String: changed default to 2 decimal digits
2013-06-21 21:23:12 +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
d90fcca583
Merged 1.0.5
2013-05-29 18:30:36 +02:00
Cristian Maglie
ef4e8c6537
Robot has its own core
2013-05-17 11:02:00 +02:00
Cristian Maglie
44c5dae865
Merge branch 'robot'
2013-05-15 11:16:09 +02:00
Fede85
cc5f2a52b4
Added support to INT6 on Leonardo.
...
Fixes #988
2013-05-13 21:22:59 +02:00
Cristian Maglie
08afd2dd60
Added robot hardware
2013-05-13 19:50: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
Loren M. Lang
e1da15aeb5
Detect RAM usage and stop if full
...
This resolves issue #1356 and add the ability for the Arduino IDE to
detect the amount of RAM allocated to a sketch and compare that to the
available RAM on each board. If RAM is more than 90% full, it will fail
on building since there is not enough free RAM for the heap and stack to
use.
2013-04-22 17:48:22 -07:00
Cristian Maglie
890a3311ed
Updated libaries and core handling.
...
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
Merge branch 'lib-1.5-cores' into ide-1.5.x
2013-04-17 17:53:03 +02:00
Cristian Maglie
04f3289d09
Moved old production firmware to the right place
2013-04-17 17:52:36 +02:00
Cristian Maglie
fd662d8639
Reverted to old board ids
2013-04-17 17:45:57 +02:00
Kristian Sloth Lauszus
ffc3ca9940
Set correct speed of Arduino ISP programmer
2013-04-06 01:59:25 +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
Fede85
dc7b070c81
updated config() methods in WiFi library
2013-03-28 12:56:57 +01:00
Cristian Maglie
c6dcde62af
Merge branch 'wifishield-bugfix'
2013-03-28 12:27:11 +01:00
Cristian Maglie
802eaa96c7
Merge remote-tracking branch 'mlafauci/wifishield-bugfix' into HEAD
2013-03-28 12:10:48 +01:00
Mimmo La Fauci
881e9430a1
Fix print message on dhcp status
2013-03-26 22:26:21 +01:00
Mimmo La Fauci
6265d40181
Fix issue on client side
2013-03-26 19:49:19 +01:00
Mimmo La Fauci
ed45296132
Fixed issue loading the firmware with bootloader
2013-03-25 23:49:21 +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
Mimmo La Fauci
41d49e97f0
Fix issue with multiple clients on WebServer
2013-03-22 13:42:12 +01:00
Mimmo La Fauci
e43ed7d47d
Added API to set static IP and DNS server
2013-03-21 09:24:07 +01:00
Cristian Maglie
7acb52a797
Added version field to platform.txt
2013-03-21 09:20:29 +01:00
Cristian Maglie
c2de020c3d
Merge remote-tracking branch 'mlafauci/wifishield-bugfix' into HEAD
2013-03-20 11:35:55 +01:00