1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-30 11:24:12 +01:00
Commit Graph

2247 Commits

Author SHA1 Message Date
Paul Brook
ddbb6b3914 Improve CDC read code
Read CDC data from USB FIFO on demand instead of in ISR.
Remove superfluous ring buffer.

Signed-off-by: Paul Brook <paul@nowt.org>
2014-05-24 00:34:56 +02:00
Paul Brook
13c0db5834 Fix race condition in USB CDC transmit
If the Start of Frame interrupt triggers just after the call
to USB_SendSpace in USB_Send then we can get data loss.
When the first bank is full and the second partially full,
the SOF handler will release the second bank via USB_Flush.
Data is then lost due to overflow as USB_Send continues writing data
to the now-closed bank.

Fix this by re-checking the FIFO status inside LockEP, immediately before
doing the data write.

Signed-off-by: Paul Brook <paul@nowt.org>
2014-05-24 00:34:56 +02:00
Justin Rajewski
b822091a78 improved USB write speeds 2014-05-24 00:34:56 +02:00
Cristian Maglie
44b5096e05 Backported Print class from ide-1.5.x branch
Close #1951
2014-05-24 00:13:07 +02:00
Cristian Maglie
fb8e439f3b Merge pull request #2057 from zfields/patch-1
Match return value to type in available()
2014-05-23 20:28:53 +02:00
Cristian Maglie
b999ed29bb Merge pull request #2090 from jenscski/master-fix-1361
Bug in SoftwareSerial when using inverse logic
2014-05-23 20:23:04 +02:00
Jens-Christian Skibakk
17e1eb5ef2 Fix idle level when initializing a inverted SoftwareSerial
Previously, when SoftwareSerial was initialized, it would always be set
to an idle level of HIGH, even when inverted logic was enabled. Once a
byte is transmitted, the idle level gets correctly set to LOW instead.
This commit makes sure that the idle level is correct directly after
initialization already.

This fixes #1361.
2014-05-23 13:12:58 +02:00
Scott Fitzgerald
9ad8748d40 Updated Blink
removed the variable “led” and added some additional descriptive text
2014-05-08 23:05:53 +04:00
Zachary J. Fields
f40e471354 Match return value to type in available() 2014-05-07 17:39:08 -07:00
Scott Fitzgerald
cf5fc143ac Modified Keyboard Reprogram example
Updated to reflect changes with how the IDE creates new blank sketches.
2014-05-03 19:16:29 +04:00
Cristian Maglie
3adbeeeaf8 Merge pull request #2042 from jaimeiniesta/patch-1
fix comments on spaceship example
2014-05-03 12:05:46 +02:00
Jaime Iniesta
9403021460 fix comments on spaceship example
The comments explaining the if..else part were mistaken.
2014-05-01 22:22:04 +02:00
Cristian Maglie
9c7e3ab4c3 Fixed example StringStartsWithEndsWith.ino 2014-04-07 19:07:49 +02:00
Cristian Maglie
a74597dceb Merge branch 'master' of github.com:majenkotech/Arduino 2014-04-07 18:54:27 +02:00
Federico Vanzati
4a10c1c5a8 Merge pull request #1907 from egueli/master
Esplora: added reading from Tinkerkit inputs
2014-04-02 11:50:37 +02:00
Matt Jenkins
8a1fffdb8e Import WString from 1.5.6 2014-04-01 14:46:13 +01:00
Matt Jenkins
5bc28a178f Fixed string constructor overloading bug 2014-04-01 14:02:17 +01:00
Cristian Maglie
962d6d1e3a Merge pull request #1958 from Ramoonus/patch-1
Update README.md
2014-03-25 18:01:37 +01:00
Ramon van Belzen
860da6fe0d Update README.md
also make ToDo a link
2014-03-24 19:56:25 +01:00
Cristian Maglie
567240236a Added compatibity for 1.5 libraries layout on IDE 1.0.x
See #1765
2014-03-20 14:56:46 +01:00
Scott Fitzgerald
9810e896d1 Update to Esplora example
Added Mouse.press to Esplora Joystick Mouse example
2014-03-08 12:43:18 +04:00
Cristian Maglie
16915f12a3 Merge pull request #1899 from arduino/arduino_debug_master_backport
Windows: arduino_debug.exe
2014-03-04 14:17:33 +01:00
Federico Fissore
5a60f6b008 Windows: launch4j gets downloaded at build time 2014-03-04 13:13:48 +01:00
Cristian Maglie
4c8199e412 Merge pull request #1773 from oni303/minus_support
added support for '-' in filenames
2014-03-04 10:55:00 +01:00
Enrico Gueli
8642df71e6 Esplora: added reading form Tinkerkit inputs 2014-03-03 19:57:02 +01:00
Georg von Zengen
efedfa7049 cut the filename at the last '.' not at the first in tab-names of the editor 2014-02-27 14:30:19 +01:00
Georg von Zengen
3be6eb84b9 added support for '-' and '.' but both not as the first as first character 2014-02-27 14:14:36 +01:00
Federico Fissore
994f0d7bfd Windows: arduino_debug.exe. Backport of ad2ff737bb 2014-02-27 13:24:49 +01:00
Cristian Maglie
2380a8f3d7 Added copyright license for WiFi shield library
See #1117
2014-02-27 12:46:05 +01:00
Cristian Maglie
27576919a4 Merge pull request #1879 from h2g2guy/master
Corrected repeated 'less' in checkName's message
2014-02-19 10:37:24 +01:00
h2g2guy
f3944b2df0 Corrected repeated 'less' in checkName's message 2014-02-18 23:32:22 -05:00
Cristian Maglie
3a72c02480 Removed unused code, fixed indentation. 2014-02-17 14:19:40 +01:00
Cristian Maglie
57bee97d7b Local (user installed) libraries have priority over system libraries
See #1853
2014-02-17 14:19:40 +01:00
Federico Fissore
1d060cafe0 Merge pull request #1867 from felixphew/patch-2
Update README.md
2014-02-17 09:17:05 +01:00
felixphew
fd2ecf71b8 Update README.md
Decapitalised secondary headings and linked the *Credits* section
2014-02-17 07:32:09 +11:00
Cristian Maglie
cc6d7cdbd1 Added license for Client, IPAddressm and Server (master branch)
See #1847 and #1117
2014-02-13 17:49:14 +01:00
Cristian Maglie
8eaaeebadf Added license for Arduino.h, binary.h and main.cpp (master branch)
See #1847 and #1117
2014-02-13 17:48:47 +01:00
Cristian Maglie
2a8c06381f Added some friendly messages for Arduino Robot include errors on old sketches
After merging #1859, old sketches that uses Robot_Control library must include
Wire.h and SPI.h to work properly.
2014-02-12 15:28:53 +01:00
Cristian Maglie
9dd425515b Merge branch 'master' of github.com:X-Y/Arduino into X-Y-master 2014-02-12 14:51:46 +01:00
Cristian Maglie
eb1e2f2db1 Revert "Changed pins definition in variants from constants to #defines."
This reverts commit 7fcba37acf.
2014-02-12 14:46:48 +01:00
Xun Yang
53adddcb33 Fixed issue #1478, #1599, #1709, motors being opposite, updated turning algorithm 2014-02-12 02:02:20 +01:00
Cristian Maglie
b78fcf5139 Merge pull request #1853 from PaulStoffregen/master
If 2 libs have same .h file, use the lib with same dir name
2014-02-11 16:24:05 +01:00
PaulStoffregen
ef4f0f3bc9 If 2 libs have same .h file, use the lib with same dir name 2014-02-10 14:18:47 -08:00
Fede85
5dfafe7847 WiFi Shield examples: added the firmware version check 2014-02-06 18:40:48 +01:00
Cristian Maglie
b415903b69 Merge pull request #1836 from KonradIT/master
Use markdown lang in the readme.
2014-02-05 12:32:20 +01:00
Scott Fitzgerald
1c28dab57b Updated Listfiles SD example
Changed SS pin to 4 for consistency with other examples
2014-02-02 14:35:04 +04:00
Konrad Iturbe
7ea7c5291d Rename README.mkdn to README.md 2014-01-29 22:18:24 +01:00
Konrad Iturbe
ede9b56407 Update and rename readme.txt to README.mkdn 2014-01-29 21:59:23 +01:00
Konrad Iturbe
9b86cb6e42 Update readme.txt 2014-01-29 21:57:29 +01:00
Scott Fitzgerald
017326acc6 Minor changes to Communication Examples
Added a note to the included Processing sketches about replacing
println(Serial.list()) with Serial.printArray() if using Processing 2.1
or later
2014-01-29 14:27:09 +04:00