Commit Graph

2905 Commits

Author SHA1 Message Date
Cristian Maglie 0479d49741 Updated revision log 2013-08-01 11:57:14 +02:00
Cristian Maglie ab82b1a405 Merge branch 'master' into ide-1.5.x 2013-07-31 17:33:55 +02:00
Cristian Maglie 293e46bfb4 Merge branch 'issue1366' of github.com:Lauszus/Arduino into Lauszus-issue1366 2013-07-31 17:22:12 +02:00
Cristian Maglie 1b0e47ef78 Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x 2013-07-30 11:15:48 +02:00
Cristian Maglie d3be60ead6 Applied USB CDC updates to robot's core. 2013-07-30 10:39:41 +02:00
Federico Fissore 17d9f112ee bossac64 compiled on debian wheezy 2013-07-29 10:59:42 +02:00
Federico Fissore f2c0198b10 Revert "Revert "avrdude -> avrdude32""
This reverts commit b0332f0c36.
2013-07-29 10:59:42 +02:00
Cristian Maglie 6ab9299187 Merge pull request #1522 from PaulStoffregen/ide-1.5.x
Help 3rd party installers find the hardware path
2013-07-28 05:33:07 -07:00
Cristian Maglie 8c1ce45531 Move buffers into USB CDC (look #947 and #1369 for reference) 2013-07-27 12:06:42 +02:00
PaulStoffregen 88e9da8056 Help 3rd party installers find the hardware path 2013-07-26 17:08:01 -07:00
Federico Fissore b0332f0c36 Revert "avrdude -> avrdude32"
This reverts commit a1f04cc3c0.
2013-07-26 18:42:23 +02:00
Federico Fissore a1f04cc3c0 avrdude -> avrdude32
bossac -> bossac32
adapted build.xml to copy the right avrdude and bossac according to target arch
2013-07-26 17:55:35 +02:00
Cristian Maglie 4055ac13f3 Applied HardwareSerial updates to robot's core. 2013-07-26 13:50:34 +02:00
Cristian Maglie ae4427f2ea Fixed compile problem for Leonardo after 0bd6a2d20f 2013-07-26 12:50:17 +02:00
Matthijs Kooijman f50372a2a6 Make private members of HardwareSerial protected
This allows users to create subclasses.

Closes: #947
2013-07-26 12:41:35 +02:00
Matthijs Kooijman 0bd6a2d20f 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 e0a9a7676b 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 d6a5e41b5c Fixed usb_products on some AVR boards 2013-07-22 12:30:25 +02:00
Cristian Maglie f8d32a0659 Parametric USB configuration for Arduino Due (experimental) 2013-07-22 12:29:02 +02:00
Cristian Maglie f8ec9418d1 Fixed bug in StringReplacer 2013-07-19 16:08:36 +02:00
Cristian Maglie c32c3517a5 Added quoting to usb_product key to preserve double quotes.
See #1422.
2013-07-17 14:42:41 +02:00
Angus Gratton 1a99be33a3 Remove hardcoded product names (all provided for in boards.txt) 2013-07-17 14:38:05 +02:00
Angus Gratton 6abdeecbf5 Fix whitespace (tabify), oops 2013-07-17 14:37:49 +02:00
Angus Gratton a7ad83cb73 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 15e73e8daa Allow USB product and manufacturer strings to be supplied in boards.txt 2013-07-17 14:37:29 +02:00
Cristian Maglie ee8110e731 Updated StringReplacer.quotedSplit() to accept more than one quote char. 2013-07-17 14:36:20 +02:00
Cristian Maglie c70cba8fcd Fixed translated text string. Show warning message during loading of TargetPlatforms 2013-07-15 21:25:21 +02:00
Cristian Maglie 3a68385c07 Merge branch 'ide-1.5.x-thirdpartyboardprofiles' of github.com:projectgus/Arduino into projectgus-ide-1.5.x-thirdpartyboardprofiles
Conflicts:
	app/src/processing/app/debug/BasicUploader.java
2013-07-15 21:06:02 +02:00
Cristian Maglie 65c36f2eb6 Merge branch 'master' into ide-1.5.x 2013-07-14 11:51:50 +02:00
Cristian Maglie f604881d40 assembly compile recipe is missing (C. A. Church)
Fixes #1457
2013-07-12 21:09:45 +02:00
Cristian Maglie 598ab1d5c0 Merge pull request #1465 from mcoms/patch-1
Update incorrect docs in tonePitchFollower example
2013-07-12 11:11:27 -07:00
Cristian Maglie 7f87574f7e Hardened upload.tool property reading code for boards.txt
Fixes #1464
2013-07-12 20:05:58 +02:00
Cristian Maglie 8ab419fd13 Better error handling for missing preferences.
Fixes #1471
2013-07-12 19:50:57 +02:00
Cristian Maglie c24b3f6489 IDE didn't stop if an invalid library is found 2013-07-12 16:22:51 +02:00
Fede85 92ad5f039c added some String methods syntax highlighting 2013-07-01 18:47:13 +02:00
Cristian Maglie 8e20bc7b43 String: fixed number of whitespaces in concat() methods 2013-06-28 09:53:25 +02:00
Cristian Maglie f57a00ea6c String: changed default to 2 decimal digits 2013-06-21 21:23:12 +02:00
Cristian Maglie d101bf51a2 [sam] 2 bugfix to SPI library.
- begin() after end() now works.
- unconnected SPI pin is selected as CS when old (non extended) API is used.
2013-06-21 19:58:08 +02:00
Federico Fissore 8b0b0a7d68 new librxtxSerial64 compiled on debian with glibc 2.13 2013-06-21 18:12:41 +02:00
Nick ad500ae24d Update incorrect docs in tonePitchFollower example
The comments state that the speaker should be on pin 8, but the code references pin 9. Updated the comments to reflect the correct pin.
2013-06-11 14:47:15 +02:00
Mikal Hart fc8103c969 Minor typo correction
formely->formerly
2013-06-08 12:37:51 -05:00
Cristian Maglie a2e7413d22 More efficient dtostrf() emulation on ARM 2013-06-06 23:11:43 +02:00
Cristian Maglie 81d41fc761 Updated revision log 2013-06-06 20:07:02 +02:00
Cristian Maglie ba7fb5518f Fixed buffer overflow on String class (Paul Stoffregen) 2013-06-06 20:04:43 +02:00
Cristian Maglie f80c6c5f35 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 1130fede3a Added support for Flash string on String class. 2013-06-06 16:33:20 +02:00
Cristian Maglie b341a7c751 String class: removed deep copy on substring method.
Small code cleanup.
2013-06-06 16:33:20 +02:00
Cristian Maglie 16b7b67c47 Fixed problem with % processing on .po files. Fixed quote ' processing on I18N lib. 2013-06-06 16:33:20 +02:00
Tevin Zhang 82a2c1d3d9 add String.toFloat 2013-06-06 16:19:34 +02:00
Ryan Esteves 0778f8a3f3 Added remove methods to WString 2013-06-05 14:08:59 -04:00