1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00
Commit Graph

964 Commits

Author SHA1 Message Date
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
ae9b90603b Renaming serial config constants to, e.g., SERIAL_8N1. 2012-08-30 08:21:12 -04:00
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
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
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
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
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
116d32bb31 Temporary fix for cdc-acm on older MacOSX. 2012-08-25 18:01:50 +02:00
170870d9aa Removed unused boards/programmers 2012-08-25 16:31:25 +02:00
c3e44f363e Added some utility functions in libsam for TC. (Neil H.) 2012-08-24 22:15:23 +02:00
a267a8a774 First try to support architecture dependent query functions (digitalPinToPort, etc) 2012-08-24 20:53:24 +02:00
cae4d708e5 SPI: added setBitOrder support; added end(pin) method. 2012-08-24 15:23:50 +02:00
bdf3f19c34 Added include in Printable.h for 'size_t' support. 2012-08-24 10:55:33 +02:00
b7fce4207f Fixed USB-CDC buffering. Now serial output performs much better. 2012-08-21 12:50:12 +02:00
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
76850b1a0a Update hardware/arduino/cores/arduino/HardwareSerial.cpp
New Serial.begin(baud, config);
2012-08-14 19:55:13 +06:00
39bdce82cf Update hardware/arduino/cores/arduino/HardwareSerial.h
New Serial.begin(baud, config);
2012-08-14 19:52:00 +06:00
295337d9ba Update hardware/arduino/cores/arduino/HardwareSerial.cpp
New Serial.begin(baud, config);
2012-08-14 19:50:36 +06:00
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
fcf8cb4eb2 Merge branch 'master' of github.com:arduino/ARM 2012-08-14 10:05:28 +02:00
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
8985fefd62 [JCB] Add wifi for SAM3X (to be tested) 2012-08-13 17:05:59 +02:00
cf28ccfb06 Fixed linker script to allow growing stack+heap. 2012-08-13 14:44:30 +02:00
e2c98640c9 Fixed platforms.txt linker step. Increased stack size. 2012-08-13 12:45:36 +02:00
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
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
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
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
5aa4dafe21 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:18:50 +06:00
44556206a8 Fix for tone() on Leonardo. 2012-08-08 18:27:40 +09:00
1e496de034 Reintroduced pins_arduino.h for compatibility 2012-08-06 13:18:37 +02:00
8a729bcdcb Changed Due Board tags 2012-08-06 12:20:49 +02:00
3db052c5ad Fixed all boards.txt definitions in AVR arch. 2012-08-06 10:24:24 +02:00
00e029209d Reorganization of memory layout 2012-08-04 14:08:02 +02:00
5fa0d969af Merge branch 'audio'
Conflicts:
	hardware/arduino/sam/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a
	hardware/arduino/sam/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a.txt
	hardware/arduino/sam/variants/arduino_due_x/variant.h
2012-08-04 11:32:40 +02:00
181a3fbbe4 Extended analogRead/Write API to support difference ADC/DAC resolutions. 2012-08-04 11:27:46 +02:00
66747ec688 Added setAnalogResolution() method. 2012-08-01 13:40:41 +02:00
5131431d96 Some experiments about Audio buffering. DAC class added. 2012-08-01 11:51:29 +02:00
de30e38843 Audio lib: added DAC class and DMA interrupt handling 2012-07-29 01:57:12 +02:00
d83543cff1 Use "wiring" (not "stk500v2") avrdude protocol for uploads to Mega 2560.
It performs the auto-reset in avrdude.  Otherwise, some uploads seem to fail (possibly because it takes too long to launch avrdude from the IDE, so there's too much of a delay between the auto-reset done by the IDE and the upload).

http://code.google.com/p/arduino/issues/detail?id=806
2012-07-15 09:12:08 -04:00
00f8cdb931 Updated USBHost HID examples 2012-06-30 02:04:52 +02:00
7ae42f7e3a Removed validation tests 2012-06-30 01:24:58 +02:00
6036846ce3 Print "ovf" if float to be printed doesn't fit in a long.
http://code.google.com/p/arduino/issues/detail?id=967
2012-06-28 23:20:56 -04:00
b67a88a931 USBHost is now a library 2012-06-28 00:28:52 +02:00
06c0928192 Merged master 2012-06-27 13:51:16 +02:00
3ba2e37651 [sam] USBHost ADK+HID supported okay. Code is more documented. 2012-06-26 16:20:26 +02:00
b767ef2b57 Removed -mlong-calls (as suggested by Travis Geiselbrecht) 2012-06-26 00:54:38 +02:00
7c0dfc01a5 Added default extra_flags parameter to allow build on all boards 2012-06-26 00:52:05 +02:00
46aeeb4b29 Merged upstream Arduino master branch 2012-06-26 00:51:35 +02:00
6640bc9bd2 Added INPUT_PULLUP mode for pinMode command 2012-06-25 16:31:34 +02:00