Commit Graph

5931 Commits

Author SHA1 Message Date
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 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 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
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
Paolo Paolucci 26e25a4d58 Fix Wire register
Move TWBR register from Wire.cpp to twi.c file.
2016-03-09 15:47:55 -05:00
Martino Facchin 9a8dd2a4a2 starting version 1.6.9 2016-03-09 17:14:24 +01:00
Martino Facchin 03b08c36e2 update arduino-builder to 1.3.14 2016-03-09 16:01:15 +01:00
Cristian Maglie 1f6462d59b Updated translations 2016-03-09 10:08:18 +01:00
Cristian Maglie dd73973d8d Fixed revision-check regexp in build.xml 2016-03-08 18:14:16 +01:00
Cristian Maglie d17151c11f Factored out index urls in build script 2016-03-08 17:53:46 +01:00
Martino Facchin dacfb566d4 update bundled libraries sha 2016-03-08 17:43:43 +01:00
Martino Facchin 911250fd9c update bundled libraries 2016-03-08 17:13:57 +01:00
Martino Facchin 40b5fbf66f Stepper: update version to 1.1.3 2016-03-08 15:37:18 +01:00
Martino Facchin 4d11767a23 LiquidCrystal: update version to 1.0.5 2016-03-08 15:36:36 +01:00
Martino Facchin b9de3986bb GSM: update version to 1.0.6 2016-03-08 15:35:57 +01:00
Martino Facchin 78aa51f22c WiFi: update version to 1.2.7 2016-03-08 15:25:20 +01:00
Martino Facchin a659c55e1d TFT: update version to 1.0.6 2016-03-08 15:24:37 +01:00
Martino Facchin 363fa3b913 Servo: update version to 1.1.2 2016-03-08 15:23:06 +01:00
Martino Facchin 9f46fd65ea SD: update version to 1.0.8 2016-03-08 15:21:40 +01:00
Martino Facchin 5adda82357 Ethernet: update to 1.1.2 2016-03-08 15:20:33 +01:00
Martino Facchin 9d2d4efb24 Merge branch 'master' of github.com:arduino/Arduino 2016-03-08 11:49:39 +01:00
Martino Facchin 5f9168d3a2 update sam core to version 1.6.7 2016-03-08 11:45:52 +01:00
Cristian Maglie 1f3c8b9f6c Set correct user-agent when performing HTTP requests 2016-03-08 11:31:59 +01:00
Martino Facchin 60ba8661d8 update arduino-builder to 1.3.13 2016-03-08 11:13:50 +01:00
Cristian Maglie 31187cbcc1 Updated base translations 2016-03-07 19:46:30 +01:00
Cristian Maglie 452d05825b Import new translations 2016-03-07 19:34:49 +01:00
Cristian Maglie 8d995d73f3 Show board name on generic "Error compiling" message
Close #4658
2016-03-07 19:26:32 +01:00
Sandeep Mistry 3704f30e90 update revision log 2016-03-07 13:17:54 -05:00
Sandeep Mistry 8f58a22e62 update revision log 2016-03-07 13:15:57 -05:00