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

912 Commits

Author SHA1 Message Date
Federico Fissore
2de631c67c borrowing WString.h from master 2013-05-09 11:20:15 +02:00
Federico Fissore
27b88aa523 Bridge lib moved bridge branch embedded into ide discovery branch 2013-05-09 11:15:36 +02:00
Cristian Maglie
444ede099d Added const modifier to String.c_str() 2013-05-06 18:10:29 +02:00
Federico Fissore
c09f941822 temporary switch to 328p specs 2013-05-06 12:31:04 +02:00
Federico Fissore
b7a177d89b adding 0x to PID/VID values 2013-05-06 12:31:03 +02:00
Federico Fissore
0b8489d31e boards.txt modified. java code updated 2013-05-06 12:31:02 +02:00
Federico Fissore
09f643972c boards.txt 2013-05-06 12:31:02 +02:00
Federico Fissore
6b6e9248d1 boards.txt 2013-05-06 12:31:02 +02:00
Federico Fissore
bf3daeb86c wrong esplora PID 2013-05-06 12:31:02 +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
Cristian Maglie
19e4d38725 Added c_str() method to String class. 2013-05-06 08:57:06 +02:00
Cristian Maglie
99f2a27553 Stream "_timeout" field and related methods are now protected instead of private.
This allows better optimization on classes that extends Stream without losing
timeout capabilities.
2013-05-06 08:52:31 +02:00
stimmer
00bc1639c4 Changed micros() to work in interrupts 2013-05-03 13:38:48 +02:00
Loren M. Lang
7c87db3532 Detect RAM usage and stop if full
This resolves issue #1356 and add the ability for the Arduino IDE to
detect the amount of RAM allocated to a sketch and compare that to the
available RAM on each board. If RAM is more than 90% full, it will fail
on building since there is not enough free RAM for the heap and stack to
use.
2013-04-22 17:48:22 -07: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
8eadd4893f Moved old production firmware to the right place 2013-04-17 17:52:36 +02:00
Cristian Maglie
f1221c8ebf Reverted to old board ids 2013-04-17 17:45:57 +02:00
Kristian Sloth Lauszus
c6e1a2f85c Set correct speed of Arduino ISP programmer 2013-04-06 01:59:25 +02:00
Kristian Sloth Lauszus
be9462e41e Added support for all variants of Sanguino 2013-04-04 20:55:15 +02:00
Cristian Maglie
62b723357c Merged 1.0.5
Merge remote-tracking branch 'arduino/master' into ide-1.5.x

Conflicts:
	app/src/processing/app/Base.java
	build/shared/revisions.txt
	hardware/arduino/avr/cores/arduino/malloc.c
	hardware/arduino/cores/arduino/avr-libc/malloc.c
	hardware/arduino/cores/arduino/malloc.c
	todo.txt
2013-04-03 13:51:04 +02:00
Cristian Maglie
b59784d50c Fix deprecated ISR names for ATmega8.
See #881
2013-03-29 15:17:54 +01:00
Cristian Maglie
f88c9847ac Removed deprecated interrupt handlers
Fixes #831 #881 #955 #1123 #1140
2013-03-29 14:41:36 +01:00
Cristian Maglie
d88236a033 Increased malloc margin to 128.
https://github.com/arduino/Arduino/pull/1329#issuecomment-15609148
See #857 #1329
2013-03-29 11:48:35 +01:00
Fede85
9e7dfb2a06 updated config() methods in WiFi library 2013-03-28 12:56:57 +01:00
Cristian Maglie
b92937b1fc Merge branch 'wifishield-bugfix' 2013-03-28 12:27:11 +01:00
Cristian Maglie
83dbd395f3 Merge remote-tracking branch 'mlafauci/wifishield-bugfix' into HEAD 2013-03-28 12:10:48 +01:00
Mimmo La Fauci
3c1fb4cc26 Fix print message on dhcp status 2013-03-26 22:26:21 +01:00
Mimmo La Fauci
7fa382099d Fix issue on client side 2013-03-26 19:49:19 +01:00
Mimmo La Fauci
c0a7131a8a Fixed issue loading the firmware with bootloader 2013-03-25 23:49:21 +01: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
a4c2062405 Backported malloc and realloc from avr-libc 1.8.0 (without test code)
See #857
2013-03-23 21:40:52 +01:00
Mimmo La Fauci
792056d62b Fix issue with multiple clients on WebServer 2013-03-22 13:42:12 +01:00
Mimmo La Fauci
dc3102d2f4 Added API to set static IP and DNS server 2013-03-21 09:24:07 +01:00
Cristian Maglie
f772be9032 Added version field to platform.txt 2013-03-21 09:20:29 +01:00
Cristian Maglie
1b0bff6f2c Merge remote-tracking branch 'mlafauci/wifishield-bugfix' into HEAD 2013-03-20 11:35:55 +01:00
Cristian Maglie
cad69358b4 Changed the way ARDUINO is defined inside platform.txt 2013-03-18 13:14:30 +01:00
Mimmo La Fauci
9c30c73c2b Fix issue related to multiple client opened on web server sketch 2013-03-17 19:23:16 +01:00
Mimmo La Fauci
6a83038ccd Commit Binary 2013-03-16 15:55:49 +01:00
Mimmo La Fauci
a00fedde2d Add info instead of printk 2013-03-16 15:55:29 +01:00
Mimmo La Fauci
2c35d715fc Fix problem on UDP NTP client 2013-03-16 15:08:08 +01:00
Mimmo La Fauci
85e0353588 Fixed issu con client.available to return the correct number of bytes 2013-03-16 12:33:50 +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
5e3d7f7ad2 Merge branch 'mega2560-bootloader' into HEAD 2013-03-11 12:52:49 +01:00
Fede85
466948605e changes in the script for upgrading the wifi shield 2013-03-11 01:01:02 +01:00
Cristian Maglie
15727e9a2d Merge remote-tracking branch 'arduino/master' into wifishield-bugfix 2013-03-10 23:22:48 +01:00
Cristian Maglie
deb309b831 Revert "Added function on WString class to export char ptr"
This reverts commit a0c96bebdd.
2013-03-10 23:03:25 +01:00
Mimmo La Fauci
901c908495 Updated binaries for Wifi shield 2013-03-10 22:56:22 +01:00
Mimmo La Fauci
271d74d7c3 Updates to WiFi shield firmware. 2013-03-10 22:55:21 +01:00
Cristian Maglie
f8ad1bc075 Fixed permissions 2013-03-07 22:12:28 +01:00
Cristian Maglie
8fa7d94a45 Mega2560 bootloader: use avr library functions for writing into EEPROM 2013-03-07 22:09:41 +01:00
Cristian Maglie
1066766bfa Mega2560 bootloader: fix wrong eeprom addressing 2013-03-07 22:00:26 +01:00
David A. Mellis
ebc35019be Use analogPinToChannel() macro if present for ATtiny25/45/85.
This allows use of A0, A1, A2, A3 constants and for them to be mapped to the appropriate analog input channel. It should only be used if the macro is actually defined.
2013-03-06 17:49:44 -05: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
51c36c7325 Slighty changed custom menu format: simplifies parsing 2013-03-03 11:31:31 +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
Federico Fissore
74e991c0db fixing PID for esplora 2013-02-13 13:33:43 +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
Mimmo La Fauci
a0c96bebdd Added function on WString class to export char ptr 2013-02-08 19:21:46 +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
Federico Fissore
110148877f wrong comment in Firmata.cpp. closes #786 #785 2013-01-10 14:53:20 +01:00
Cristian Maglie
cfd9889018 Imported Ehternet memory-leak fix into sam 2013-01-06 18:46:18 +01:00
Cristian Maglie
1da3752860 Merged upcoming 1.0.4 and updated revision log 2013-01-06 18:38:03 +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
Cristian Maglie
06ee62afc6 Fixed compile problems with avr gcc 4.6.2 (crosspack CrossPack-AVR-20121207.dmg) 2012-12-22 19:31:03 +01:00
Cristian Maglie
7625c33fcd Saved old production firmware for Mega2560 2012-12-22 19:25:20 +01:00
Cristian Maglie
8e1f62667b Added patch to bootloader for Mega2560. (Mark Sproul)
See #181 #392 #505 #543 #544
2012-12-22 19:20:42 +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
38c05d2742 Merged 1.0.4 pre-release into 1.5 2012-12-17 16:53:45 +01:00
Cristian Maglie
141684d410 Add trivial new[] and delete[] operators (Justin R. Cutler)
Fixes #73
Fixes #883
2012-12-16 14:30:12 +01:00
Cristian Maglie
d457332664 Fixed malloc() bug. (Paul Stoffregen)
Fixes #857
2012-12-16 14:16:35 +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
059ceedf91 Burn production-tested bootloader for very old Atmega8 2012-12-10 16:08:23 +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
2b66d840b4 Fixed some firmware filenames 2012-12-10 10:35:19 +01:00
David A. Mellis
a1582fe973 Moving TXCO definition into HardwareSerial.cpp from HardwareSerial.h.
Otherwise, you get an error when compiling for processors with no serial port because the header file is always compiled.

See, for an example of the problem: https://github.com/damellis/attiny/issues/8
2012-12-08 10:44:48 -05:00
Cristian Maglie
bc6836f266 Added Esplora precompiled firmware 2012-12-07 21:24:24 +01:00
Cristian Maglie
948a5c89e4 Added support for Arduino Esplora 2012-12-07 18:11:07 +01:00
Cristian Maglie
1ca95a7bda Updated firmware for atmega8 for new avr-gcc versions.
fixes #153
fixes #1122
2012-11-30 23:15:30 +01:00
Cristian Maglie
ad93a18b85 Saved old Leonardo and Micro production firmware.
Rebuilt firmware for Micro.
Added pre-loaded Blink to new firmwares.
2012-11-30 16:34:04 +01:00
Kristian Lauszus
ef6f1eb11d Improved Leonardo bootloader
The power-on reset detection didn't work properly, but has now been
fixed
2012-11-30 15:32:11 +01:00
Cristian Maglie
554c211ec4 Leonardo pins_arduino.h fixes (jrcutler)
fixes #915
2012-11-30 15:14:16 +01:00
David A. Mellis
0e0715abd3 Clarifying comment. 2012-11-29 13:55:59 -05:00
David A. Mellis
e7a31301e5 Moving TXCO definition into HardwareSerial.cpp from HardwareSerial.h.
Otherwise, you get an error when compiling for processors with no serial port because the header file is always compiled.

See, for an example of the problem: https://github.com/damellis/attiny/issues/8
2012-11-29 13:48:01 -05:00
mlf
825d68a9c7 Issue #9: Connection dies after a few seconds
Issue 1024: TCP connections die after few seconds of inactivity
2012-11-28 13:16:58 +01:00
Cristian Maglie
dfb3cab853 Extended digital_pin_to_timer_PGM array in variants/leonardo/pins_arduino.h to include analog pins (fixed #1129) 2012-11-25 15:46:34 +01:00
Cristian Maglie
f90e200a34 Fixed boards.txt (added Micro and fixed path for LilyPadUSB bootloader) 2012-11-25 15:10:29 +01:00
Zachary Eveland
d92a86f7b7 Caterina changes to support Micro. includes newly rebuilt version of the bootloader merged with Blink produced using 1.0.2 2012-11-23 16:09:32 -05: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
23c7536dc7 Merged 1.0.2
Merge remote-tracking branch 'arduino/master' into ide-1.5.x

Conflicts:
	app/src/processing/app/debug/AvrdudeUploader.java
	build/shared/examples/09.USB/Keyboard/KeyboardLogout/KeyboardLogout.ino
	build/shared/examples/09.USB/Keyboard/KeyboardReprogram/KeyboardReprogram.ino
	build/shared/examples/09.USB/Keyboard/KeyboardSerial/KeyboardSerial.ino
	build/shared/examples/09.USB/Mouse/ButtonMouseControl/ButtonMouseControl.ino
	build/shared/examples/09.USB/Mouse/JoystickMouseControl/JoystickMouseControl.ino
	hardware/arduino/boards.txt
2012-11-04 22:49:14 +01:00
Cristian Maglie
d5e7d0dabd Fixed verbose upload. Removed unused platform.txt params. 2012-11-04 01:05:54 +01:00
Cristian Maglie
a64d58fbdb Merge remote-tracking branch 'ffissore/boards-cputype' into ide-1.5.x 2012-11-04 00:31:41 +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
David A. Mellis
839b58c1ae Updating Micro bootloader firmware. 2012-11-02 17:45:57 -04: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
7b946264d5 Added general yield()-hook for cooperative scheduling development (part 2) 2012-11-02 18:12:21 +01:00
David A. Mellis
036f0465e5 HardwareSerial: change byte to uint8_t (since byte definition isn't present). 2012-11-02 09:24:51 -04:00
David A. Mellis
f689991a59 Adding LilyPad Arduino USB. 2012-11-01 10:45:50 -04:00
Federico Fissore
d82c8dff7a updated boards.txt 2012-10-31 18:08:03 +01:00
Federico Fissore
f500462ff0 updated boards.txt 2012-10-31 18:03:06 +01:00
Federico Fissore
76d25e4a25 updated boards.txt 2012-10-31 17:53:40 +01:00
Federico Fissore
1f8b12488b updated boards.txt 2012-10-31 17:48:47 +01:00
Cristian Maglie
107c1929bd Added general yield()-hook for cooperative scheduling development 2012-10-31 01:37:37 +01:00
Federico Fissore
9b7f473fae new boards menu with custom submenus
https://code.google.com/p/arduino/issues/detail?id=257
2012-10-29 16:40:49 +01:00
David A. Mellis
ac1c8f921b Adding Micro. 2012-10-27 14:12:26 -04:00
Cristian Maglie
cf4d72c043 Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x 2012-10-26 20:22:11 +02:00
Cristian Maglie
921dfe794f {attach/detach}Interrupt() functions. 2012-10-26 20:17:34 +02:00
Fede85
10c87ce65d fixed verbose mode for avrdude in platform.txt 2012-10-26 13:06:08 +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
Cristian Maglie
39aae0be01 Moved WiFi library in the proper place 2012-10-22 09:17:24 +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