Cristian Maglie
ce2bedf3e8
Applied HardwareSerial updates to robot's core.
2013-07-26 13:50:34 +02:00
Cristian Maglie
0cf0a99a46
Fixed compile problem for Leonardo after 0bd6a2d20fb9664255b20e0db11dd4586ebe9007
2013-07-26 12:50:17 +02:00
Matthijs Kooijman
da7914c519
Make private members of HardwareSerial protected
...
This allows users to create subclasses.
Closes : #947
2013-07-26 12:41:35 +02:00
Matthijs Kooijman
2cfb35506a
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
bc31436238
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
92d4169824
Fixed usb_products on some AVR boards
2013-07-22 12:30:25 +02:00
Cristian Maglie
4f23aac925
Added quoting to usb_product key to preserve double quotes.
...
See #1422 .
2013-07-17 14:42:41 +02:00
Angus Gratton
8d19af1268
Remove hardcoded product names (all provided for in boards.txt)
2013-07-17 14:38:05 +02:00
Angus Gratton
67a7d54010
Fix whitespace (tabify), oops
2013-07-17 14:37:49 +02:00
Angus Gratton
eb4172af3e
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
1c87c22551
Allow USB product and manufacturer strings to be supplied in boards.txt
2013-07-17 14:37:29 +02:00
Cristian Maglie
451d5b55a1
Merge branch 'master' into ide-1.5.x
2013-07-14 11:51:50 +02:00
Cristian Maglie
d617c334e5
assembly compile recipe is missing (C. A. Church)
...
Fixes #1457
2013-07-12 21:09:45 +02:00
Cristian Maglie
bc4f2afde9
String: fixed number of whitespaces in concat() methods
2013-06-28 09:53:25 +02:00
Cristian Maglie
44f4e7988e
String: changed default to 2 decimal digits
2013-06-21 21:23:12 +02:00
Cristian Maglie
ffb7f776e9
Fixed buffer overflow on String class (Paul Stoffregen)
2013-06-06 20:04:43 +02:00
Cristian Maglie
cad0f00c61
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
16351896d0
Added support for Flash string on String class.
2013-06-06 16:33:20 +02:00
Cristian Maglie
bfee6f1bf2
String class: removed deep copy on substring method.
...
Small code cleanup.
2013-06-06 16:33:20 +02:00
Cristian Maglie
2312a1aad2
Merged 1.0.5
2013-05-29 18:30:36 +02:00
Cristian Maglie
638238855f
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
Loren M. Lang
00284a3c8a
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
1a2834d044
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
9a5a8464bb
Moved old production firmware to the right place
2013-04-17 17:52:36 +02:00
Cristian Maglie
da922eb443
Reverted to old board ids
2013-04-17 17:45:57 +02:00
Kristian Sloth Lauszus
b6fa40ca40
Set correct speed of Arduino ISP programmer
2013-04-06 01:59:25 +02:00
Cristian Maglie
1d176775b2
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
541c2ca7b6
Added version field to platform.txt
2013-03-21 09:20:29 +01:00
Cristian Maglie
70c252ebfc
Changed the way ARDUINO is defined inside platform.txt
2013-03-18 13:14:30 +01:00
Cristian Maglie
402569be25
Added auto-generation for 'build.board' value in boards.txt.
...
See #1305 .
2013-03-06 12:49:41 +01:00
Cristian Maglie
f8e04f1a75
Slighty changed custom menu format: simplifies parsing
2013-03-03 11:31:31 +01:00
Federico Fissore
ed0bd42e07
merging ide-1.5.x
2013-02-13 16:25:40 +01:00
Federico Fissore
6e761d4078
fixing PID for esplora
2013-02-13 13:33:43 +01:00
Cristian Maglie
50f0440a56
BOARDS and ARCH defines from boards.txt
...
See #308
2013-02-11 19:43:04 +01:00
Federico Fissore
7e7f253417
closes #954 : wrong header name in WebServer example sketches
2013-01-10 16:30:07 +01:00
Federico Fissore
464ba4da06
wrong comment in Firmata.cpp. closes #786 #785
2013-01-10 14:53:20 +01:00
Cristian Maglie
e25db1c0f7
Merged upcoming 1.0.4 and updated revision log
2013-01-06 18:38:03 +01:00
Cristian Maglie
5b2d3dbe0d
Merged 1.0.4 pre-release into 1.5
2012-12-17 16:53:45 +01:00
Cristian Maglie
e1d511fd00
Burn production-tested bootloader for very old Atmega8
2012-12-10 16:08:23 +01:00
Cristian Maglie
d52452d846
Merged 1.0.3
2012-12-10 15:55:05 +01:00
Federico Fissore
61eace3a23
fixed permissions on a lot of text files. see #1116
2012-12-10 10:42:49 +01:00
David A. Mellis
ccedc84eb2
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
c8f3857fe5
Fixed boards.txt (added Micro and fixed path for LilyPadUSB bootloader)
2012-11-25 15:10:29 +01:00
Cristian Maglie
d55997e9b0
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
2e1eb3c650
Fixed verbose upload. Removed unused platform.txt params.
2012-11-04 01:05:54 +01:00
Cristian Maglie
1481ae7a3b
Merge remote-tracking branch 'ffissore/boards-cputype' into ide-1.5.x
2012-11-04 00:31:41 +01:00
Cristian Maglie
1b3c2b50ab
Added general yield()-hook for cooperative scheduling development (part 2)
2012-11-02 18:12:21 +01:00
Federico Fissore
904a536d6a
updated boards.txt
2012-10-31 18:08:03 +01:00
Federico Fissore
810804de06
updated boards.txt
2012-10-31 18:03:06 +01:00
Federico Fissore
b10f42c074
updated boards.txt
2012-10-31 17:53:40 +01:00