Matthijs Kooijman
b1de3e6621
Toggle SoftwareSerial interrupts when starting / stopping to listen
...
This prevents interrupts from triggering when the SoftwareSerial
instance is not even listening.
Additionally, this removes the need to disable interrupts in
SoftwareSerial::listen, since no interrupts are active while it touches
the variables.
2015-01-26 17:03:25 +01:00
Matthijs Kooijman
934393398b
Add SoftwareSerial::stopListening()
...
This allows one to explicitly stop a SoftwareSerial instance from
listening, without having to make another one listening.
2015-01-26 17:03:25 +01:00
Matthijs Kooijman
db1a4ad139
Add SoftwareSerial::setRxIntMsk()
...
This moves the interrupt mask enabling / disabling code into a separate
method, so we can call it from multiple spots next.
2015-01-26 17:03:25 +01:00
Matthijs Kooijman
1704e7e820
Let SoftwareSerial::end also check against _rx_delay_stopbit
...
The current check is still always false when the old check was, but
additionally it will not disable the interrupts when they were never
enabled (which shouldn't matter much, but this is more consistent).
2015-01-26 17:03:24 +01:00
Matthijs Kooijman
b1c7a3d05f
Let SoftwareSerial::listen() fail on invalid rx baud rates
...
In this case, SoftwareSerial::begin will not have enabled the
interrupts, so better not allow the SoftwareSerial instance to enter the
listening state either.
2015-01-26 17:03:24 +01:00
Matthijs Kooijman
937cc51c69
Clear SoftwareSerial rx delay if no interrupt register is found
...
Before enabling interupts, begin would see if the given receive pin
actually has an associated PCINT register. If not, the interrupts would
not be enabled.
Now, the same check is done, but when no register is available, the rx
parameters are not loaded at all (which in turn prevents the interrupt
from being enabled). This allows all code to use the same "is rx
enabled" (which will be added next).
2015-01-26 17:03:24 +01:00
Cristian Maglie
136c04ad28
Merge branch 'ide-1.5.x' of github.com:arduino/Arduino into ide-1.5.x
2015-01-20 15:50:25 +01:00
Cristian Maglie
14fe427050
Updated revision log
2015-01-20 15:50:13 +01:00
Federico Fissore
7a4de50ff8
Merge pull request #2552 from agdl/ide-1.5.x_library_adoc
...
Added README.adoc for the library manager project
2015-01-20 09:18:22 +01:00
Cristian Maglie
00dfd93726
Added dependencies for AStylej.dll
2015-01-19 23:08:08 +04:30
Cristian Maglie
f4a6b623b3
Updated translations
2015-01-19 14:57:31 +01:00
Cristian Maglie
d2269ca89e
Update revision log
2015-01-19 13:50:57 +01:00
Cristian Maglie
0e013406bc
Merge branch 'sam-usart-mode-fix' into ide-1.5.x
2015-01-19 13:43:42 +01:00
Cristian Maglie
07d1abfe43
Merge pull request #2556 from cmaglie/ide-1.5.x-pulsein-regression
...
Temporary fix for pulseIn() regression
2015-01-19 13:40:09 +01:00
Cristian Maglie
8ddc5198f6
Temporary fix for pulseIn() regression.
...
Fixes #2538
2015-01-18 17:34:40 +01:00
Arturo Guadalupi
ce412a0461
Added README.adoc for the library manager project
2015-01-16 17:14:02 +01:00
Cristian Maglie
6d7751cf5f
Fixed some libraries metadata.
2015-01-16 12:22:24 +01:00
Cristian Maglie
5ff4c9f8dc
Temporary disabled DefaultTargetTest under certain conditions
2015-01-14 18:42:19 +01:00
Cristian Maglie
3a062f0582
Updated translation from transifex
2015-01-14 18:27:27 +01:00
Cristian Maglie
ff95d03663
Updated some translation strings
2015-01-14 18:05:00 +01:00
Cristian Maglie
81808d532e
Merge branch 'ide-1.5.x-fail-when-no-platform-txt' of https://github.com/ffissore/Arduino into ide-1.5.x
2015-01-14 17:19:11 +01:00
Cristian Maglie
60309fe8b8
Fixed test
2015-01-14 17:18:43 +01:00
Cristian Maglie
00f23d3aad
sam: Fixed initialization of UART/USART mode register
2015-01-14 00:08:59 +01:00
Cristian Maglie
244a750bef
Merge branch 'wayoda-fix-find-dialog-layout' into ide-1.5.x
2015-01-13 23:30:22 +01:00
Cristian Maglie
fdbb45ec47
update revision log
2015-01-13 23:28:19 +01:00
Cristian Maglie
17115b0a9b
Fixed NPE when import menu are empty
2015-01-13 23:16:53 +01:00
Cristian Maglie
56b9f1cd6f
Fixed NPE when currently selected platform is no more installed.
...
BaseNoGui.getTargetBoard() now handles null TargetBoard.
Removed unused method Base.getTargetBoard()
2015-01-13 23:16:53 +01:00
Cristian Maglie
ec67b0d4be
Optimized FileUtils.recursiveDelete(File) function
2015-01-13 23:16:53 +01:00
Cristian Maglie
29d2ab72e2
Fixed a bunch of simple warnings in java code
2015-01-13 23:16:50 +01:00
Cristian Maglie
99715d22d9
Removed unused classes Commander.java and Webserver.java
2015-01-13 23:05:36 +01:00
Chris
7e9cf6d612
sam: updated UART/USART modes
2015-01-09 20:25:09 +00:00
Cristian Maglie
5e33ca4cd4
Merge pull request #2546 from zorzano/ide-1.5.x.GSM.1
...
Minor modifications aligning internal and Arduino versions
2015-01-09 14:06:10 +01:00
Javier Zorzano
2b14a9349c
Align types: int to unsigned int
...
Block send SMS until finished operation.
GSM3IO.h. Keeps most of board-dependant pins
Flush buffer after GPRS detach
Delete some references to HardwareSerial.h
Include OFF modem status
2015-01-08 18:36:41 +01:00
Cristian Maglie
e4c8f98941
Merge branch 'ide-1.5.x-linux-lzma' of git://github.com/ffissore/Arduino into ide-1.5.x
2015-01-08 15:32:51 +01:00
Cristian Maglie
92118494ed
Slighlty better layout for Search and Replace dialog.
...
See https://github.com/arduino/Arduino/pull/2540#issuecomment-69167281
2015-01-08 14:41:54 +01:00
Federico Fissore
b16ee6c7b2
Editor: removed duplicated classes DefaultRunHandler, and DefaultPresentHandler in favour of generic BuildHandler
2015-01-08 14:03:38 +01:00
Federico Fissore
fd4a5a82b3
Compiler: removed duplicated functions getCommandCompilerS, getCommandCompilerC, and getCommandCompilerCPP in favour of generic getCommandCompilerByRecipe
2015-01-08 13:58:03 +01:00
Federico Fissore
f5520fc7e1
Compiler: removed duplicated functions compileEep and compileHex in favour of generic runRecipe
2015-01-08 13:58:03 +01:00
Federico Fissore
980709f6f7
Compiler: missing mandatory key now blocks compilation
2015-01-08 13:57:59 +01:00
Cristian Maglie
18fc1c9f45
Find/Replace dialog, added 10px of padding to match other dialogs
2015-01-07 16:02:12 +01:00
Cristian Maglie
78e098e3d7
Indent pass, no code change
2015-01-07 16:01:37 +01:00
wayoda
858bd455d7
Fix layout for Find-Replace dialog
2015-01-07 15:14:44 +01:00
Cristian Maglie
20ac20f629
Arduino custom type boolean is now mapped to bool type
...
Fixes #2151
Fixes #2147
2015-01-07 14:56:19 +01:00
Cristian Maglie
863cb417a6
Merge pull request #2485 from ffissore/ide-1.5.x-reenable-38400
...
Re enable 38400 baud rates
2015-01-06 17:39:44 +01:00
Cristian Maglie
5e97168fbc
sam: USART modes now fails if used on UART
2015-01-06 15:47:44 +01:00
Cristian Maglie
0dbd35a70e
Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x
2015-01-06 15:24:17 +01:00
Cristian Maglie
91e6926cfc
Merge commit 'collin80-uart-fix' into ide-1.5.x
2015-01-06 15:21:57 +01:00
Cristian Maglie
37ea166e19
sam: refined UART/USART class inheritance
...
Let Usart inherit all methods from Uart.
2015-01-05 15:35:32 +01:00
Cristian Maglie
16d836108f
sam: fix code format and indent in UART/USART class
2015-01-05 15:34:09 +01:00
Federico Fissore
1c5ea40427
Linux: using lzma as compression algorithm, halves dist file size
2015-01-05 10:11:18 +01:00