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

2506 Commits

Author SHA1 Message Date
Shigeru KANEMOTO
f60f17f79a Avoid TIMER3 conflict with Servo and tone(). 2012-08-08 18:27:40 +09:00
Shigeru KANEMOTO
44556206a8 Fix for tone() on Leonardo. 2012-08-08 18:27:40 +09:00
David A. Mellis
409da1d9c7 Adding NSHighResolutionCapable to Mac Info.plist file.
Apparently this makes things look or work better on the new MacBook Pro w/ Retina display.

http://code.google.com/p/arduino/issues/detail?id=982
2012-08-07 16:46:57 -04:00
Cristian Maglie
1e496de034 Reintroduced pins_arduino.h for compatibility 2012-08-06 13:18:37 +02:00
Cristian Maglie
8a729bcdcb Changed Due Board tags 2012-08-06 12:20:49 +02:00
Cristian Maglie
a8f74c89d0 Fixed StringCharacters example 2012-08-06 12:03:04 +02:00
Cristian Maglie
3db052c5ad Fixed all boards.txt definitions in AVR arch. 2012-08-06 10:24:24 +02:00
Cristian Maglie
00e029209d Reorganization of memory layout 2012-08-04 14:08:02 +02:00
Cristian Maglie
5fa0d969af Merge branch 'audio'
Conflicts:
	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
	hardware/arduino/sam/variants/arduino_due_x/variant.h
2012-08-04 11:32:40 +02:00
Cristian Maglie
181a3fbbe4 Extended analogRead/Write API to support difference ADC/DAC resolutions. 2012-08-04 11:27:46 +02:00
Cristian Maglie
66747ec688 Added setAnalogResolution() method. 2012-08-01 13:40:41 +02:00
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