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

824 Commits

Author SHA1 Message Date
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
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
David A. Mellis
7e12aebbdb Updating USB core to work at 8 MHz (different PLLCSR value). 2012-10-18 15:03:23 -04: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
Cristian Maglie
289b836046 Merged latest changes in AVR arduino core 2012-10-18 18:47:50 +02:00
David A. Mellis
d4666fad97 Removing "Dev. Ed." naming from Due boards. 2012-10-18 10:18:34 -04:00
Cristian Maglie
b95a015284 Moved 'firmware' folder in the proper place 2012-10-18 16:01:53 +02:00
Cristian Maglie
aba27c43aa Merged upstream arduino branch 2012-10-18 15:50:09 +02:00
Federico Fissore
9125436bb0 Merge branch 'master' into boards-cputype 2012-10-15 23:23:37 +02:00
Federico Fissore
a6b892ed35 boards and cpu type menus 2012-10-15 22:48:12 +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
David A. Mellis
23c2a9618c Adding ATmega644P check to ATmega1284P check. 2012-10-09 13:53:09 -04: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
1e221116f3 Moved SD lib into root libraries folder 2012-09-24 12:42:23 +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
Cristian Maglie
31719589b2 Fixed micros()-not-monothonic bug 2012-09-21 11:50:52 +02:00
Cristian Maglie
d994e48c55 Delayed static object construction after hardware setup 2012-09-19 16:23:39 +02:00
Cristian Maglie
8cefac5d3b Changed SPI default speed to 4MHz 2012-09-17 15:47:17 +02:00
David A. Mellis
9dc3810f41 Merge branch 'master' of ../wifishield 2012-09-13 10:42:25 -04:00
David A. Mellis
a536108ee2 Moving into firmwares directory. 2012-09-13 10:41:16 -04:00
David A. Mellis
8ea885bdf0 Moving ATmegaXXU2 firmwares into subdirectory. 2012-09-13 10:39:59 -04:00
David A. Mellis
532a46a74b Moving ATmega32U4 Timer 2 #undef's to Leonardo pins_arduino.h file. 2012-09-13 09:19:52 -04:00
David A. Mellis
47714c3d2c Merge pull request #102 from sgk/leonardoTone
Fix for tone() on Leonardo.
2012-09-13 06:07:10 -07:00
Peter Van Hoyweghen
6ab2a9f95e Avoid serial buffer overrun on leonardo 2012-09-13 08:46:45 -04:00
Cristian Maglie
d4efbf730e Refactored auto-reset methods. 2012-09-11 23:24:00 +02:00
Jean-Christophe
c5a346a509 Correct HID, the send is now done in one time 2012-09-11 17:26:50 +02:00
Jean-Christophe
49f03a77f5 Add test J/K/packet/SE0_NAK, for usb.org process 2012-09-11 14:21:47 +02:00
Cristian Maglie
d21f734357 Merge branch 'master' into upload-16u2
Conflicts:
	hardware/arduino/sam/cores/arduino/USB/CDC.cpp
	hardware/arduino/sam/cores/arduino/USB/USBCore.cpp
2012-09-10 14:53:49 +02:00
Cristian Maglie
5f23172cc4 Updated libsam binary 2012-09-10 00:22:36 +02:00
Jean-Christophe
3a61bc4bd3 usbcv chapter 9 tests: passed 2012-09-09 23:46:07 +02:00
Jean-Christophe
22c828def0 update for USB, USB High Speed software, for betatest, need some improvment. USBCV not passed, USB3.0 passed 2012-09-09 23:45:42 +02:00
Jean-Christophe
656b83b1a7 correct CDC transmit, add device qualifier. 2012-09-09 23:42:29 +02:00
Cristian Maglie
9a505d25b2 Added optimized write(buffer,size) method in CDC class 2012-09-09 23:41:44 +02:00
Cristian Maglie
d96264e60f Upload over debug port (part 2) 2012-09-08 00:55:37 +02:00
Cristian Maglie
ca74c94ae5 Upload over debug port 2012-09-07 15:59:44 +02:00
Cristian Maglie
9b027224a0 LiquidCrystal library is already multiplatform compliant, moved into libraries folder 2012-09-03 16:13:28 +02:00
David A. Mellis
a374e8b766 Changing setting of the UMSELn bits (for UART mode) and serial config values.
Before, the UMSELn1 bit was being to set to 1, putting the UART into a reserved mode. Now, we only set the high (0x80) bit to 1 for the ATmega8, which is needed to access UCSRnC (whose i/o address is shared with UBRRH).

Also, no longer bitwise-or the new config with the existing register value, because we're actually configuring all the settings in the register. (We're not using UCPOL, but it's supposed to be 0 in asynchronous mode.)
2012-08-30 08:47:35 -04:00
David A. Mellis
ae9b90603b Renaming serial config constants to, e.g., SERIAL_8N1. 2012-08-30 08:21:12 -04:00
David A. Mellis
a72d05b2de Merge pull request #109 from Alarus/master
Serial.begin() parameter to set data bits, parity, stop bits.
2012-08-30 05:08:28 -07:00
David A. Mellis
cd43ca3f7f Fixing Serial.flush() breakage on Leonardo (WestFW).
http://code.google.com/p/arduino/issues/detail?id=1020
2012-08-30 07:44:25 -04:00
David A. Mellis
24c8bf8081 Fixing ATmega8 breakage from flush() change. (WestFW)
http://code.google.com/p/arduino/issues/detail?id=1019
2012-08-29 20:52:30 -04:00
David A. Mellis
222d51e383 Adding overloads so Serial.write(0) works.
http://code.google.com/p/arduino/issues/detail?id=1006
2012-08-29 16:32:05 -04:00
David A. Mellis
f9f1d3af3c Serial.flush() waits for last character to be transmitted (michele.mazzucchi)
http://code.google.com/p/arduino/issues/detail?id=871
2012-08-28 08:02:54 -04:00
Cristian Maglie
116d32bb31 Temporary fix for cdc-acm on older MacOSX. 2012-08-25 18:01:50 +02:00
Cristian Maglie
170870d9aa Removed unused boards/programmers 2012-08-25 16:31:25 +02:00
Cristian Maglie
c3e44f363e Added some utility functions in libsam for TC. (Neil H.) 2012-08-24 22:15:23 +02:00
Cristian Maglie
a267a8a774 First try to support architecture dependent query functions (digitalPinToPort, etc) 2012-08-24 20:53:24 +02:00
Cristian Maglie
cae4d708e5 SPI: added setBitOrder support; added end(pin) method. 2012-08-24 15:23:50 +02:00
Cristian Maglie
bdf3f19c34 Added include in Printable.h for 'size_t' support. 2012-08-24 10:55:33 +02:00
Cristian Maglie
b7fce4207f Fixed USB-CDC buffering. Now serial output performs much better. 2012-08-21 12:50:12 +02:00
Adam Dunlap
e223f8eb9c Fix issue 866
Fix issue 866 by adding a const qualifier to what the F macro casts to.
2012-08-16 20:59:33 -07:00
Alarus
76850b1a0a Update hardware/arduino/cores/arduino/HardwareSerial.cpp
New Serial.begin(baud, config);
2012-08-14 19:55:13 +06:00
Alarus
39bdce82cf Update hardware/arduino/cores/arduino/HardwareSerial.h
New Serial.begin(baud, config);
2012-08-14 19:52:00 +06:00
Alarus
295337d9ba Update hardware/arduino/cores/arduino/HardwareSerial.cpp
New Serial.begin(baud, config);
2012-08-14 19:50:36 +06:00
Cristian Maglie
0521a233d1 Merge branch 'new-linker'
Conflicts:
	hardware/arduino/sam/variants/arduino_due_x/linker_scripts/gcc/flash.ld
2012-08-14 10:08:55 +02:00
Cristian Maglie
fcf8cb4eb2 Merge branch 'master' of github.com:arduino/ARM 2012-08-14 10:05:28 +02:00
Cristian Maglie
df19935d31 Auto restart after upload (linux only for now). Auto reset/erase when uploading a new sketch. 2012-08-14 10:05:02 +02:00
Jean-Christophe
8985fefd62 [JCB] Add wifi for SAM3X (to be tested) 2012-08-13 17:05:59 +02:00
Cristian Maglie
cf28ccfb06 Fixed linker script to allow growing stack+heap. 2012-08-13 14:44:30 +02:00
Cristian Maglie
e2c98640c9 Fixed platforms.txt linker step. Increased stack size. 2012-08-13 12:45:36 +02:00
Alarus
655ca80b29 Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 22:07:42 +06:00
Alarus
5a420c034e Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 21:35:48 +06:00
Alarus
c8490c9f7b Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 20:57:57 +06:00
Alarus
0b44fb7f73 Update hardware/arduino/cores/arduino/HardwareSerial.h
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 20:23:00 +06:00