Commit Graph

1074 Commits

Author SHA1 Message Date
Fede85 a3e2e68e2b Bridge library to the 1.5 format 2013-09-06 15:38:07 +02:00
Federico Fissore 35f10e412f Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discovery 2013-09-06 12:59:24 +02:00
Cristian Maglie cbeaa543fc Fixed String class regression after f80c6c5f35cddcf4761a3c97feb8504425e9d27d
This should make explicit String-from-integer constructor working again:

   int a = 10;
   String(a, 4);
2013-09-03 18:40:30 +02:00
Paul Brook 0ade989a2d USB CDC two argument begin()
Add two argument form of Serial_::begin

Signed-off-by: Paul Brook <paul@nowt.org>
2013-09-02 19:15:12 +01:00
Paul Brook c2a0030473 USB serial baud arg type
Make USB Serial_::begin() function take an unsigned long argument for
consistency with HardwareSerial.

Signed-off-by: Paul Brook <paul@nowt.org>
2013-09-02 19:02:55 +01:00
Cristian Maglie 4d851c1c59 Wrong boards.txt entry (sub-menu items) for Arduino Nano w/atmega328.
Fixes #1558
2013-08-31 15:20:15 +02:00
Federico Fissore f6f9c2a824 Spacebrew keywords 2013-08-28 10:12:33 +02:00
Federico Fissore aa7d03ba9c spacebrew update 2013-08-28 10:12:33 +02:00
Federico Fissore 39d8b74f58 removed .DS_Store folder 2013-08-28 10:12:33 +02:00
Cristian Maglie 540743129b Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
Conflicts:
	app/src/processing/app/Preferences.java
	app/src/processing/app/debug/Uploader.java
2013-08-23 15:59:24 +02:00
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 073b3ac9d4 Updated boards.txt for Arduino Yun 2013-07-30 10:58:02 +02:00
Cristian Maglie acb3df6d43 Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
Conflicts:
	hardware/arduino/avr/cores/arduino/USBCore.cpp
2013-07-30 10:45:44 +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
Federico Fissore 1895d696b1 TemperatureWebPanel: widening refresh interval 2013-07-25 14:31:26 +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
Federico Fissore 452be966bc Bridge: Bridge.begin should wait more before giving up, as other processes may consume linux cpu power 2013-07-19 15:18:55 +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
Federico Fissore 92cb63b843 SpacebrewYun: added new example 2013-07-18 14:07:39 +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
Angelo Scialabba 36cc2c89e7 Bridge: CRC16 being used as CRC 2013-07-15 16:41:17 +02:00
Federico Fissore beb9e08b79 updated temboo examples (added ControlBySMS) 2013-07-15 15:22:50 +02:00
Cristian Maglie 5836db3ddb Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
Conflicts:
	app/src/cc/arduino/packages/uploaders/SerialUploader.java
	app/src/processing/app/Editor.java
	app/src/processing/app/Sketch.java
	app/src/processing/app/debug/Uploader.java
2013-07-14 12:01:03 +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
Federico Fissore bd1e2ab332 File: implemented File.openNextFile() and File.rewindDirectory() 2013-07-11 18:14:49 +02:00
Federico Fissore 61ccf77a7a FileIO.h: removed wrong function declaration 2013-07-11 13:22:52 +02:00
Federico Fissore 40b2da7746 Added File.isDirectory() 2013-07-11 13:06:48 +02:00
Federico Fissore 3ee30f326f updated temboo examples 2013-07-11 11:24:53 +02:00
Cristian Maglie 67d03f1ea4 Updated YunSerialTerminal: added command to shutdown bridge 2013-07-10 20:37:31 +02:00
Cristian Maglie dec517181e Bridge: even more reliable startup 2013-07-10 20:24:16 +02:00