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

3728 Commits

Author SHA1 Message Date
Cristian Maglie
4df2c8982a Updated arm gcc to 4.8.3 2014-06-25 11:57:49 +02:00
Cristian Maglie
3a4381955e Updated arm gcc to 4.7.4 2014-06-25 11:56:50 +02:00
Cristian Maglie
6b5a99b7b5 Version bumped to 1.5.7. Updated revision log. 2014-06-25 11:21:15 +02:00
Cristian Maglie
59767b4c03 Removed patch for old malloc bug (no more useful with updated toolchain) 2014-06-25 10:14:35 +02:00
Federico Fissore
b72f461b4c Fixed compilation error when targetting Mega. Error is caused by #2039 and this fix is just a workaround 2014-06-25 10:14:35 +02:00
Federico Fissore
6f74581bba gcc: Adding -w flag to compiler.c.elf.flags in order to avoid printing ISR warning http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396 2014-06-25 10:14:35 +02:00
Federico Fissore
fdffb2de26 Setting CYGWIN=nodosfilewarning env variable on windows 2014-06-25 10:14:35 +02:00
Federico Fissore
44a6cbf2de Enabling link-time optimization. See #660 2014-06-25 10:14:34 +02:00
Federico Fissore
792e7fd7df Toolchain update 2014-06-25 10:14:34 +02:00
Federico Fissore
7f3e488310 Updated toolchains 2014-06-25 10:14:34 +02:00
Cristian Maglie
578cac41dc Added 'unzip-tool' target in build.xml 2014-06-25 10:14:34 +02:00
Federico Fissore
c778de0211 Toolchains updated: avrdude 6.0.1 replaces 5.11 2014-06-25 10:14:34 +02:00
Federico Fissore
febf6735ab New toolchain: macosx fix 2014-06-25 10:14:34 +02:00
Federico Fissore
98c3080d2a New toolchain: gcc 4.8.1, avr-libc 1.8.0, binutils 2.23.2 2014-06-25 10:14:34 +02:00
Federico Fissore
4ebf88b1b2 Toolchains updated, sha1sum updates follow 2014-06-25 10:12:40 +02:00
Federico Fissore
ca06ef91c7 Toolchains updated, sha1sum updates follow 2014-06-25 10:12:40 +02:00
Federico Fissore
879bacdcb0 Updated avr toolchain for macosx: should be compatible with macosx 10.6+ (was 10.7+) 2014-06-25 10:12:40 +02:00
Federico Fissore
3b74226f0d Fixed MacOSX AVR toolchain .zip checksum 2014-06-25 10:12:40 +02:00
Federico Fissore
20bf747c08 Added missing DLLs 2014-06-25 10:12:40 +02:00
Federico Fissore
5a015b3eec New common AVR toolchain 2014-06-25 10:12:39 +02:00
Cristian Maglie
1a305cdc45 Merge branch 'master' into ide-1.5.x 2014-06-19 17:01:53 +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
65a4b4034d Merge pull request #2126 from damellis/issue-1791
Proceed with upload even if port can't be found.
2014-06-13 11:33:20 +02:00
Cristian Maglie
7f9e9b1cc2 Merge branch 'master' into HEAD 2014-06-13 10:29:12 +02:00
Cristian Maglie
d2b6f9fab8 Merge pull request #2124 from embmicro/patch-1
Update USBAPI.h
2014-06-13 09:29:09 +02:00
David A. Mellis
fcd633686f Don't wrap a RunnerException in a redundant RunnerException. 2014-06-11 12:21:52 -04:00
David A. Mellis
b5fe1b1eb5 Proceed with upload even if port can't be found. (Issue #1791) 2014-06-11 12:07:46 -04: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
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
Federico Fissore
c387f87329 Corrected typos: Yun -> Yún 2014-05-30 12:17:09 +02:00
Cristian Maglie
74b853bf99 Improved YunSerialTerminal
Removing calls to Serial.available() adds more CPU time to better
handle a sustained 250kbps flow
2014-05-30 11:21:50 +02:00
Cristian Maglie
82fe44d76d Merge branch 'master' into HEAD 2014-05-30 10:54:14 +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
Cristian Maglie
36331fa1c9 Merge branch 'usbcdc-improved' into ide-1.5.x 2014-05-26 13:38:07 +02:00
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
cc2a9a65c3 Merge branch 'ide-1.5.x-hwserial-cleanup' of github.com:matthijskooijman/Arduino into matthijskooijman-ide-1.5.x-hwserial-cleanup 2014-05-23 21:16:42 +02:00
Cristian Maglie
5d92c1ba8e Merge remote-tracking branch 'arduino/master' into ide-1.5.x
Conflicts:
	build/shared/examples/01.Basics/Blink/Blink.ino
	build/shared/examples/09.USB/Keyboard/KeyboardReprogram/KeyboardReprogram.ino
	build/shared/examples/10.StarterKit/p02_SpaceshipInterface/p02_SpaceshipInterface.ino
	hardware/arduino/cores/arduino/HardwareSerial.cpp
2014-05-23 21:04:47 +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
Chris
e079baa18d Fix for Due Wire library
Fix reading and use of TWI status register.
Also, update endTransmission to be compatible with original & give more
useful return.
2014-05-23 12:06:43 +02:00
Cristian Maglie
4d5d0f68bd Merge pull request #2084 from arduino/ide-1.5.x-httpclient-allow-https
Allows HttpClient to call https urls
2014-05-21 11:24:43 +02:00
Federico Fissore
61826901ae Added [no]checkSSL method that sets an "insecure" boolean flag.
If insecure, "-k" parameter is added to curl and SSL certificates
are not checked
2014-05-21 11:15:09 +02:00