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

2946 Commits

Author SHA1 Message Date
Cristian Maglie
5131431d96 Some experiments about Audio buffering. DAC class added. 2012-08-01 11:51:29 +02:00
Cristian Maglie
de30e38843 Audio lib: added DAC class and DMA interrupt handling 2012-07-29 01:57:12 +02:00
David A. Mellis
d30bd83660 Don't generate prototypes for function that already have them. (Lars J. Nielsen)
This searches for prototypes by using the same regular expression used to search for functions definitions, but with "{}" replaced by ";".  Note that it requires the prototype to be formatted identically to the function definition (e.g. matching white-space).

http://code.google.com/p/arduino/issues/detail?id=973
2012-07-19 11:27:56 -04:00
David A. Mellis
a01657b312 Removing leftover debugging code.
http://code.google.com/p/arduino/issues/detail?id=859
2012-07-19 10:42:39 -04:00
David A. Mellis
4e657ba5e2 Automatically create sketchbook libraries/ folder and readme (Paul Stoffregen and Limor Fried).
http://code.google.com/p/arduino/issues/detail?id=986
2012-07-19 10:03:39 -04:00
David A. Mellis
9d21154ea2 Including String and Stream methods in local reference.
http://code.google.com/p/arduino/issues/detail?id=932
2012-07-15 09:34:59 -04:00
David A. Mellis
d83543cff1 Use "wiring" (not "stk500v2") avrdude protocol for uploads to Mega 2560.
It performs the auto-reset in avrdude.  Otherwise, some uploads seem to fail (possibly because it takes too long to launch avrdude from the IDE, so there's too much of a delay between the auto-reset done by the IDE and the upload).

http://code.google.com/p/arduino/issues/detail?id=806
2012-07-15 09:12:08 -04:00
David A. Mellis
e945d091c5 Don't require a space between #include and < or ".
The space isn't required by the compiler, but the preprocessor needed
one in order to use the #include to figure out which libraries the
sketch used.  That caused an error if you didn't have the space,
because the corresponding library wasn't linked.

http://code.google.com/p/arduino/issues/detail?id=975
2012-07-14 21:42:59 -04:00
David A. Mellis
d903d81d60 Add more checks for end-of-file in auto-format code.
Otherwise, you tend to get out of memory errors caused by infinite
loops.

http://code.google.com/p/arduino/issues/detail?id=859
2012-07-14 21:22:20 -04:00
David A. Mellis
6030f9670b Don't break C++ style (//) comments during auto-format.
http://code.google.com/p/arduino/issues/detail?id=255
2012-07-14 20:53:20 -04:00
Cristian Maglie
3d9672d902 Changed 'fat' (multiplatform) library detection algorithm 2012-07-06 18:20:02 +02:00
Cristian Maglie
5c0eca5fa7 Started fat (multi-architecture) libraries support (work in progress) 2012-07-04 12:00:35 +02:00
Cristian Maglie
01bd432af3 Separator between user and IDE libraries also in examples menu 2012-07-03 17:26:15 +02:00
Cristian Maglie
00f8cdb931 Updated USBHost HID examples 2012-06-30 02:04:52 +02:00
Cristian Maglie
7ae42f7e3a Removed validation tests 2012-06-30 01:24:58 +02:00
David A. Mellis
6036846ce3 Print "ovf" if float to be printed doesn't fit in a long.
http://code.google.com/p/arduino/issues/detail?id=967
2012-06-28 23:20:56 -04:00
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
Tom Igoe
156c102c0d Updated ScanNetworks example to give network encryption types by name 2012-06-21 22:04:31 -04:00
Thibault RICHARD
21ee4f0774 [sam] enabling High Speed support for USB Device stack 2012-06-18 18:59:09 +02:00
Mimmo La Fauci
33bc35876a Commit binaries 2012-06-18 07:51:12 +02:00
Mimmo La Fauci
056895d1f9 Changed Handshake pin to 7. Add some spi stats 2012-06-18 07:44:30 +02:00
Mimmo La Fauci
2ceb5a07bd Changed Handshake pin to 7. Add some spi stats 2012-06-18 07:44:30 +02:00
Cristian Maglie
6695518cff Audio library: improved DMA transfers. Stereo output. 2012-06-18 01:53:53 +02:00
Cristian Maglie
edd2fdd023 Audio: first draft 2012-06-17 18:20:01 +02:00
Mimmo La Fauci
bdc4d0ab22 Fix issue on SPI RDRF 2012-06-16 19:05:42 +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