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

3623 Commits

Author SHA1 Message Date
Cristian Maglie
710e4fb7b8 Merge commit '1ad74' into ide-1.5.x 2014-04-01 17:19:54 +02:00
Cristian Maglie
1ad74ce09b Use correct type for index calculation in HardwareSerial 2014-04-01 17:18:02 +02:00
jantje
77187ad4e4 I forgot a file 2014-04-01 16:14:16 +02:00
Federico Fissore
88ed5d53a6 Spacebrew update 2014-04-01 09:35:56 +02:00
Cristian Maglie
2f7e712fb9 Merge pull request #1968 from matthijskooijman/ide-1.5.x-hwserial-typo
Fix typo in SerialEvent3 handling
2014-03-27 19:47:59 +01:00
Matthijs Kooijman
c734246c46 Fix typo in SerialEvent3 handling
In commit 0e97bcb (Put each HardwareSerial instance in its own .cpp
file), the serial event handling was changed. This was probably a
copy-paste typo.

The effect of this bug was that SerialEvent3 would not run, unless
SerialEvent2 was defined, but also that if SerialEvent2 is defined but
SerialEvent3 is not, this could cause a reset (call to NULL pointer).

This closes #1967, thanks to Peter Olson for finding the bug and fix.
2014-03-27 19:20:54 +01:00
Cristian Maglie
ff85589b62 Merge remote-tracking branch 'arduino/master' into ide-1.5.x 2014-03-25 22:45:20 +01:00
Cristian Maglie
8be693e7ac Merge branch 'master' into ide-1.5.x
Conflicts:
	app/src/processing/app/Sketch.java
	app/src/processing/app/debug/Compiler.java
2014-03-25 22:44:30 +01:00
Cristian Maglie
962d6d1e3a Merge pull request #1958 from Ramoonus/patch-1
Update README.md
2014-03-25 18:01:37 +01:00
jantje
a51e1c4025 Added support for different size of TX and RX buffer sizes.
Added support for buffer sizes bigger than 256 bytes.
Added possibility to overrule the default size.

Added support for different size of TX and RX buffer sizes.
The default values remain the same. You can however specify a different
value for TX and RX buffer

Added possibility to overrule the default size.
If you want to have different values
define SERIAL_TX_BUFFER_SIZE and SERIAL_RX_BUFFER_SIZE on the command
line


Added support for buffer sizes bigger than 256 bytes.
Because of the possibility to change the size of the buffer sizes longer
than 256 must be supported.
The type of the indexes is decided upon the size of the buffers. So
there is no increase in program/data size when the buffers are smaller
than 257
2014-03-24 21:40:12 +01:00
Ramon van Belzen
860da6fe0d Update README.md
also make ToDo a link
2014-03-24 19:56:25 +01:00
jantje
fd5f4791c4 This commit contains 2 changes:
Added support for different size of TX and RX buffer sizes.
Added support for buffer sizes bigger than 256 bytes.

Added support for different size of TX and RX buffer sizes.
The default values remain the same. If you want to have different values
define SERIAL_TX_BUFFER_SIZE and SERIAL_RX_BUFFER_SIZE on the command
line

Added support for buffer sizes bigger than 256 bytes.
The type of the indexes is decided upon the size of the buffers. So
there is no increase in program/data size when the buffers are smaller
than 257
2014-03-23 23:12:00 +01:00
Cristian Maglie
567240236a Added compatibity for 1.5 libraries layout on IDE 1.0.x
See #1765
2014-03-20 14:56:46 +01:00
Cristian Maglie
70df7ffc0c Fixed build.xml leftovers after last merge 2014-03-17 10:31:20 +01:00
Cristian Maglie
c192d689bc Better checks for library metadata
See #1765
2014-03-16 12:54:04 +01:00
Cristian Maglie
f50ec335fe Removing the magic baudrate is no longer needed with JSSC
Fixes #1203.

The original patch was introduced to workaround a problem with ArduinoISP reported
in #995. After some debugging it seems caused by a glitch in RXTX library,
more discussion here: https://github.com/arduino/Arduino/issues/1203
2014-03-16 12:17:25 +01:00
Cristian Maglie
738b9d8e29 Merge remote-tracking branch 'arduino/master' into ide-1.5.x
Conflicts:
	.gitignore
	app/lib/commons-logging-1.0.4.jar
	build/build.xml
	build/windows/launcher/config_debug.xml
	libraries/Esplora/examples/Beginners/EsploraJoystickMouse/EsploraJoystickMouse.ino
2014-03-16 12:11:19 +01:00
Cristian Maglie
4672eee6e6 Merge pull request #1931 from Fede85/ide-1.5.x
[YunSerialTerminal example]: corrected the CRC in the Bridge shutdown co...
2014-03-14 10:46:46 +01:00
Fede85
475ee9fde5 [YunSerialTerminal example]: corrected the CRC in the Bridge shutdown command 2014-03-13 11:44:44 +01:00
Scott Fitzgerald
9810e896d1 Update to Esplora example
Added Mouse.press to Esplora Joystick Mouse example
2014-03-08 12:43:18 +04:00
Cristian Maglie
16915f12a3 Merge pull request #1899 from arduino/arduino_debug_master_backport
Windows: arduino_debug.exe
2014-03-04 14:17:33 +01:00
Federico Fissore
5a60f6b008 Windows: launch4j gets downloaded at build time 2014-03-04 13:13:48 +01:00
Cristian Maglie
4c8199e412 Merge pull request #1773 from oni303/minus_support
added support for '-' in filenames
2014-03-04 10:55:00 +01:00
Georg von Zengen
efedfa7049 cut the filename at the last '.' not at the first in tab-names of the editor 2014-02-27 14:30:19 +01:00
Cristian Maglie
d2ef583c2c Merge pull request #1902 from arduino/ide-1.5.x-hidden-files-removed
Removed useless hidden files
2014-02-27 14:24:33 +01:00
Federico Fissore
f3ca136cd9 Removed useless hidden files
Updated .gitignore
Closes #996
2014-02-27 14:21:48 +01:00
Georg von Zengen
3be6eb84b9 added support for '-' and '.' but both not as the first as first character 2014-02-27 14:14:36 +01:00
Cristian Maglie
c84e9ed21a Merge branch 'master' into ide-1.5.x 2014-02-27 13:32:35 +01:00
Federico Fissore
994f0d7bfd Windows: arduino_debug.exe. Backport of ad2ff737bb 2014-02-27 13:24:49 +01:00
Cristian Maglie
2380a8f3d7 Added copyright license for WiFi shield library
See #1117
2014-02-27 12:46:05 +01:00
Cristian Maglie
34009f075d Merge pull request #1886 from arduino/ide-1.5.6-r2
Fixes for 1.5.6-r2 release
2014-02-21 18:02:03 +01:00
Federico Fissore
f3619c3123 Closes #277. Cores files intentionally left out of the commit as they require a different approach and have a different history 2014-02-21 16:21:32 +01:00
Federico Fissore
79eb32f816 Fixed NPE when RXCHAR event with no bytes. Closes #1885 2014-02-21 11:14:30 +01:00
Cristian Maglie
c39a6a26da Update revision log 2014-02-20 14:52:01 +01:00
Cristian Maglie
f91670e0d0 Fixed JSSC upload problem with Arduino Due on MacOSX
JSSC, on unix based systems like linux and MacOSX, when listing serial ports
tries to open each port to ensure its existence. While this check works well for
linux ports /dev/ttyS0..31, it leads to unexpected behaviuors on MacOSX in
particular with USB-CDC virtual serial ports.
This patch disable the check and keep it enabled only for linux ttySxx ports.

This adds also tty.* and cu.* to the list of available serial ports on MacOSX.
2014-02-20 14:48:28 +01:00
Federico Fissore
a3632d53a2 Windows: launch4j gets downloaded at build time 2014-02-20 12:42:05 +01:00
Cristian Maglie
36b4248653 Fixed jar inclusion in launch4j config files 2014-02-20 11:12:42 +01:00
Federico Fissore
ad2ff737bb Windows: arduino_debug.exe: no splash screen, outputs messages to stdout 2014-02-20 11:06:30 +01:00
Cristian Maglie
781271e8a5 Robot_Control fixes. See #1709 #1599. 2014-02-19 18:44:01 +01:00
Cristian Maglie
2659b47587 Update revision log. Upped version to 1.5.6 2014-02-19 18:14:31 +01:00
Cristian Maglie
50abaaa23f Updated translations 2014-02-19 16:07:20 +01:00
Cristian Maglie
ab362fc726 Merge remote-tracking branch 'arduino/master' into ide-1.5.x 2014-02-19 10:40:44 +01:00
Cristian Maglie
27576919a4 Merge pull request #1879 from h2g2guy/master
Corrected repeated 'less' in checkName's message
2014-02-19 10:37:24 +01:00
h2g2guy
f3944b2df0 Corrected repeated 'less' in checkName's message 2014-02-18 23:32:22 -05:00
Cristian Maglie
c0396530e6 Merge pull request #1870 from matthijskooijman/ide-1.5.x-serial-int
In HardwareSerial::_rx_complete_irq, don't use int for buffer index
2014-02-18 22:43:16 +01:00
Cristian Maglie
9fcf005638 [sam] Removed workaround in banzai() subroutine after 8120558af5
See #1876
2014-02-18 22:32:55 +01:00
Matthijs Kooijman
8120558af5 Fix loops in the SAM banzai() reset function
The code used to say:

  while (EFC0->EEFC_FSR & EEFC_FSR_FRDY == 0);

This triggered a compiler warning, which is why I looked at this line
more closely:

	warning: suggest parentheses around comparison in operand of '&'

As the warning indicates, because the == operator has higher precedence
than the & operator, the compiler is interpreting this line as:

  while (EFC0->EEFC_FSR & (EEFC_FSR_FRDY == 0));

Since EEFC_FSR_FRDY is defined as 1, (EEFC_FSR_FRDY == 0) is always
false (== 0) and this reduces to:

  while (EFC0->EEFC_FSR & 0);

Which reduces to:

  while (0);

So effectively this line is a no-op.

This commit adds parenthesis to restore the intended behaviour.
2014-02-18 22:32:25 +01:00
Cristian Maglie
ce65ecec06 SpacebrewYun library is now vanilla (after 42d19b55c900cc33334d7938c9d7ec8c034e9c6e) 2014-02-18 22:32:24 +01:00
Cristian Maglie
0a126d75bb [sam] itoa() and related function are now available for the sketch 2014-02-18 22:32:24 +01:00
Cristian Maglie
bab0062998 Temboo library is now vanilla 2014-02-18 22:32:24 +01:00