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

366 Commits

Author SHA1 Message Date
Me No Dev
2b75aec6a6 Enable OTA Update mechanism for any mDNS enabled platform
Adds ability to update the firmware of non-SSH boards using TXT
parameters from mDNS
Three new TXT keys are added (defaults are capital):
  ssh_upload=YES/no
  tcp_check=YES/no
  auth_upload=yes/NO

"ssh_upload" controls which Uploader should be used. Defaults to
SSHUploader
"tcp_check" controls wether TCP reachability test should be performed.
Defaults to "yes". Boards that have few TCP ports available, can use
"no" to skip the check and update over UDP (ESP8266 for example).
"auth_upload" controls wether authentication is required (only for
"ssh_upload=no").

One new pattern and two new variables are available.
Var "network.port" resolves to the advertised by mDNS device port.
Var "network.password" resolves to the entered device password if
upload authentication is used, else it's empty string.
Pattern "upload.network_pattern" is usable if the platform is using
different tool/command to do network updates. If not defined,
"upload.pattern" will be used instead.
2015-11-07 20:05:42 +02:00
Federico Fissore
eb732def4f Updating version in BaseNoGui 2015-11-04 15:24:54 +01:00
Federico Fissore
20dad1eed6 Updating translations 2015-11-02 13:09:55 +01:00
Federico Fissore
5ceca65fe2 '.ino' extension of sketch file was hardcoded. But IDE supports '.pde' files as well. Fixes #4021 2015-11-02 12:56:04 +01:00
Federico Fissore
67e32ff8fa FileUtils.copy now filters out source control folders. Also, dir is checked for existence before creating it. Fixes #4034 2015-11-02 12:29:12 +01:00
Federico Fissore
df2ae88469 Updating arduino-builder to 1.0.3 2015-10-30 09:11:01 +01:00
Federico Fissore
f5c1084f5f Fixed wrong i18n function name 2015-10-29 14:09:51 +01:00
Cristian Maglie
ec7cc8c5cf Added check when setting serial port parameters
This allows to detect for invalid baud rate settings in
particular on Linux where the kernel do not allow non-standard
baud rates on some devices.

See #3389
See #3351
2015-10-29 13:58:29 +01:00
Federico Fissore
a51723fe79 Updated and add libs 2015-10-28 16:43:33 +01:00
Federico Fissore
6a5ec40ca3 Updated translations 2015-10-27 17:18:52 +01:00
Federico Fissore
aaf86b4a50 arduino-builder: sketchbook libraries specified as last param, because they
are more important
2015-10-27 15:55:01 +01:00
Federico Fissore
d8d70ee0bd Windows: ":" is an illegal char for a file name. Fixes #4026 2015-10-26 18:14:05 +01:00
Federico Fissore
0102a58122 "static" makes sense for constants and few other things. Avoid it if you don't have a specific reason for using it. 2015-10-26 15:49:31 +01:00
Jesse Vincent
5b64cebdc5 Simplify and clarify new HID error messages.
The libraries in question are supported on a number of official Arduino boards. The new error message tries to be a bit more helpful.
2015-10-22 15:27:12 -07:00
Cristian Maglie
2ae36940c6 Fixed parsing for SystemProfiler on Macosx El Capitan
Should alleviate #3928
2015-10-20 23:36:56 +02:00
Cristian Maglie
28ad89d694 Make SystemProfilerParser.extractVIDAndPID() static
There is no need to instantiate a SystemProfilerParser object
each time extractVIDAndPID is invoked.

Added also `synchronized` keword to avoid reentrance problems
if the method is being used in multiple threads.
2015-10-20 23:34:27 +02:00
Cristian Maglie
9f5efe210a Removed a bunch of unused variables 2015-10-20 18:38:34 +02:00
Cristian Maglie
38701678b2 Specialized some Iterators with correct inferred type 2015-10-20 18:31:58 +02:00
Cristian Maglie
635de01975 Suppress java 'serial' warning in SignatureVerificationFailedException class 2015-10-20 18:30:27 +02:00
per1234
c1ce649554 Fix typos in ArchiveExtractor.java error messages 2015-10-12 14:34:52 -07:00
Federico Fissore
688c406cb9 Checking every candidate path when exporting, instead of assuming one is good if the other is not. Fixes #3905 2015-10-07 15:40:34 +02:00
Federico Fissore
5c7b8e6587 Don't stop downloading package*index.json files if ONE fails for whatever reason. Fixes #3906 2015-10-07 15:32:34 +02:00
Federico Fissore
417857ee45 Fixed a crashed when user attempted to delete a tab of a not yet compiled sketch. Fixes #3913 2015-10-07 15:17:33 +02:00
Federico Fissore
aa654ba242 Updating arduino-builder to 1.0.0-beta24 2015-10-06 10:52:02 +02:00
Federico Fissore
69f3f9f807 Updated translations 2015-09-30 09:42:01 +02:00
Richard Wackerbarth
d8f30549bc Extend platforms with Boards.local.txt 2015-09-29 07:36:36 -05:00
Federico Fissore
f511c2451f Fallback to stock library_index.json file if the copy in .arduino15 is missing/corrupted or if it the downloaded one if corrupted. Fixes #3778 2015-09-25 12:54:50 +02:00
Federico Fissore
3872f5d315 Whoops, local packages were loaded at all. Fixed 2015-09-25 12:28:57 +02:00
Federico Fissore
b82aebd99a If a package is already defined, don't replace it with the one found (for example) in sketchbook/hardware, but merge their contents. Fixes #3851 2015-09-25 12:05:19 +02:00
Federico Fissore
71c81e30a7 Allow highlighting line with error even if gcc reports full path to file 2015-09-24 16:24:48 +02:00
Federico Fissore
fc8f84f06b Adding .elf extension to compiled sketch list 2015-09-24 15:37:49 +02:00
Federico Fissore
2f586e2a88 Updated translations 2015-09-23 15:38:57 +02:00
Federico Fissore
9421e1ceb5 Updating arduino-builder to 1.0.0-beta12 2015-09-23 14:11:32 +02:00
Federico Fissore
ccb7dd2974 Made an arduino-builder message easier to understand 2015-09-22 15:03:19 +02:00
Federico Fissore
6128dace42 Removed some old code, including PdePreprocessor and OldCompiler 2015-09-21 15:20:31 +02:00
Federico Fissore
4f2621bd31 Updated translations. Some new languages graduated 2015-09-21 11:07:36 +02:00
Federico Fissore
8767cd51b4 Returning a copy of installed libraries list, so clients can deal with it without incurring in concurrent list changes. See #3814 2015-09-18 17:03:59 +02:00
Federico Fissore
5b84aef301 Build path is now a function of sketch path. This allows to recycle previously
compiled files even when working with different sketches at the same time. In
such cases, recompiling is way faster
2015-09-18 10:47:23 +02:00
Federico Fissore
682a5ec331 Faster recompilation of unsaved sketches 2015-09-16 14:51:37 +02:00
Federico Fissore
f906d45de0 Better to separate arguments only when specifying paths, otherwise we can't specify empty args like "-warnings=" 2015-09-16 11:30:48 +02:00
Federico Fissore
6847c52428 arduino-builder arguments must be passed in separate cmd.addArgument calls, otherwise special chars will break it. Fixes #3798 2015-09-16 10:45:52 +02:00
Federico Fissore
e5ddd0be3b New compiler 2015-09-14 15:21:15 +02:00
Federico Fissore
dedbb2cc6e Update translations 2015-09-14 09:13:08 +02:00
Federico Fissore
57bff44d0a Boards Manager: if a tool is not resolvable, print a warning and DON'T add a null ref 2015-09-11 14:02:32 +02:00
Federico Fissore
43d855c28b Proxy selection was using old logic when url resulted in 302 2015-09-09 11:21:22 +02:00
Federico Fissore
a4a7e3ec96 Libraries in unknown categories get set as Uncategorized. Fixes #3732 2015-09-08 15:30:34 +02:00
Sandeep Mistry
7fa355a702 Call on onBoardOrPortChange after selectBoard in no GUI mode
Like GUI mode does when a board is changed.
2015-09-01 18:08:12 -04:00
Federico Fissore
d6ea1c05a6 Cleanup 2015-08-31 08:45:58 +02:00
Federico Fissore
f2427b47f0 LoadVIDPIDSpecificPreferences was giving for granted that the attached board provided VID & PID. This is not always true, especially with counterfeits. Fixes #3738 2015-08-28 09:01:47 +02:00
Federico Fissore
f605d1d99b Added support to VID+PID specific build properties 2015-08-27 10:40:02 +02:00