Commit Graph

439 Commits

Author SHA1 Message Date
Cristian Maglie 0b2a4b4b1a Updated boards.txt for Arduino Yun 2013-07-30 10:58:02 +02:00
Cristian Maglie 97c43be1db 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 ce69a84027 Applied USB CDC updates to robot's core. 2013-07-30 10:39:41 +02:00
Cristian Maglie 2e0432e664 Move buffers into USB CDC (look #947 and #1369 for reference) 2013-07-27 12:06:42 +02:00
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
Federico Fissore 5375c26cfb TemperatureWebPanel: widening refresh interval 2013-07-25 14:31:26 +02:00
Cristian Maglie 92d4169824 Fixed usb_products on some AVR boards 2013-07-22 12:30:25 +02:00
Fede85 245c755b64 WiFi library to the new format 2013-07-19 16:20:34 +02:00
Federico Fissore fbf0c0de3b 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 86da4ea67e 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 531d41053b SpacebrewYun: added new example 2013-07-18 14:07:39 +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
Angelo Scialabba f7f29b4be2 Bridge: CRC16 being used as CRC 2013-07-15 16:41:17 +02:00
Federico Fissore 5774e611e4 updated temboo examples (added ControlBySMS) 2013-07-15 15:22:50 +02:00
Cristian Maglie 8330b196a4 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 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
Federico Fissore 2095d1e7cd File: implemented File.openNextFile() and File.rewindDirectory() 2013-07-11 18:14:49 +02:00
Federico Fissore 09a5884054 FileIO.h: removed wrong function declaration 2013-07-11 13:22:52 +02:00
Federico Fissore b9aaf29dcb Added File.isDirectory() 2013-07-11 13:06:48 +02:00
Federico Fissore e1f6e4b424 updated temboo examples 2013-07-11 11:24:53 +02:00
Cristian Maglie 0bad92cb21 Updated YunSerialTerminal: added command to shutdown bridge 2013-07-10 20:37:31 +02:00
Cristian Maglie ca1bc97a9a Bridge: even more reliable startup 2013-07-10 20:24:16 +02:00
Federico Fissore c6b1d405d0 updated temboo examples 2013-07-10 09:47:18 +02:00
Federico Fissore 8cc65a7d7d WifiStatus example:updated sketch description 2013-07-09 20:08:17 +02:00
Federico Fissore b95f6b6b26 temboo examples updated 2013-07-09 20:07:54 +02:00
Federico Fissore c60340b34f updated temboo examples 2013-07-08 15:09:09 +02:00
Federico Fissore 23721b3f68 Merge branch 'ide-1.5.x-discovery' into dev-ide-1.5.x-discovery 2013-07-07 17:07:32 +02:00
tigoe a0f757e7b1 #include Bridge.h in HttpClient 2013-07-06 09:12:01 -04:00
tigoe 64361a1798 Corrected file structure on TemperatureWebPanel 2013-07-06 09:11:37 -04:00
tigoe 1fbb3263c7 Updated TemperatureWebPanel 2013-07-06 08:20:02 -04:00
tigoe aa4f985ee3 Updated TemperatureWebPanel 2013-07-06 08:10:13 -04:00
tigoe c8ebd5738d Added TemperatureWebPanel example 2013-07-06 07:48:10 -04:00
Federico Fissore 813833da3b forgot to include YunClient 2013-07-05 19:14:51 +02:00
Federico Fissore 42a79bfbcc delete OLDYahooWeather example
Updated pretty-wifi-info-lua path in ShellCommands and WifiStatus examples
Tried to make a sense of HttpClient example by making it fetch http://arduino.cc/asciilogo.txt
2013-07-05 15:06:37 +02:00
Federico Fissore 5a05b725ff renamed two lua scripts 2013-07-05 13:50:00 +02:00
Federico Fissore 8ba395d154 introducing Temboo library 2013-07-05 11:55:38 +02:00
Cristian Maglie 4ac20be610 YunServer: added write() method 2013-07-04 17:39:14 +02:00
Cristian Maglie f220fc375e Refactored YunClient and YunServer classes.
Added YunClient.connect() methods.
2013-07-04 17:15:52 +02:00
Federico Fissore 1ba1b6ee70 BootWatcher removed
BridgeNew is the new Bridge
2013-07-04 16:33:10 +02:00
Fede85 773b5dfad9 Esplora library to new format 2013-07-04 15:54:30 +02:00
Fede85 699d358565 updated Firmata library to version 2.3.5 and moved to the new library format 2013-07-04 13:29:15 +02:00