David A. Mellis
929597375b
Changing from long to ssize_t (int) for write(), print(), println() return.
2011-08-26 14:20:41 -04:00
Zach Eveland
eebe997dce
bugfix - Serial.write() would try to send even if no CDC connection was open.
2011-08-24 21:04:30 -04:00
Zach Eveland
ff5fe87864
changed auto-reset method for upload: now triggered by opening port at 1200 bps
2011-08-24 17:12:28 -04:00
David A. Mellis
8059abe581
write(), print(), and println() now return number of bytes written.
...
The type is long, and negative values indicate errors. Needs more testing.
http://code.google.com/p/arduino/issues/detail?id=551
2011-08-23 19:12:03 -04:00
David A. Mellis
b788ad593f
Distinguishing those boards with eight analog inputs (Fio, BT, Nano, Mini).
...
http://code.google.com/p/arduino/issues/detail?id=499
2011-08-23 17:29:20 -04:00
David A. Mellis
d00f0949ed
Renaming pins/ directory to the more generic variants/
...
http://code.google.com/p/arduino/issues/detail?id=588
2011-08-23 17:07:39 -04:00
Zach Eveland
dd539bacf8
USB microcontrollers will call USB.attach() after init(), before setup()
2011-08-18 19:59:35 -04:00
Zach Eveland
5b989d13b3
HW Serial on pins 0 and 1 works. Accessed by Serial1.* methods
2011-08-18 19:40:04 -04:00
David A. Mellis
4b0a87b405
Stream.readBytesUntil() now writes null terminator within length.
2011-08-18 15:13:47 -04:00
David A. Mellis
cb39ad9739
A few API changes to new Stream parsing functions.
...
Renamed readChars() -> readBytes(), readCharsUntil() -> readBytesUntil().
Changed timeouts to milliseconds from seconds; default from 5 to 1 seconds.
Removed readCharsBetween().
2011-08-17 14:16:47 -04:00
David A. Mellis
682b58e577
Integrating Stream searching & parsing (Michael Margolis)
...
This from Michael's TextFinder library, incorporated into the Stream class: find(), findUntil(), parseInt(), parseFloat(), readChars(), readCharsUntil(), readCharsBetween(), setTimeout().
2011-08-17 13:53:49 -04:00
Zach Eveland
e3848670a7
Temporary fix for auto-reset from IDE. Will reset chip when DTR is asserted, no matter what CDC baud rate is selected.
2011-08-16 13:43:55 -04:00
Zach Eveland
3f6df054ee
Serial via USB works
...
Integrated rest of Peter's USB implementation
2011-08-14 16:59:34 -04:00
Zach Eveland
e254d2989d
LEDs for D13, TX, and RX are more in line with Uno-like behavior during sketch uploading.
...
D13 flashes on reboot, TX and RX flash with USB data transfer.
2011-08-14 16:02:16 -04:00
Zach Eveland
c149be22f7
rebuilt Diskloader, added LED control macros for Leonardo, removed Microtouch defines
2011-08-14 15:11:23 -04:00
Zach Eveland
13a269df2e
increased bootloader delay to approx. 3.5 s
2011-08-14 14:29:44 -04:00
David A. Mellis
d338f22bde
Adding basic macros for analog + digital pin information.
...
http://code.google.com/p/arduino/issues/detail?id=495
2011-08-12 18:27:00 -04:00
David A. Mellis
f179794a45
Adding pin-change interrupt pin mapping macros to pins_arduino.h.
...
http://code.google.com/p/arduino/issues/detail?id=490
2011-08-12 17:31:22 -04:00
David A. Mellis
f14fd94d0e
Adding SCL, SDA, and LED #defines.
2011-08-12 16:59:24 -04:00
Zach Eveland
213091f487
cleaned up types. set D5 as not a PWM pin for now.
2011-08-11 14:16:13 -04:00
Zach Eveland
9b954df303
committed USB API, initial HardwareSerial-USBSerial integration
2011-08-11 14:08:38 -04:00
Zach Eveland
0ecdd723cf
diskloader source and binary for 32u4
2011-08-11 10:31:39 -04:00
Zach Eveland
cdf887b10b
support for 32u4 and Leonardo pins, uploading, and bootloader programming
2011-08-10 23:36:36 -04:00
Thibaut VIARD
2260c6875d
[sam] Adding CMSIS 2.10
2011-08-08 16:58:06 +02:00
Thibaut VIARD
32f3cf5734
[sam] removing CMSIS 2.0 before introduction of 2.1
2011-08-08 16:47:13 +02:00
David A. Mellis
d9dcc66232
[sam] fixing compilation in IDE (changing some #includes).
2011-07-17 09:50:36 -04:00
aethaniel
25e3924dda
[sam] Implementing timings and delay functions
2011-07-14 01:18:08 +02:00
aethaniel
2713ec4dca
[sam] Fixing wrong reference to Wait() and some cosmetics
2011-07-14 00:10:48 +02:00
aethaniel
3707a81640
[sam] fixing pure virtual link errors
2011-07-13 23:59:20 +02:00
aethaniel
6c6038f81a
[sam] adding wiring_digital and validation app
2011-07-13 01:20:40 +02:00
aethaniel
03c064e946
[sam] state-of-the-art commit
2011-07-11 01:51:24 +02:00
aethaniel
ef4abb62b0
[sam] adding libraries into hw/core/sam
2011-07-10 12:18:38 +02:00
aethaniel
e1912bf9bd
[sam] modified files following previous push
2011-07-10 12:16:31 +02:00
aethaniel
5df1f6c7dc
[sam] removing old cmsis folder
2011-07-10 12:15:06 +02:00
aethaniel
43b599ddfb
[sam] adding CMSIS 2.00 release to obtain benefit of DSPLib
2011-07-10 11:56:19 +02:00
David A. Mellis
c93fd746c4
Disabling terminal / monitor.
2011-06-29 22:48:07 -04:00
David A. Mellis
d1e8402cbc
Adding additional files.
2011-06-25 12:53:35 -04:00
David A. Mellis
05d622f3ac
Adapting Rick's platform work to other platform changes.
2011-06-25 12:51:56 -04:00
David A. Mellis
486e14aae3
Fixing linker command line argument.
2011-06-25 11:50:52 -04:00
David A. Mellis
7e1e9bfea2
Merge branch 'new-extension' into platforms
2011-06-25 11:40:12 -04:00
David A. Mellis
f7f9f78b5a
Merge remote branch 'ricklon/platforms' into new-extension
2011-06-25 11:08:42 -04:00
ricklon
dacfa86223
Addtional debuggin. Trying to find the pins compile issue.
2011-06-22 21:20:45 -06:00
Thibaut VIARD
32231aac95
Adding sam bootloaders folder
2011-06-21 01:07:24 +02:00
Thibaut VIARD
37b2409f28
Modifying Arduino.h to reflect outer changes
2011-06-21 01:05:39 +02:00
Thibaut VIARD
c6850d60b7
Adding mk files for future use and readme
2011-06-21 01:03:39 +02:00
Thibaut VIARD
1a57af05dd
Removing unused file board.h
2011-06-21 00:51:55 +02:00
Thibaut VIARD
37fe55e52e
Updating files as done last week with David
2011-06-21 00:48:47 +02:00
Thibaut VIARD
ad017bf01b
Renaming board files to variant.*
2011-06-21 00:47:56 +02:00
Thibaut VIARD
7c708132c1
Moving sam3s peripheral library to more global sam library
2011-06-21 00:42:25 +02:00
Thibaut VIARD
61c55be1cb
Removing wrong file from sam3s-ek variant folder
2011-06-21 00:32:32 +02:00