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

6061 Commits

Author SHA1 Message Date
Sandeep Mistry
aabdb852b5 Port analogInputToDigitalPin macro to SAM core 2016-04-04 14:29:07 -04:00
Sandeep Mistry
40d46d57a2 recipe.ar.pattern backwards compatibility
Port of https://github.com/arduino/Arduino/pull/4737
2016-04-04 14:12:56 -04:00
Sandeep Mistry
e8cb0aeea3 Replace force linking "{build.path}/core/syscalls_sam3.c.o" with -u flags 2016-04-04 14:10:23 -04:00
Sandeep Mistry
509721213b Add comment for archive_file_path 2016-04-04 13:27:47 -04:00
Sandeep Mistry
6241459627 Merge pull request #4737 from per1234/recipe_ar_pattern-backwards-compatibility
AVR recipe.ar.pattern backwards compatibility
2016-04-04 13:26:05 -04:00
Cristian Maglie
b0f33e78f8 update revision log 2016-04-04 16:58:58 +02:00
Ivan Esparza
9c583829de Fixes issue 4440 2016-04-04 16:53:46 +02:00
Sandeep Mistry
ed9240d5e7 Merge pull request #4716 from asukiaaa/master
Corrected comments of rx and tx in a SoftwareSerial example.
2016-04-04 10:00:47 -04:00
Cristian Maglie
0c453355f4 Merge branch 'fix-annoying-popup' 2016-04-04 13:34:14 +02:00
Cristian Maglie
8d7ee63c70 Autoclose notification popup after 10 seconds. 2016-04-04 13:30:42 +02:00
Martino Facchin
84fdb0c0c3 Remove stray debug print 2016-04-01 17:05:54 +02:00
Martino Facchin
42ff604f1e Fix NPE when replacing unexisting strings 2016-04-01 12:52:19 +02:00
Martino Facchin
34b0813530 try to avoid NPE if two threads modify library list 2016-04-01 12:39:01 +02:00
Martino Facchin
c5d88f09ae add a flag to pause polling for serial port 2016-04-01 11:38:54 +02:00
Martino Facchin
ea405ea534 avoid NPE for synchronization issues on board list 2016-04-01 11:38:54 +02:00
Martino Facchin
ad74288e5a Fix randomic NPE when pressing menus during operations 2016-04-01 11:38:54 +02:00
Martino Facchin
52ef55380d avoid NPE if serial monitor is waiting too long for opening 2016-04-01 11:38:53 +02:00
Martino Facchin
821c665460 Change message if requiring infos from Network port 2016-04-01 11:38:53 +02:00
Martino Facchin
e23bbf76c1 avoid NPE in CLI mode (boardInfo not yet initialized) 2016-04-01 11:38:53 +02:00
Martino Facchin
243fc68763 Rework Serial ports handling and add Board info menu
This commit introduces the concept of stateful board list (vs. original stateless) and board serial number.

The board is now an "entity" composed by the triplet port/vid/pid. These informations come from libListSerial "light" function. When the board list changes, it triggers a request for the additional infos to libListSerial. These information contains the serial number of the boards.

These brings a lighter and faster scanning process. Some logic has been introduced to handle a board with the S/N only exposed in the bootloader (like 32u4).
In this case the disappearing port acquires the bootloader's S/N

A menu (under Ports menu) shows the currently connected port info and can be used for bugreporting
2016-04-01 11:38:53 +02:00
Martino Facchin
c11ceb7dae Fix NPE when replacing unexisting strings 2016-04-01 11:38:53 +02:00
Martino Facchin
6d5597b070 Avoid multiple concurrent compile/upload operations
Disable Compile/Run buttons as they get press, and reenable only on function exit.
The launched upload process has now a 2minutes timeout before being terminated forcefully.
10 second after pressing "Upload" the button comes pressable again, but this time the previous upload command gets killed explicitely
2016-04-01 11:38:52 +02:00
Martino Facchin
629509f302 Merge pull request #4515 from sandeepmistry/wait-for-upload-port-timeout-bump
Increase wait for upload port timeout to 5s on all platforms
2016-04-01 11:15:57 +02:00
Martino Facchin
b99ab40ba2 Enable links to directly open Lib/Board manager
If a sketch contains a link to http://librarymanager/${dropdown}#${filter} or http://boardmanager/${dropdown}#${filter} (for example http://librarymanager/All#OneWire) Library or Board manager will be opened applying the secified filters
2016-04-01 10:55:35 +02:00
Martino Facchin
a329731525 use hi-res icons for serial monitor and plotter
fixes #4701
2016-04-01 10:55:04 +02:00
Arturo Vargas
baa8a6e8a3 Disable cut and copy if there is not selected text 2016-03-31 15:11:20 -07:00
Cristian Maglie
1a7eaaf8b2 Fix always-on-top notification popup 2016-03-31 18:49:44 +02:00
Arturo Guadalupi
a7ca976623 Merge pull request #4669 from sandeepmistry/software-serial-peek-cast
Add missing cast to SoftwareSerial::peek() when returning buffered value
2016-03-31 15:03:55 +02:00
Martino Facchin
219e540573 update arduino-builder to 1.3.15 2016-03-25 14:28:56 +01:00
Cristian Maglie
68ab3ea6a6 Merge branch 'master' of github.com:arduino/Arduino 2016-03-24 18:32:23 +01:00
Ivan Esparza
bbf909fd4f Changed color of version text in About box 2016-03-22 12:28:33 -07:00
per1234
efbc3640cc AVR recipe.ar.pattern backwards compatibility
Define archive_file_path in Arduino AVR Boards platform.txt to provide
backwards compatibility with IDE versions previous to 1.6.6. The
archive_file_path value set in platform.txt is overridden in IDE 1.6.6+.
This produces avr-ar commands identical to the previous behavior.
2016-03-22 03:31:10 -07:00
asukiaaa
c2499b8377 Corrected comments of rx and tx for SoftwareSerial example. 2016-03-19 16:21:07 +09:00
mattb5906
5bfd17f231 Add getTimeout accessor method. 2016-03-18 22:26:37 +00:00
Cristian Maglie
9a6bb8420d Added string to translations resources 2016-03-17 13:09:27 +01:00
Cristian Maglie
5fdb149d62 Update revision log 2016-03-17 12:59:40 +01:00
Cristian Maglie
65309f5c5a Merge branch 'contributed-index-parsing-exception' of git://github.com/sandeepmistry/Arduino 2016-03-17 12:55:36 +01:00
per1234
bd39621f46 Clean up comments in platform.txt
- Remove comment in Arduino AVR Boards platform.txt about -w flag. This
is no longer relevant since the compiler warning level is now set by the
user.
- Fix typos
2016-03-15 15:42:16 -07:00
Sandeep Mistry
8385aedc64 Update revision log 2016-03-15 09:34:03 -04:00
Sandeep Mistry
6aeb80b9de Merge pull request #4693 from philmanofsky/master
allow 3rd party boards that depend on sam core to use their own USB vid/pid and manufacturer/product strings
2016-03-15 09:28:12 -04:00
Phil Manofsky
1983f7a869 Update boards.txt
added "build.usb_manufacturer" entry that overrides default macro in USBCore.cpp source file. this isn't really necessary since the source macro is the same as in "boards.txt", but it gives 3rd party board vendors direction in how to have their SAM3X board use their own manufacturer string during USB enumeration.
2016-03-14 23:25:13 -04:00
Phil Manofsky
18250aec57 allows use of "myboard.build.pid" in boards.txt
3rd party boards that use sam core can have their own USB product ID that is defined in "boards.txt"
2016-03-14 23:20:46 -04:00
Phil Manofsky
4be3e49172 3rd party can use own Product/manufacturer string
now "myboard.build.usb_product" and "myboard.build.usb_manufacturer" from a 3rd party board in "boards.txt" are used in source code. if they aren't defined in "boards.txt", default values are used.
2016-03-14 23:16:36 -04:00
Phil Manofsky
f5282f2ce6 allows use of "myboard.build.vid" in boards.txt
allows people to create board that depends on sam core to use their own Vendor ID instead of Arduino's
2016-03-14 23:09:26 -04:00
Sandeep Mistry
9dba7f0da0 Catch and report errors parsing contributed index files 2016-03-14 17:28:30 -04:00
Arturo Guadalupi
afaea11368 Merge pull request #4690 from PaoloP74/patch-1
Fix typo in ReadASCIIString.ino
2016-03-14 13:56:52 +01:00
Paolo P
eab75d9f65 Update ReadASCIIString.ino
Fix typo.
2016-03-14 12:50:39 +01:00
agdl
05dccd2a0e Fixed description according to #4260 2016-03-14 09:10:14 +01:00
Sandeep Mistry
98699dfa7c Make SoftwareSerial receive buffer a uint8_t array 2016-03-10 10:23:50 -05:00
Sandeep Mistry
dfc3a64744 Add missing cast to SoftwareSerial::peek() when returning buffered value 2016-03-10 10:23:50 -05:00