1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-25 06:22:11 +03:00
Commit Graph

190 Commits

Author SHA1 Message Date
ef4abb62b0 [sam] adding libraries into hw/core/sam 2011-07-10 12:18:38 +02:00
e1912bf9bd [sam] modified files following previous push 2011-07-10 12:16:31 +02:00
5df1f6c7dc [sam] removing old cmsis folder 2011-07-10 12:15:06 +02:00
43b599ddfb [sam] adding CMSIS 2.00 release to obtain benefit of DSPLib 2011-07-10 11:56:19 +02:00
d1e8402cbc Adding additional files. 2011-06-25 12:53:35 -04:00
05d622f3ac Adapting Rick's platform work to other platform changes. 2011-06-25 12:51:56 -04:00
f7f9f78b5a Merge remote branch 'ricklon/platforms' into new-extension 2011-06-25 11:08:42 -04:00
dacfa86223 Addtional debuggin. Trying to find the pins compile issue. 2011-06-22 21:20:45 -06:00
32231aac95 Adding sam bootloaders folder 2011-06-21 01:07:24 +02:00
37b2409f28 Modifying Arduino.h to reflect outer changes 2011-06-21 01:05:39 +02:00
c6850d60b7 Adding mk files for future use and readme 2011-06-21 01:03:39 +02:00
1a57af05dd Removing unused file board.h 2011-06-21 00:51:55 +02:00
37fe55e52e Updating files as done last week with David 2011-06-21 00:48:47 +02:00
ad017bf01b Renaming board files to variant.* 2011-06-21 00:47:56 +02:00
7c708132c1 Moving sam3s peripheral library to more global sam library 2011-06-21 00:42:25 +02:00
61c55be1cb Removing wrong file from sam3s-ek variant folder 2011-06-21 00:32:32 +02:00
01f726a0e1 Adding linker and deubg scripts 2011-06-21 00:31:20 +02:00
fabdccef78 Deleting unused pins.txt 2011-06-21 00:26:34 +02:00
ec51290d86 Renaming pins folders to variants 2011-06-21 00:25:24 +02:00
dedf1b5fc3 Adding README file at root of tools folders 2011-06-21 00:22:54 +02:00
f4fdcb6e8e Moving all AVR specific libraries to hardware/avr 2011-06-21 00:20:43 +02:00
3da8227878 Removing CodeSourcery toolchain from GIT 2011-06-21 00:08:25 +02:00
be2c9273c2 Adding SAM specific libraries 2011-06-21 00:03:22 +02:00
aa01546b55 Switched to a nonconflicting delimeter |. Compile process is working. Need to make sure that it matches 1.0 process exactly. 2011-06-17 22:12:21 -04:00
67c9dfc667 A bit of cleanup. Delimeter not figured out yet. 2011-06-17 00:54:58 -04:00
b0556c2e74 Changed :: to , for platforms.txt. Also, changes to compile process to support execAsynchronously changed to Stringp[] 2011-06-15 23:04:38 -04:00
7c9a03410f Renaming platform components. 2011-06-14 23:49:47 +02:00
58de95a905 Added platforms.txt, and update boards.txt with platform=avr 2011-06-06 21:57:11 -04:00
6f1482baba Adding Atmel SAM3 specific files 2011-06-01 01:54:47 +02:00
65ce0cd0a2 Modified syscalls.* to fit CPP compilation 2011-06-01 01:53:32 +02:00
49b03a0ea7 Putting back all vectors to libchip (Core based) 2011-06-01 01:24:23 +02:00
799c348db5 Adding needed folder for CS 2011-06-01 00:04:17 +02:00
fdfdd0b4bf Adding minimal libboard with lowlevel init and vectors 2011-05-31 23:17:52 +02:00
f08e822b17 Adding libchip_sam3s into tools, needed to add all SAM3S peripheral drivers 2011-05-31 23:09:42 +02:00
4e0df49a5d Adding CodeSourcery just in case of, to be removed later 2011-05-31 22:04:30 +02:00
2711c9910b Fixing 300 baud communication for serial.
Because UBBR is only 12 bits, we were overflowing it at 300 baud because of the use of the U2X bit.  Now we turn off U2X if it would yield a UBBR value that would overflow.

Note that this breaks 300 baud communication with the computer on the Uno and Mega 2560 because the 8U2 USB-serial firmware has this same bug (and previously they cancelled each other out).  Since, however, it seems more likely that people will need to use 300 baud to communicate with other (legacy) hardware than with the computer, I'm making this change.  Issue for 8U2 firmware bug: http://code.google.com/p/arduino/issues/detail?id=542

http://code.google.com/p/arduino/issues/detail?id=522
2011-05-20 13:29:13 -04:00
8c0fdf1e43 Small optimization in HardwareSerial.
begin(long) -> begin(unsigned long)

Conflicts:

	hardware/arduino/cores/arduino/HardwareSerial.h
2011-05-12 16:58:56 -04:00
1747292711 Optimizing printing of numbers (writing a single buffer).
Fix from Bill Greiman via Limor.
2011-05-07 18:17:32 -04:00
cf044cd236 Adding serialEvent(), serialEvent1(), etc.
Called from within the serial receive interrupt.  These are implemented as an empty weak function in the core that be overridden by the user's sketch.

http://code.google.com/p/arduino/issues/detail?id=263
2011-05-07 13:04:13 -04:00
c740778bf6 Refactoring the UART0 / USART0 receive interrupt handler. 2011-05-07 12:47:43 -04:00
694b8ad392 Changing Serial.flush() to write outgoing data, not drop incoming data.
This brings it in line with most other uses of flush(), both in and out of Arduino.
http://code.google.com/p/arduino/issues/detail?id=497
2011-05-07 12:05:27 -04:00
d12fe18480 Restoring concatenation of built-in types with String. 2011-03-31 10:56:14 -04:00
0ac0dcf158 Adding F("foo") syntax for flash strings. 2011-03-27 15:06:20 -04:00
e3c7a54725 String: removing implicit numeric conversions and new approach to "if (s)".
This makes explicit the String constructors that take numeric types and chars and removes the versions of concat() and operator=() and operator+() that accept numberic types.

It also replaces the operator bool() with a operator that converts to a function pointer.  This allows for uses like "if (s)" but not "s + 123".  See: http://www.artima.com/cppsource/safebool.html.  This allowed removing the disambiguating operator+() functions and relying solely on StringSumHelper and anonymous temporaries once again.

Also, now treating unsigned char's like int when constructing Strings from them, i.e. String(byte(65)) is now "65" not "A".  This is consistent with the new behavior of Serial.print(byte).
2011-03-26 18:52:54 -04:00
efae89ea0e Commenting String API behavior. 2011-03-23 22:42:05 -04:00
7d4073ef73 Return an invalid string (not a partial one) when operator+() fails. 2011-03-19 11:14:17 -04:00
d3a5532d13 Starting to distinguish between empty strings and invalid (null) ones. 2011-03-18 21:45:27 -04:00
6f3ceb399d Protecting String copy() and move(). 2011-03-13 19:39:04 -04:00
488e672ea0 Adding additional String + operators for disambiguation.
The operator bool() means that you could implicitly convert a String to a bool and then add it to it an int, for example.  Which means our operator+ has to match exactly or it will be ambiguous.
2011-03-13 19:31:10 -04:00
cc24d41b74 Moving move() to __GXX_EXPERIMENTAL_CXX0X__ only, adding operator bool(). 2011-03-13 16:46:06 -04:00