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

374 Commits

Author SHA1 Message Date
Matthijs Kooijman
f304abe35f Add uint8_t* versions of methods in Stream
The new functions just call their char* equivalents, but this allows
reading bytes into a buffer of uint8_t as well as chars.
2013-12-24 13:22:42 +01:00
Matthijs Kooijman
250386802f Add Print::write(const char *, size_t)
The new function just calls Print::write(const uint8_t *, size_t), but
this allows writing out a buffer of chars (without having to learn about
casts).
2013-12-24 13:22:42 +01:00
Cristian Maglie
660c7d86fd Optimized Print::print(String&) (part 2) 2013-12-23 12:04:15 +01:00
Cristian Maglie
b530742603 [sam] Fixed regression in analogRead() (fails to read multiple channels) (Mark Tillotson)
See #1740 #1634

http://forum.arduino.cc/index.php?topic=203322.msg1509907#msg1509907
2013-12-18 15:46:42 +01:00
Cristian Maglie
a1c4809105 [sam] Fixed regression in analogRead() (fails to read multiple channels)
Fixes #1740
2013-12-16 11:07:45 +01:00
Cristian Maglie
2e7b645571 [sam] Fixed wrap-around bug in delay() (Mark Tillotson)
Fixes #1736
2013-12-14 00:33:57 +01:00
Cristian Maglie
e2b15c852b Changed pins definition in variants from constants to #defines. 2013-12-13 15:13:18 +01:00
Cristian Maglie
43f9f15358 Upped version to 1.5.5 2013-11-28 10:53:50 +01:00
Cristian Maglie
d5c828736b Revert "SPI library to new format" 2013-11-21 15:05:36 +01:00
Cristian Maglie
71bb7f7ae3 Fixed vid/pid definition for arduino_due_x_dbg in boards.txt. (Luca Baldini)
http://forum.arduino.cc/index.php?topic=197003
2013-11-15 14:01:36 +01:00
Cristian Maglie
9a9652d506 Revert "Wire library to the 1.5 format"
This reverts commit a31857688b.
2013-11-15 12:54:59 +01:00
Cristian Maglie
3ba9480972 Merge pull request #1634 from cmaglie/adc-fix
Improved ADC speed on Arduino Due
2013-11-12 00:57:28 -08:00
Cristian Maglie
56572fa0de Added SERIAL metadata into variant files. 2013-11-11 13:41:04 +01:00
Cristian Maglie
8e3da56624 Added LED_BUILTIN definition to Arduino Due 2013-11-03 18:29:34 +01:00
Cristian Maglie
8f1e3fd703 Using NOT_AN_INTERRUPT defined constant 2013-10-31 12:44:24 +01:00
Cristian Maglie
35d477297d Added pinToInterrupt() variant macro (Paul Stoffregen) 2013-10-31 12:43:41 +01:00
Cristian Maglie
1fc54f5003 [sam] Improved analogRead speed.
See #1418
2013-10-21 12:38:37 +02:00
Fede85
02550de1e9 Merge remote-tracking branch 'origin/ide-1.5.x' into ide-1.5.x 2013-10-10 20:59:01 +02:00
Cristian Maglie
40dce96f11 Fixed adc_init() function.
See #1418
2013-10-09 15:54:47 +02:00
Cristian Maglie
a21d92e5c8 [sam] Added empty Serial::begin() with options for CDC-ACM
See #1563
2013-09-30 16:27:07 +02:00
Cristian Maglie
f03093332b [sam] Fixed initialization of ADC timings (improves analogRead speed by a factor x10)
Discussion:
http://www.djerickson.com/arduino/
http://forum.arduino.cc/index.php?topic=156849
http://forum.arduino.cc/index.php?topic=187693

Fixes #1418
2013-09-26 01:22:01 +02:00
Fede85
a31857688b Wire library to the 1.5 format 2013-09-10 18:50:42 +02:00
Cristian Maglie
421fa18c3c Updated revision log, and upped version to 1.5.4 2013-09-09 19:47:25 +02:00
Federico Fissore
effb59da4b Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discovery 2013-09-06 12:59:24 +02:00
Cristian Maglie
c86eed942d Fixed String class regression after f80c6c5f35
This should make explicit String-from-integer constructor working again:

   int a = 10;
   String(a, 4);
2013-09-03 18:40:30 +02:00
Cristian Maglie
690eac4047 Moved arm-gcc upgrade to specific development branch 2013-08-30 10:58:16 +02:00
Cristian Maglie
ea8c14421a Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
Conflicts:
	app/src/processing/app/Preferences.java
	app/src/processing/app/debug/Uploader.java
2013-08-23 15:59:24 +02:00
Cristian Maglie
00210189fe Removed unused flags from String (free 1 byte of SRAM) 2013-08-20 15:15:47 +02:00
Cristian Maglie
e4e2a47e68 Merge branch 'ide-1.5.x-library-to-new-format' into ide-1.5.x 2013-08-08 16:43:19 +02:00
Cristian Maglie
32a5a300b9 Merge branch 'update-arm-gcc' into ide-1.5.x 2013-08-08 15:00:14 +02:00
Cristian Maglie
1e8e20a66b Added quoting to usb_producer key to preserve double quotes.
See #1422.
2013-08-01 15:20:24 +02:00
Cristian Maglie
0b632dba47 Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
Conflicts:
	hardware/arduino/avr/cores/arduino/USBCore.cpp
2013-07-30 10:45:44 +02:00
Cristian Maglie
ea804023ef Updated ARM gcc to 4.7.4. Added native 64 bit version for linux (no more ia32-libs needed).
Fixes #1474
2013-07-28 14:14:04 +02:00
Cristian Maglie
f8d32a0659 Parametric USB configuration for Arduino Due (experimental) 2013-07-22 12:29:02 +02:00
Fede85
fd7e9c6d90 WiFi library to the new format 2013-07-19 16:20:34 +02:00
Fede85
ef1cfce024 Scheduler library for Arduino Due to the new format 2013-07-04 14:28:58 +02:00
Fede85
0608c9f83f USBHost library to new format 2013-07-04 14:10:26 +02:00
Fede85
2371e2ce0d SPI library to the new format and moved Robot_Motor and Robot_Control libraries 2013-07-03 22:00:02 +02:00
Federico Fissore
94547ebd9e Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discovery 2013-06-28 15:36:50 +02:00
Fede85
b6e4c59ab3 Merge remote-tracking branch 'upstream/ide-1.5.x' into ide-1.5.x-library-to-new-format 2013-06-28 15:10:09 +02:00
Cristian Maglie
8e20bc7b43 String: fixed number of whitespaces in concat() methods 2013-06-28 09:53:25 +02:00
Fede85
b28104b795 Audio library to the new format 2013-06-27 19:15:53 +02:00
Fede85
c13779daae removed the CAN library for the Due 2013-06-27 13:52:50 +02:00
Fede85
3b54dfed67 Servo library to the new format 2013-06-27 13:12:07 +02:00
Fede85
9454816162 Ethernet, SD and LiquidCrystal to the new library format 2013-06-26 19:13:04 +02:00
Federico Fissore
d469dc9d90 Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x-discovery 2013-06-25 16:13:56 +02:00
Cristian Maglie
f57a00ea6c String: changed default to 2 decimal digits 2013-06-21 21:23:12 +02:00
Cristian Maglie
d101bf51a2 [sam] 2 bugfix to SPI library.
- begin() after end() now works.
- unconnected SPI pin is selected as CS when old (non extended) API is used.
2013-06-21 19:58:08 +02:00
Cristian Maglie
3e4419d6be Merge branch 'ide-1.5.x' into ide-1.5.x-discovery 2013-06-07 00:38:42 +02:00
Cristian Maglie
a2e7413d22 More efficient dtostrf() emulation on ARM 2013-06-06 23:11:43 +02:00
Cristian Maglie
ba7fb5518f Fixed buffer overflow on String class (Paul Stoffregen) 2013-06-06 20:04:43 +02:00
Cristian Maglie
f80c6c5f35 Merged various bugfix / improvements to String class.
Merge branch 'master' into ide-1.5.x
2013-06-06 19:54:58 +02:00
Cristian Maglie
1130fede3a Added support for Flash string on String class. 2013-06-06 16:33:20 +02:00
Cristian Maglie
b341a7c751 String class: removed deep copy on substring method.
Small code cleanup.
2013-06-06 16:33:20 +02:00
Federico Fissore
f3abbf60a8 Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x-discovery 2013-05-21 09:18:04 +02:00
Fede85
4486a922fc UOTGVBOF is now active high 2013-05-20 19:21:23 +02:00
Federico Fissore
2d6af8264b Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x-discovery 2013-05-13 16:58:10 +02:00
Cristian Maglie
a46259a0cf Merged 1.0.5
Still missing:
- updates to WiFi lib for sam.
- updates to examples of Ehternet and WiFi for sam.

Merge remote-tracking branch 'arduino/master' into ide-1.5.x

Conflicts:
	app/src/processing/app/Base.java
	app/src/processing/app/Editor.java
	app/src/processing/app/helpers/FileUtils.java
	app/src/processing/app/i18n/Resources_fr.po
	app/src/processing/app/i18n/Resources_fr.properties
	build/shared/revisions.txt
	hardware/arduino/avr/libraries/Ethernet/examples/DnsWebClient/DnsWebClient.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
	libraries/WiFi/examples/WiFiChatServer/WiFiChatServer.ino
	libraries/WiFi/examples/WiFiPachubeClient/WiFiPachubeClient.ino
	libraries/WiFi/examples/WiFiPachubeClientString/WiFiPachubeClientString.ino
	libraries/WiFi/examples/WiFiTwitterClient/WiFiTwitterClient.ino
	libraries/WiFi/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino
	libraries/WiFi/examples/WiFiWebClient/WiFiWebClient.ino
	libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino
	libraries/WiFi/examples/WiFiWebServer/WiFiWebServer.ino
	libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino
	libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino
	libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino
	libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino
	libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino
	libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino
	libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino
	libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
2013-05-11 14:37:25 +02:00
Federico Fissore
b7a177d89b adding 0x to PID/VID values 2013-05-06 12:31:03 +02:00
Federico Fissore
01cf414175 new boards.txt with indexed vid and pid 2013-05-06 12:31:01 +02:00
Federico Fissore
776952762f working on #223: Auto-detection of serial ports. Linux version ready 2013-05-06 12:31:01 +02:00
stimmer
00bc1639c4 Changed micros() to work in interrupts 2013-05-03 13:38:48 +02:00
Cristian Maglie
443d0e1f26 Updated libaries and core handling.
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification

Merge branch 'lib-1.5-cores' into ide-1.5.x
2013-04-17 17:53:03 +02:00
Cristian Maglie
f1221c8ebf Reverted to old board ids 2013-04-17 17:45:57 +02:00
Cristian Maglie
03a7529cc0 [sam] Added serialEvent*() support 2013-03-25 01:29:42 +01:00
Cristian Maglie
ee0c76f063 Removed unused file 2013-03-25 00:42:45 +01:00
Cristian Maglie
f772be9032 Added version field to platform.txt 2013-03-21 09:20:29 +01:00
Cristian Maglie
cad69358b4 Changed the way ARDUINO is defined inside platform.txt 2013-03-18 13:14:30 +01:00
Cristian Maglie
0f5a5259ec Added avr/pgmspace.h compatibility layer for Due Boards
Fixes #1317
2013-03-15 12:39:04 +01:00
Cristian Maglie
bed305a556 Added auto-generation for 'build.board' value in boards.txt.
See #1305.
2013-03-06 12:49:41 +01:00
Cristian Maglie
a657582b2a Merge branch 'lib-1.5-newformat' into ide-1.5.x 2013-02-27 18:29:56 +01:00
Cristian Maglie
a58bea74b8 Bugfix for garbage data coming from serial port after reset. (Arduino Due)
Fixed #1267

Merge branch 'fix-usbserial-firmware-due' into ide-1.5.x
2013-02-26 17:35:49 +01:00
Cristian Maglie
7314489bea Added CAN library (alpha) 2013-02-15 15:51:25 +01:00
Cristian Maglie
0f41b963d4 Merge remote-tracking branch 'arduino/ide-1.5.x' into HEAD 2013-02-13 16:26:19 +01:00
Federico Fissore
7aeb972e14 merging ide-1.5.x 2013-02-13 16:25:40 +01:00
Cristian Maglie
7f7637c782 Fixed delayMicrosecond() when interrupts are disabled 2013-02-13 15:41:31 +01:00
Cristian Maglie
1e1fce8e8e Added old firmware for Arduino Due USB2Serial (atmega16u2) 2013-02-11 22:18:22 +01:00
Cristian Maglie
e5fa7e8183 BOARDS and ARCH defines from boards.txt
See #308
2013-02-11 19:43:04 +01:00
Thibaut VIARD
68fe402f8e [CAN] adding raw class first stage 2013-02-07 18:13:44 +01:00
Cristian Maglie
6b25f0c0ba Merge pull request #1255 from cmaglie/usbcdc-loopback-fix
Fixed SerialUSB data handshake when host sends a lot of data (PeterVH, stimmer)
2013-02-06 03:30:12 -08:00
Cristian Maglie
976f7588b7 Bugfix for garbage data coming from serial port after reset.
http://arduino.cc/forum/index.php/topic,134847
2013-02-05 21:00:08 +01:00
Cristian Maglie
5edc110f61 [sam] attachInterrupt() now works also on pins that belongs to PORTD 2013-02-02 17:14:30 +01:00
Thibaut VIARD
ecfea6da9f [SAM] updating CAN transceiver conforming to Arduino API 2013-01-30 15:12:14 +01:00
Cristian Maglie
d66d4c4793 Fixed SerialUSB data handshake when host sends a lot of data (PeterVH, stimmer) 2013-01-29 11:20:20 +01:00
Thibaut VIARD
d25921692a [sam] CAN component compiling with Arduino API 2013-01-27 17:46:38 +01:00
Thibaut VIARD
e8c57c4f18 [SAM] updating libsam and CAN files 2013-01-27 15:52:28 +01:00
Cristian Maglie
3a3bf643f9 Merge branch 'ide-1.5.x' into can 2013-01-27 12:52:06 +01:00
Cristian Maglie
ac66cf7ee2 Removed unused file 2013-01-27 12:50:29 +01:00
Cristian Maglie
e72eaa858a Fixed CDC_SERIAL_BUFFER_SIZE macros (PeterVH) 2013-01-27 12:49:25 +01:00
Cristian Maglie
95cadfef12 Fixed USBSerial.write() while sending big buffers (Bill Dreschel) 2013-01-25 15:55:35 +01:00
Federico Fissore
c596edd083 closes #954: wrong header name in WebServer example sketches 2013-01-10 16:30:07 +01:00
Cristian Maglie
cfd9889018 Imported Ehternet memory-leak fix into sam 2013-01-06 18:46:18 +01:00
vd
ac2255b6d5 modified analogWrite to wait for end of conversion 2013-01-06 17:53:59 +01:00
Cristian Maglie
14893f5cd9 Fixed Wifi library for Arduino Due 2013-01-02 17:16:57 +01:00
Thibaut VIARD
8d27b0a191 [sam] adding CAN0/1 pins defs 2012-12-20 17:22:56 +01:00
Thibaut VIARD
2c107798a2 [sam] integrating Wilfredo CAN driver function and bringing sn65hvd234
driver into CAN library
2012-12-20 11:20:01 +01:00
Cristian Maglie
fd16c125d5 Removed ASF stuff 2012-12-20 11:04:48 +01:00
Thibaut VIARD
5d0ba1c64a [sam] adding more peripherals to SAM3X/Due 2012-12-19 15:20:14 +01:00
Cristian Maglie
acfd670124 fixed wrong filename 2012-12-12 11:55:58 +01:00
Cristian Maglie
328d229ee0 Added CAN lib 2012-12-12 11:55:06 +01:00