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

4151 Commits

Author SHA1 Message Date
Matthijs Kooijman
57bdacc93c Remove core.a before rebuilding it
Before, the ar command was just ran for all .o files that should end up
in core.a, which should replace any old code in core.a. However, it
seems that in the unlikely event that functions or entire source files
are deleted, they might linger in the core.a file.
2014-10-31 15:43:07 +01:00
Cristian Maglie
e76de57f6b Fixed parsing of dependency files (.d) to improve sketch build speed
Close #2255
2014-10-31 11:39:36 +01:00
Matthijs Kooijman
cd9a9e3fd7 Reduce avrdude verbosity
Previously, when verbose uploads were enabled, avrdude was run with four
-v options, causing it to dump all raw bytes exchanged with the
bootloader. This floods the console so much that meaningful output
mostly disappears.

Most users probably want to enable verbose mode just to see what avrdude
command is ran. Furthermore, users that benefit from the raw bytes
dumped are perfectly capable of either running avrdude manually, or
modifying platform.txt. Given that, running avrdude with just one  -v
should be plenty.

This fixes #891.
2014-10-30 12:36:06 +01:00
Matthijs Kooijman
d4ca6ce127 Allow setting a line timeout in MessageSiphon
Previously, the MessageSiphon class would read characters from an
InputStream and then push them to the passed MessageConsumer one line at
a time.

Now, you can specify a line timeout. Normally, messages are still
processed line by line, but if no line ending is received within the
specified timeout (counting from the first character in the line), then
the incomplete line is passed on as a message, without waiting for the
line ending.

This feature is used for the uploader command output. In particular,
this allows the avrdude progress bar to be shown in the IDE as expected,
character by character (previously, the entire progress bar would be
buffered, making it show up completely at the end of the upload).
2014-10-30 12:36:06 +01:00
Cristian Maglie
b032f748f1 Ehternet: added packed attribute on DHCP message struct 2014-10-28 17:56:28 +01:00
Cristian Maglie
79fde3a636 Ethernet: fixed upcast of byte-pointer 2014-10-28 17:55:52 +01:00
Federico Fissore
c1cca1fe54 build.xml: restored -z flag in tar creation 2014-10-24 14:42:28 +02:00
Cristian Maglie
d1714a9fb8 [sam] Added -MMD flag to tell compiler to produce dependencies files
Now a full rebuild of the sketch is triggered only if needed.
2014-10-22 13:36:14 +02:00
Cristian Maglie
0824abfee5 Merge branch 'master' into ide-1.5.x
Conflicts:
	hardware/arduino/cores/arduino/HardwareSerial.cpp
	hardware/arduino/cores/robot/Arduino.h
2014-10-21 17:47:59 +02:00
Cristian Maglie
54a6d644b6 Updated revision log 2014-10-21 17:40:48 +02:00
Cristian Maglie
62cf4b6b55 Revert "Match return value to type in available()"
This reverts commit f40e471354.
Added an hint for the buffer sizes.

See #2057
Fixes #2367
2014-10-21 17:18:26 +02:00
Cristian Maglie
58b6fd4789 Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt()
Fixes #2379
2014-10-21 16:55:37 +02:00
Federico Fissore
549e1d8469 Merge pull request #2360 from sngl/ide-1.5.x-TFT-PImage-close
Added close method to PImage
2014-10-13 15:15:52 +02:00
sngl
622d837e38 Added close method to PImage 2014-10-13 15:09:16 +02:00
Cristian Maglie
2a912bab62 Merge branch 'master' into ide-1.5.x
Conflicts:
	app/src/processing/app/Base.java
2014-10-10 00:14:22 +02:00
Cristian Maglie
ed5ad426dd Upped version to 1.0.7. Update revision log. 2014-10-10 00:08:41 +02:00
Cristian Maglie
afc368b01f GSM: Backported library from IDE 1.5.x
Fixes #2343
2014-10-10 00:02:18 +02:00
Cristian Maglie
35d616f050 Updated 'master' translations 2014-10-09 10:13:00 +02:00
Cristian Maglie
bf6663bc9f Merge pull request #2348 from arduino/ide-1.5.x-build-xml-refactor
ant build.xml refactor
2014-10-09 09:31:33 +02:00
Federico Fissore
b6a4c8172f Processing references removed in favour of Arduino 2014-10-08 18:36:25 +02:00
Federico Fissore
f60745485f build.xml: tar autodetects archive type, removing "z" flag 2014-10-08 17:25:53 +02:00
Federico Fissore
f462191dba build.xml: moved checksum into untar-unzip-checksum 2014-10-08 17:16:50 +02:00
Federico Fissore
00ecd5585d build.xml: removed unzip-avr-toolchain and unzip-libastyle in favour of unzip 2014-10-08 17:10:47 +02:00
Federico Fissore
30d4c89ed3 build.xml: made untar-tool (and dependencies) easier to reuse 2014-10-08 15:50:32 +02:00
Federico Fissore
24be3773ea build.xml: renamed unzip-tool to untar-tool 2014-10-08 14:22:34 +02:00
Federico Fissore
4b7eaf2ee7 build.xml: removed unzip-arm-toolchain 2014-10-08 14:10:54 +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
Federico Fissore
82b6e6e325 macosx: removing java.additional.jvmargs property used for proper tests execution 2014-10-07 13:46:51 +02:00
Federico Fissore
256e457dee libastyle: updated zip 2014-10-07 13:28:57 +02:00
Federico Fissore
d757b67b9c libastylej.zip now downloaded once for all archs and verified agains SHA checksum 2014-10-07 13:02:18 +02:00
Federico Fissore
70e4c35690 Upgrading to astyle 2.04: see changes at http://astyle.sourceforge.net/notes.html 2014-10-07 11:46:52 +02:00
JChristensen
c01172cd1b Changed EthernetClient to use IANA recommended ephemeral port range, 49152-65535. 2014-10-05 22:41:39 -04:00
Federico Fissore
d002c3ee04 Fixed typos in MailboxReadMessage example 2014-10-02 15:32:18 +02:00
Cristian Maglie
3a1b7ea362 Merge branch 'master' into ide-1.5.x. Updated revision log.
Conflicts:
	build/shared/examples/09.USB/Keyboard/KeyboardLogout/KeyboardLogout.ino
	hardware/arduino/boards.txt
2014-10-01 13:59:32 +02:00
Cristian Maglie
3687289727 Merge pull request #2330 from spiritinlife/ide-1.5.x
Add #include "Print.h" in Server.h    Ide 1.5.x
2014-10-01 13:29:29 +02: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
Cristian Maglie
21939e6f89 [sam] Fixed compile error when using math functions
Fixes #2338
2014-09-30 17:34:25 +02:00
Federico Fissore
1b783fa48c Formatter: cursor position is saved when invoking autoformat. Fixes #2293 2014-09-30 17:17:13 +02:00
George Chailazopoulos
2c289ace73 Add #include "Print.h" in Server.h 2014-09-26 22:59:02 +03:00
George Chailazopoulos
f5fe16bf2a Add #include "Print.h" in Server.h 2014-09-26 22:58:19 +03: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
170816181a Merge pull request #2319 from cmaglie/ide-1.5.x-sam-portModeRegister
(Arduino Due/SAM) Removed macro digitalPinToTimer and added comment for portModeRegister
2014-09-26 13:24:41 +02:00
Fede85
f85a72847a Ethernet: UdpNtpClient.ino now uses DNS to connect to the NTP server 2014-09-25 14:50:42 +02:00
Fede85
9a64c1bb1c removed Xively and Cosm examples 2014-09-25 14:50:42 +02: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
Cristian Maglie
974613a0a2 [sam] Fixed architecture specific macro digitalPinToTimer, added comment to uninplemented portModeRegister
Fix #1833
2014-09-22 00:38:02 +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
0d86acc274 Update revision log 2014-09-20 19:47:29 +02:00
Arnav Gupta
15064ad96a set correct max size for mega2560
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2014-09-20 03:09:54 +05:30
Cristian Maglie
7531a3571d update revision log 2014-09-16 12:53:46 +02:00