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

2286 Commits

Author SHA1 Message Date
Cristian Maglie
afc368b01f GSM: Backported library from IDE 1.5.x
Fixes #2343
2014-10-10 00:02:18 +02:00
Cristian Maglie
d63350b506 Merge pull request #2345 from JChristensen/ephemeral
Change EthernetClient to use IANA recommended ephemeral port range
2014-10-08 13:08:09 +02:00
JChristensen
c01172cd1b Changed EthernetClient to use IANA recommended ephemeral port range, 49152-65535. 2014-10-05 22:41:39 -04:00
Cristian Maglie
ad0bedcbe3 Merge pull request #2329 from Unh0lyTigg/patch-1
Fix typo in KeyboardLogout.ino
2014-10-01 13:28:30 +02:00
Robert Allen
d3f76e9558 Fix typo in KeyboardLogout.ino
Comment says ALT+s, code says ALT+l. This remedies that difference.
2014-09-26 12:51:10 -07:00
Cristian Maglie
cd015f4c0b Merge pull request #2316 from championswimmer/1.0.x-fixMaxMega
set correct max size for mega2560 (to address issue #2277)
2014-09-23 11:43:59 +02:00
Arnav Gupta
4dd931a99a set correct max size for mega2560 (to address issue #2277)
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2014-09-21 17:10:06 +05:30
Cristian Maglie
90bd172f30 Updated revision log. Version upped to 1.0.6. 2014-09-16 12:16:06 +02:00
Cristian Maglie
88b487f480 Removed todo.txt (leftover) and updated build.xml accordingly 2014-09-16 12:14:03 +02:00
Cristian Maglie
e9e257bcdf Merge pull request #2258 from QuentinPerez/fix-descriptor-firmware
fix Descriptor.c
2014-08-25 22:14:57 +02:00
qperez42@gmail.com
70bc56275d fix Descriptor.c 2014-08-25 09:52:10 +02:00
Christopher Andrews
1bbcb2f9d4 Added replacement stub for cstdlib atexit() funciton.
This is an empty stub to simply allow use of complex types with a
non global static lifetime. For more complex handling the function
'atexit' can be redefined in user code.

For more information see:

https://github.com/arduino/Arduino/pull/2229
https://github.com/arduino/Arduino/issues/1919
2014-08-08 15:38:57 +02:00
Cristian Maglie
e71bbf6011 Merge pull request #2195 from pmjdebruijn/duplicate-example
SPI: remove duplicate BarometricPressureSensor example
2014-07-24 14:53:48 +02:00
Cristian Maglie
163b60ee29 Merge pull request #2206 from amulya349/master
Fix of a bug #2199
2014-07-24 14:40:52 +02:00
Amulya Kumar Sahoo
97dc72ce05 Fix of a spelling mistake 2014-07-23 01:17:31 +05:30
Amulya Kumar Sahoo
865594d132 Fix of a bug 2014-07-23 01:03:44 +05:30
Pascal de Bruijn
2c10bbe84c SPI: remove duplicate BarometricPressureSensor example 2014-07-19 12:53:13 +02:00
Cristian Maglie
3a8ad75bce Merge pull request #2162 from ankitdaf/patch-2
Update HelloWorld.ino - Added two lines for documentation
2014-07-15 17:13:26 +02:00
Ankit Daftery
f34787d100 Update HelloWorld.ino
Adding power connections, just to be thorough
2014-07-03 13:08:12 +05:30
Cristian Maglie
faa08454cd Fixed Smoothing example
"index" variable name create conflicts with Arduino Due where "index" is
a reserved word for Posix C.
2014-07-02 15:44:26 +02:00
Cristian Maglie
494d3de97d Fixed permission on wifishield upgrade script. 2014-07-01 19:05:03 +02:00
Cristian Maglie
fe78ffe429 Merge pull request #2118 from benoit-artefactlabs/wifishield-upgrade-firmware-mac-path
corrected wrong path to firmware binaries in wifishield upgrade script f...
2014-07-01 18:52:41 +02:00
Cristian Maglie
668559fc6f Updated revision log 2014-07-01 18:27:03 +02:00
Cristian Maglie
29f9dd9f1f Merge pull request #2139 from cmaglie/init-variant
Allow variants to define an initVariant() function that is called at startup
2014-07-01 17:28:45 +02:00
Cristian Maglie
f73209728d Updated revision log 2014-06-30 18:24:42 +02:00
Cristian Maglie
e0f83a3617 Backported digitalPinToInterrupt macro from IDE 1.5.x 2014-06-30 18:24:08 +02:00
Cristian Maglie
bb095a2a59 initVariant() is now declared as external "C" function.
See #2080 for more details.
2014-06-27 14:26:32 +02:00
Cristian Maglie
a798c79dab Updates to revision log 2014-06-25 16:02:00 +02:00
Cristian Maglie
40270306e0 Allow variants to define an initVariant() function that is called at startup.
See #2080
2014-06-19 19:49:47 +02:00
Cristian Maglie
11e02db954 Fixed regression in USBAPI and CDC (xaljox)
See:
9ac7e30252 (commitcomment-6718676)
2014-06-19 16:52:48 +02:00
Cristian Maglie
d2b6f9fab8 Merge pull request #2124 from embmicro/patch-1
Update USBAPI.h
2014-06-13 09:29:09 +02:00
Embedded Micro
9ac7e30252 Update USBAPI.h
Fixes bug where Serial.read() would always return 0 as the first byte.
2014-06-10 08:48:23 -07:00
benoit.git
d460dd6683 corrected wrong path to firmware binaries in wifishield upgrade script for mac 2014-06-08 00:01:40 +02:00
Federico Fissore
09d0843ff3 Merge pull request #2117 from amulya349/master
Fixed mistake in comment
2014-06-07 23:56:08 +02:00
Amulya Kumar Sahoo
e6923526d3 Fixed error in comment 2014-06-07 18:05:04 +05:30
Cristian Maglie
1918966aef Merge pull request #2104 from amulya349/master
Fix of a bug in Stream.cpp
2014-06-02 10:37:37 +02:00
Cristian Maglie
6914af0d63 USB CDC available() method returns correct number of bytes in buffer.
See #1953
2014-05-30 10:46:46 +02:00
Amulya Kumar Sahoo
2c3058b2d5 Fix of a bug
Stream::find(char *target) passes NULL as “terminator” to Stream::findUntil(char *target, char *terminator), which immediately dereferences it by passing it on to strlen() :
 
bool Stream::find(char *target)
{
  return findUntil(target, NULL);
}
 
// as find but search ends if the terminator string is found
bool Stream::findUntil(char *target, char *terminator)
{
  return findUntil(target, strlen(target), terminator, strlen(terminator));
}
2014-05-30 11:47:08 +05:30
Amulya Kumar Sahoo
91f0dbc9ec Fix of a bug
Stream::find(char *target) passes NULL as “terminator” to Stream::findUntil(char *target, char *terminator), which immediately dereferences it by passing it on to strlen():
 
bool Stream::find(char *target)
{
  return findUntil(target, NULL);
}
 
// as find but search ends if the terminator string is found
bool Stream::findUntil(char *target, char *terminator)
{
  return findUntil(target, strlen(target), terminator, strlen(terminator));
}
2014-05-30 11:44:50 +05:30
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