David A. Mellis
b73cf39d94
Moving write errors out of return value into separate API methods.
...
write(), print(), println() now return size_t (and don't use negative values to signal errors).
Print adds writeError() for checking for write errors, clearWriteError() to reset the flag to false, and a protected setWriteError() for signalling errors.
http://code.google.com/p/arduino/issues/detail?id=598
2011-08-26 16:08:14 -04:00
David A. Mellis
929597375b
Changing from long to ssize_t (int) for write(), print(), println() return.
2011-08-26 14:20:41 -04:00
David A. Mellis
3f0b7f21c2
Updating Mac OS X .app version to 1.0-beta2.
2011-08-26 13:34:25 -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 Mellis
bd6c90e5b8
Setting Arduino icon for serial monitor window.
...
http://code.google.com/p/arduino/issues/detail?id=564
2011-08-24 11:57:58 -04:00
David A. Mellis
0020105283
Also updating serial port display from "Serial port not found" dialog.
2011-08-24 11:55:24 -04:00
David A. Mellis
91a94cbe7e
Removing "board: " prefix from line status bar.
2011-08-24 11:50:02 -04:00
David A. Mellis
365d4acf6e
Merge remote-tracking branch 'cmaglie/port-on-statusbar' into new-extension
2011-08-24 11:46:18 -04:00
David A. Mellis
d501a9ba0e
Single-click to open a URL / link (rather than double-click).
2011-08-24 11:35:12 -04:00
David A. Mellis
8ea35d4e6d
Merge remote-tracking branch 'cmaglie/schematics-view' into new-extension
2011-08-24 11:32:19 -04:00
Cristian Maglie
71dd5dd534
Selected board and serial port on status bar.
2011-08-24 16:53:57 +02:00
Cristian Maglie
0fca78cc7e
Fixed position of the Label of command buttons.
2011-08-24 11:36:14 +02:00
Cristian Maglie
88794ec1d6
Double-click now opens URL (right-click still shows "Open URL" in popup
...
menù).
2011-08-24 10:42:58 +02: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
Cristian Maglie
303b2e5103
Removed arrow.
2011-08-23 19:29:36 +02:00
Cristian Maglie
f233861a4c
URL right-clickable and underlined.
2011-08-23 19:21:42 +02:00
Cristian Maglie
6886910f3d
Serial button on the right.
2011-08-22 18:24:13 +02:00
Cristian Maglie
d60c42e5ed
Clickable url are now searched with a good regexp and highlighted.
2011-08-19 22:32:34 +02:00
Cristian Maglie
a6c8753a80
Schematic URL. Actually tag is "@schematics <url>" that should be put
...
inside code comments.
2011-08-19 19:51:02 +02: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
ac3f093b76
Revert "Added Schematic view (from wiring)."
...
This reverts commit ccb318c2ab
.
2011-08-18 14:54:42 -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
David A. Mellis
fc90fa7d9d
Showing progress during compilation as well as upload.
2011-08-16 17:51:19 -04:00
David A. Mellis
53ab9306e2
Merge remote-tracking branch 'cmaglie/new-extension' into new-extension
2011-08-16 17:42:15 -04:00
Cristian Maglie
ccb318c2ab
Added Schematic view (from wiring).
2011-08-16 20:38:23 +02:00
Cristian Maglie
3fc96366b1
Fixed projects setting to make it compile again inside Eclipse IDE
2011-08-16 19:57:39 +02:00
Cristian Maglie
42943b4de3
Added progressbar (from wiring)
2011-08-16 19:52:31 +02: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
81948ea4bf
added Peter's .inf (uses VID/PID 0x2341/0x0020)
2011-08-14 16:16:40 -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
87898da8f6
updated avrdude.conf to support 32u4 on Windows, OS X and LInux
2011-08-11 11:20:00 -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
fcbbf8f4b4
Merge remote branch 'ricklon/platforms' into platforms
2011-07-17 11:45:40 -04:00