Commit Graph

777 Commits

Author SHA1 Message Date
Cristian Maglie 67c84855c2 Updated robot examples and libraries
Merge branch 'master' into ide-1.5.x
2013-08-22 16:30:28 +02:00
Cristian Maglie 6a1c3303d6 Merged robot core 2013-08-22 16:29:49 +02:00
Xun Yang aaaa2c3ab6 Fixed robot libraries and examples for unified Arduino core 2013-08-21 23:14:00 +02:00
Cristian Maglie b3348a6706 Removed unused flags from String (free 1 byte of SRAM) 2013-08-20 15:15:47 +02:00
Cristian Maglie a8193ed933 Merge branch 'ide-1.5.x-library-to-new-format' into ide-1.5.x 2013-08-08 16:43:19 +02:00
Cristian Maglie a4c9fee673 Merge branch 'update-arm-gcc' into ide-1.5.x 2013-08-08 15:00:14 +02:00
Cristian Maglie 8cfd253d1c Added quoting to usb_producer key to preserve double quotes.
See #1422.
2013-08-01 15:20:24 +02:00
Cristian Maglie 023434a6be Merge branch 'master' into ide-1.5.x 2013-07-31 17:33:55 +02:00
Cristian Maglie 40b622a5d1 Merge branch 'issue1366' of github.com:Lauszus/Arduino into Lauszus-issue1366 2013-07-31 17:22:12 +02:00
Cristian Maglie 99bb4a573f Applied USB CDC updates to robot's core. 2013-07-30 10:39:41 +02:00
Cristian Maglie 4de497b725 Move buffers into USB CDC (look #947 and #1369 for reference) 2013-07-27 12:06:42 +02:00
Cristian Maglie cddc83bb19 Applied HardwareSerial updates to robot's core. 2013-07-26 13:50:34 +02:00
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
Fede85 5527c44aa4 WiFi library to the new format 2013-07-19 16:20:34 +02:00
Fede85 f84a4ae1cd Merge remote-tracking branch 'upstream/ide-1.5.x' into ide-1.5.x-library-to-new-format 2013-07-19 13:23:59 +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
Fede85 cfebeec566 Esplora library to new format 2013-07-04 15:54:30 +02:00
Fede85 8df1ed0ad2 updated Firmata library to version 2.3.5 and moved to the new library format 2013-07-04 13:29:15 +02:00
Fede85 f40a546151 SoftwareSerial library to the new format 2013-07-03 23:18:21 +02:00
Fede85 21ca174dbe GSM library to the new format and some strings adaptations 2013-07-03 22:55:18 +02:00
Fede85 fd8c367304 SPI library to the new format and moved Robot_Motor and Robot_Control libraries 2013-07-03 22:00:02 +02:00
Fede85 cb3003082e TFT library to new format 2013-07-03 16:25:45 +02:00
Fede85 2764f7cf4f Merge remote-tracking branch 'upstream/ide-1.5.x' into ide-1.5.x-library-to-new-format 2013-06-28 15:10:09 +02:00
Cristian Maglie 620fe0a3ac String: fixed number of whitespaces in concat() methods 2013-06-28 09:53:25 +02:00
Fede85 e01b238403 Stepper library to the new format 2013-06-27 19:24:16 +02:00
Fede85 5abc6d147f Servo library to the new format 2013-06-27 13:12:07 +02:00
Fede85 a7aabfb3a3 EEPROM library to the new format 2013-06-27 12:16:14 +02:00
Fede85 4bfbbb3484 Ethernet, SD and LiquidCrystal to the new library format 2013-06-26 19:13:04 +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