Cristian Maglie
b67a88a931
USBHost is now a library
2012-06-28 00:28:52 +02:00
Cristian Maglie
06c0928192
Merged master
2012-06-27 13:51:16 +02:00
Thibault RICHARD
3ba2e37651
[sam] USBHost ADK+HID supported okay. Code is more documented.
2012-06-26 16:20:26 +02:00
Cristian Maglie
d035d3b32c
Fixed StringLength example
2012-06-26 01:01:52 +02:00
Cristian Maglie
b767ef2b57
Removed -mlong-calls (as suggested by Travis Geiselbrecht)
2012-06-26 00:54:38 +02:00
Cristian Maglie
7c0dfc01a5
Added default extra_flags parameter to allow build on all boards
2012-06-26 00:52:05 +02:00
Cristian Maglie
46aeeb4b29
Merged upstream Arduino master branch
2012-06-26 00:51:35 +02:00
Cristian Maglie
33778af0db
Fixed 02.Digital/StateChangeDetection buoncing issue
2012-06-25 19:15:49 +02:00
Cristian Maglie
ddc8fa98c9
Added separator between user supplied libraries and IDE libraries
2012-06-25 17:29:16 +02:00
Cristian Maglie
6640bc9bd2
Added INPUT_PULLUP mode for pinMode command
2012-06-25 16:31:34 +02:00
Cristian Maglie
8c5e21470f
Removed isEmpty() calls for Java 1.5 compatibility
2012-06-25 15:30:43 +02:00
Cristian Maglie
7b157efa7a
[sam] fixed CDC com issue in Arduino IDE
...
cherry pick from 96e8db0299
Conflicts:
hardware/arduino/sam/cores/arduino/USB/USBDesc.h
hardware/arduino/sam/system/libsam/source/uotghs_device.c
hardware/arduino/sam/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a
hardware/arduino/sam/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a.txt
2012-06-25 14:26:45 +02:00
David A. Mellis
1daeba6fd6
Don't translate space separating baud rate from "baud".
...
This prevents an error in which translations which omitted the space would cause an exception (because the code tries to split the string on space).
http://code.google.com/p/arduino/issues/detail?id=964
2012-06-24 12:45:26 -05:00
David A. Mellis
71a615c65d
Print "inf" for infinite floating point numbers (using isinf()).
...
http://code.google.com/p/arduino/issues/detail?id=961
2012-06-23 10:37:35 -05:00
David A. Mellis
34b265ed4c
Fixing SD card SPI pin mapping for Leonardo.
...
http://code.google.com/p/arduino/issues/detail?id=931
2012-06-22 11:28:16 -05:00
Thibault RICHARD
96e8db0299
[sam] fixed CDC com issue in Arduino IDE
2012-06-22 12:29:21 +02:00
Thibault RICHARD
21ee4f0774
[sam] enabling High Speed support for USB Device stack
2012-06-18 18:59:09 +02:00
Thibault RICHARD
c4198b3a6c
[sam] added HID examples (mouse+keyboard)
2012-06-15 14:46:06 +02:00
David A. Mellis
4b25cc2097
Removing local xcode files.
2012-06-14 15:58:30 +01:00
David A. Mellis
f833374312
Adding write(str) and write(buf, size) for USB CDC.
...
So that they work on the Leonardo.
http://code.google.com/p/arduino/issues/detail?id=958
2012-06-14 15:54:13 +01:00
Cristian Maglie
221c10842e
[sam] added support for DACC in analogWrite
...
(cherry-pick from Thibault Richard commit a1d6cb43a5
)
2012-06-13 19:28:50 +02:00
Thibault RICHARD
a1d6cb43a5
[sam] added support for DACC in analogWrite
2012-06-13 13:30:43 +02:00
Thibault RICHARD
875d84e224
[sam] updated libsam license
2012-06-12 18:56:47 +02:00
Tom Igoe
57ed5ba6f2
Reconciled comment versions on TonePitchFollower example
2012-06-12 10:23:19 -04:00
Thibault RICHARD
c1aaef21e1
[sam] USBHost HID Mouse example is working
2012-06-12 14:43:52 +02:00
David A. Mellis
6d6f4424e4
Merge pull request #96 from gandrewstone/master
...
Avoid null pointer exception during compilation (race condition).
http://code.google.com/p/arduino/issues/detail?id=950
2012-06-11 06:36:28 -07:00
Cristian Maglie
9113c454f4
Fixed Wire1 initialization. Fixed keywords for Wire library
2012-06-11 13:01:27 +02:00
Cristian Maglie
b6eef92980
Small refactoring to digitalWrite
2012-06-11 12:45:16 +02:00
Cristian Maglie
f18378d5dc
analogRead(..) resolution reverted to 10 bits, waiting for an API extension to be decided
2012-06-11 12:44:35 +02:00
Cristian Maglie
0c09b5d443
Fixed problems with analogWrite(...) for pins using Timer Counter
2012-06-11 12:43:27 +02:00
Cristian Maglie
301585f1fc
SPI library compatibility fix
2012-06-09 15:02:51 +02:00
Cristian Maglie
3b0d08af6b
Set SPI default speed to 500Khz. Set SPI speed for Ehternet to 4Mhz.
2012-06-08 22:51:03 +02:00
Andrew Stone
5e75bd4a97
Fix for bug 950 -- NPE Compiler.java:407 -- also searched for any other instances & found two other cases of the same bug
2012-06-08 16:49:31 -04:00
Cristian Maglie
b2ded1f1a5
Added Ethernet for ARM. Updated examples.
2012-06-08 22:37:10 +02:00
Cristian Maglie
22e24fd5e0
Some Due pins are connected to both PWM and SPI pins on SAM3X. This patch fix SPI side.
2012-06-08 22:34:38 +02:00
Cristian Maglie
e43dcd8bed
Workaround for linking problem on libc-syscalls. This fix is not final.
2012-06-08 12:42:49 +02:00
Thibault RICHARD
a7033f459e
[sam] Renamed host example
2012-06-07 16:18:21 +02:00
Thibault RICHARD
bc62c81396
[sam] USB Host stack v1 with enumeration working okay using validation example
2012-06-07 16:11:26 +02:00
Andrew Stone
958c835ef0
Issue 950: NPE Compiler.java:407
2012-06-06 17:30:14 -04:00
David A. Mellis
a363686a31
Merge pull request #95 from gandrewstone/master
...
Allow the SPI library to support different modes
Avoid spurious transitions on the SPI lines by activating the SPI bus before setting MOSI and SCK as outputs. That way they go straight to the correct values. Also, set SS HIGH before setting it as an OUTPUT, so the slave device isn't temporarily activated.
http://code.google.com/p/arduino/issues/detail?id=888
2012-06-06 06:45:08 -07:00
David A. Mellis
002baa78f1
Merge pull request #94 from feka/master
...
Fixed nullpointer exception in case of missing bootloader.path param
http://code.google.com/p/arduino/issues/detail?id=919
2012-06-06 06:26:28 -07:00
Andrew Stone
4e8fffa767
just change a comment to make more sense
2012-06-05 21:10:09 -04:00
Andrew Stone
a41c1233ba
fix SPI init issues as described http://code.google.com/p/arduino/issues/detail?id=888 . Tested using qt1110 (mode 3) on a mega and WS5100 (webserver example sketch) chips on a etherten
2012-06-05 15:45:51 -04:00
David A. Mellis
308d907694
Printing NaN values as "nan" in printFloat().
...
http://code.google.com/p/arduino/issues/detail?id=946
2012-06-04 23:30:41 -04:00
Tibor Fekete
ec3c8123bf
Fixed null pointer exception in case of missing boot loader.path param in boards.txt
...
Pre-1.0.1 it was not necessary to have a bootloader.path param in
boards.txt under the respective board type. This patch helps keeping
compatibility with older settings and avoid dummy param settings.
2012-06-04 21:27:13 +02:00
Cristian Maglie
036be8fd9f
[sam] fixed pin mapping on Arduino Due variano for pin 10
2012-06-04 00:39:23 +02:00
Cristian Maglie
31402570fe
SPI: Removed methods that sets params for all channels. Added default PIN (unconnected on Due Board).
2012-06-03 23:35:08 +02:00
Cristian Maglie
3062c550b0
Updated Wire library. Latest API not yet implemented.
2012-06-03 22:07:27 +02:00
David A. Mellis
a9fedabe3c
Don't translate SimpleDateFormat string.
...
The yyMMdd string that the sketch archiver tool uses to format archive
names was being localized (i.e. was wrapped in _()). This gave an
error on startup (and the Arduino software would fail to launch), if
someone translated the string to something that wasn't a valid date
format. Since this is an internal string, it shouldn't be translated.
http://code.google.com/p/arduino/issues/detail?id=942
2012-06-03 14:48:20 -04:00
David A. Mellis
b787982eec
Check for NULL pointer in Print.write().
...
Otherwise, trying to print(NULL) or write(NULL) could print a random
character.
http://code.google.com/p/arduino/issues/detail?id=941
2012-06-03 07:48:32 -04:00