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

418 Commits

Author SHA1 Message Date
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
Federico Fissore
15a7ebe568 closes #1163: wrong variable naming 2012-12-12 11:47:49 +01:00
Cristian Maglie
c2c104315a WiFi library for Arduino Due 2012-12-11 09:47:46 +01:00
Cristian Maglie
66ee23b885 Merged 1.0.3 2012-12-10 15:55:05 +01:00
Federico Fissore
d458ef7806 fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
Cristian Maglie
db81f52c3a Added Servo library for Arduino Due 2012-11-23 18:15:23 +01:00
Cristian Maglie
fabc658a94 Added CANRX1/TX1 pins. 2012-11-20 18:38:18 +01:00
Cristian Maglie
70351fc341 Fix BSoD for Windows (louismdavis)
http://arduino.cc/forum/index.php/topic,129869.0.html
2012-11-19 23:44:06 +01:00
Cristian Maglie
65f00a69c7 Fixed weak-symbol issue with system interrupt handlers. 2012-11-19 23:37:19 +01:00
Cristian Maglie
74dea07f2c portOutputRegister is now writeable. 2012-11-09 10:54:30 +01:00
Cristian Maglie
d23fbb2574 Added firmware for USB2Serial converter (Atmega16u2) on Due Board 2012-11-05 17:35:50 +01:00
Cristian Maglie
c68a0f5875 Fixed portOutputRegister() and portInputRegister() macros.
http://arduino.cc/forum/index.php/topic,130714.0.html
2012-11-05 16:52:57 +01:00
Cristian Maglie
73649c2f60 Fixed digitalPinToPort and digitalPinToBitMask macros. (thanks to alvesjc) 2012-11-04 23:39:02 +01:00
Cristian Maglie
d5e7d0dabd Fixed verbose upload. Removed unused platform.txt params. 2012-11-04 01:05:54 +01:00
Cristian Maglie
969e29befb Do not yield during delayMicroseconds 2012-11-03 23:47:32 +01:00
Cristian Maglie
a72cfc3087 Fixed analogWrite() when writing on both DACs. Thanks to smay4finger
for providing the patch.
http://code.google.com/p/arduino/issues/detail?id=1092
http://arduino.cc/forum/index.php/topic,129765.msg980913.html
2012-11-03 20:18:32 +01:00
Cristian Maglie
0f23634230 {attach,detach}Interrupt() on Due selects directly pin number instead of interrupt number. 2012-11-02 19:48:04 +01:00
Cristian Maglie
107c1929bd Added general yield()-hook for cooperative scheduling development 2012-10-31 01:37:37 +01:00
Cristian Maglie
921dfe794f {attach/detach}Interrupt() functions. 2012-10-26 20:17:34 +02:00
Cristian Maglie
8cc080fbd9 Removed unused folder. 2012-10-24 13:27:15 +02:00
Cristian Maglie
9dfebb5d78 Removed unsupported Wifi for sam3x 2012-10-22 10:14:37 +02:00
Scott
6496943f4c Minor changes to the keyboard and mouse controller examples 2012-10-21 19:57:23 -04:00
Scott
68e5047736 Added keywords for new libraries, rearranged and modified Due and USB examples
Renamed Leonardo Only examples folder to USB. Modified keyboard and
Mouse examples to indicate Due compatibility.

Minor modifications to Due examples to conform with existing example
sketches.

Added keywords to for Audio, Scheduer, and USBHost libraries.
2012-10-21 12:36:54 -04:00
Scott Fitzgerald
c97e3623a4 Refactored prepare() method in Audio library 2012-10-20 00:48:33 +02:00
Cristian Maglie
43cf5b0ed6 Fixed HID report send (Emulated keyboard is back on MacOS) 2012-10-19 22:54:02 +02:00
Cristian Maglie
a23721ad81 Enable pull-up on pin 0. (for real...) 2012-10-19 15:43:29 +02:00
Cristian Maglie
9784c1f3d2 Merge branch 'master' of github.com:arduino/ARM 2012-10-19 15:02:31 +02:00
Cristian Maglie
c2e872149c Enable pull-up on pin 0. 2012-10-19 14:00:11 +02:00
Claudio Indellicati
3e9ef44401 Fixed native USB serial port not appearing on Mac OS X 10.6.8. 2012-10-18 21:42:16 +02:00
Cristian Maglie
05a2d77f15 Merge remote-tracking branch 'origin/master' into merge-1.0.1 2012-10-18 20:31:51 +02:00
Fede85
a21c4e153f review of typos a and small errors in some examples 2012-10-18 19:03:25 +02:00
David A. Mellis
d4666fad97 Removing "Dev. Ed." naming from Due boards. 2012-10-18 10:18:34 -04:00
Cristian Maglie
aba27c43aa Merged upstream arduino branch 2012-10-18 15:50:09 +02:00
Cristian Maglie
49ba3277ff Adjusted boards/variants 2012-10-15 17:22:10 +02:00
Cristian Maglie
562324d5f6 Adjusted off-by-one naming for Serial object: Serial2/3/4 => Serial1/2/3 2012-10-15 14:27:03 +02:00
Fede85
e92ad6e96e removed the final X in the ip_product string 2012-10-12 18:05:29 +02:00
Fede85
4608ce5624 Merge branch 'master' of github.com:arduino/ARM 2012-10-12 16:10:47 +02:00
Fede85
e4fdb9ece3 tuned costant for pulseIn 2012-10-12 16:09:54 +02:00
Cristian Maglie
6bb194f449 Fixed Ehternet lib DNS bug. 2012-10-12 12:31:22 +02:00
Cristian Maglie
1aea8f32dd Scheduler: rename sleep in wait; fixed example 2012-10-11 15:23:21 +02:00
Cristian Maglie
c21da3bedc Merge branch 'scheduler' 2012-10-11 15:13:15 +02:00
Fede85
1ff87e3e72 modified TWI handler 2012-10-10 17:35:34 +02:00
Cristian Maglie
2f8e766588 Reordered boards menu 2012-10-09 21:40:11 +02:00
Cristian Maglie
b2f1bce2ac Fixed pull-up. 2012-10-09 16:43:38 +02:00
Cristian Maglie
74c2705aff Added USB KeyboardController library 2012-10-08 19:38:01 +02:00
Cristian Maglie
a17c422b47 Updated MouseController library API 2012-10-08 15:47:13 +02:00
Cristian Maglie
84c7c3ed26 Renamed DA0/DA1 to DAC0/DAC1 (part 3......) 2012-10-05 20:20:27 +02:00
Cristian Maglie
681df8b291 Renamed DA0/DA1 to DAC0/DAC1 (part 2...) 2012-10-05 19:32:22 +02:00
Cristian Maglie
27d231b2cf Renamed DA0/DA1 to DAC0/DAC1 2012-10-05 09:50:41 +02:00
Massimo Banzi
86ae5cdfa4 added simple audio player example 2012-09-28 22:49:15 -04:00
Cristian Maglie
51797757e1 Audio library improved. (experiments with PDC) 2012-09-29 00:12:25 +02:00
Cristian Maglie
2071c00ba0 Assigned Serial to UART and SerialUSB to USB-CDC-ACM 2012-09-28 16:18:22 +02:00
Cristian Maglie
e7141291a5 Workaround for spurious port opening after upload (Arduino Due) 2012-09-25 19:50:35 +02:00
Cristian Maglie
e93ee6c547 Added Scheduler lib (alpha) 2012-09-25 10:48:06 +02:00
Cristian Maglie
9ceb20111d Moved Scheduler into 'scheduler' alpha branch 2012-09-25 10:47:15 +02:00
Cristian Maglie
a511ed6258 Added cooperative scheduler library (alpha) 2012-09-24 10:28:45 +02:00
Cristian Maglie
3598ad6613 Added MouseController class + example 2012-09-21 17:24:48 +02:00