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

5974 Commits

Author SHA1 Message Date
Cristian Maglie
e2156756c3 Added ARM build of libastyle
See #3549 #4457
2016-04-08 18:45:39 +02:00
Cristian Maglie
60b169fbe9 Merge branch 'ctrlDeleteBehavior' of https://github.com/avargas-nearsoft/Arduino 2016-04-07 11:32:46 +02:00
Cristian Maglie
aa68acd6c4 Update changelog 2016-04-06 18:48:37 +02:00
Martino Facchin
668f38b228 update revision log 2016-04-06 18:30:05 +02:00
Martino Facchin
f6880fe617 Merge pull request #4792 from facchinm/solve_serial_windows
Rework serial ports handling
2016-04-06 18:03:45 +02:00
Martino Facchin
bf11c7f395 avoid queuing a lot of threads while waiting for platform 2016-04-06 17:52:24 +02:00
Martino Facchin
72c337d88d avoid losing the sketch serial port on 1200bps touch 2016-04-06 17:51:48 +02:00
Martino Facchin
a6a623658d update libListSerials to 1.1.0 2016-04-06 17:51:48 +02:00
Martino Facchin
4c901d3f9f [AVR] Discover newer bootloader at runtime
Replaces #4280, only checks for the bootloader once

Tested with Hoodloader2, should work with every LUFA-derived bootloader released after 2014 (.apitable_signatures section must be placed at end of the flash)

BootloaderAPITable.S :

.global BootloaderAPI_Signatures
BootloaderAPI_Signatures:

    .long BOOT_START_ADDR ; Start address of the bootloader
    .word 0xDF00 ; Signature for the CDC class bootloader
    .word 0xDCFB ; Signature for a LUFA class bootloader

makefile:

BOOT_API_LD_FLAGS    += $(call BOOT_SECTION_LD_FLAG, .apitable_signatures,  BootloaderAPI_Signatures,  8)
2016-04-06 17:41:06 +02:00
Arturo Vargas
a70bab3ea0 Add suport for OSX (ALT+DELETE) 2016-04-06 08:25:39 -07:00
Cristian Maglie
f74afc4ad9 Remove incorrect Ctrl+K / Ctrl+W bindings
for a better explanation see @nopdotcom comment here:
https://github.com/arduino/Arduino/pull/4743#issuecomment-201447876
2016-04-06 12:18:45 +02:00
Jay Carlson
02914d79b9 Add more of OS X's native Emacs keybindings
OS X supports many simple Emacs keybindings in native text fields. (It
can do this because the system UI uses Cmd instead of Ctrl as its main
modifier key.) Add bindings to functions which already exist in
DefaultEditorKit.

I have a Ctrl-k (cut to end of line) implementation, but it is an
additional static RecordableTextAction class. I have not included it.
2016-04-06 12:17:58 +02:00
Cristian Maglie
050e8ba304 Merge branch 'cut/copyEnabled' of https://github.com/avargas-nearsoft/Arduino 2016-04-06 12:09:04 +02:00
Bradley Luke Totaro
1e461ce5fb Update SoftwareSerial.cpp 2016-04-05 15:10:46 -04:00
Sandeep Mistry
c2c3f4623c Correct NUM_DIGITAL_PINS to include analog pins 2016-04-05 12:11:06 -04:00
Cristian Maglie
e9ac544f23 Merge branch 'sam-analogInputToDigitalPin' of https://github.com/sandeepmistry/Arduino 2016-04-05 17:19:15 +02:00
Sandeep Mistry
9795f2d23a Sync avr/pgmspace.h entries with SAMD core
Some entries were missing.
2016-04-05 09:33:06 -04:00
Arturo Vargas
3efcc9ec48 Change the CTRL+DELETE behavior to restore the next word 2016-04-04 14:42:40 -07:00
Sandeep Mistry
aabdb852b5 Port analogInputToDigitalPin macro to SAM core 2016-04-04 14:29:07 -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
Cristian Maglie
9a6bb8420d Added string to translations resources 2016-03-17 13:09:27 +01:00