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

548 Commits

Author SHA1 Message Date
Martino Facchin
0bdcafd00d publish sam core 1.6.9 2016-07-25 13:27:26 +02:00
Sandeep Mistry
05be7ce395 Port #4667 to SAM core 2016-07-18 15:10:09 -04:00
Sandeep Mistry
98134a4aee Merge pull request #4718 from mattb5906/new-feature/stream-timeout-get-4680
Add getTimeout accessor method.
2016-07-18 14:18:59 -04:00
Sandeep Mistry
f49c7ae3de Make String::move of an invalidated String result in an invalidated String 2016-07-12 17:29:13 -04:00
Arturo Guadalupi
e90cf55143 Merge pull request #5018 from sandeepmistry/sam-SerialUSB.availableForWrite
SAM: Add Serial_::availableForWrite
2016-07-07 18:12:27 +02:00
Arturo Guadalupi
3d92deb7a3 Merge pull request #4813 from sandeepmistry/sam-i2c-symbols
Port SDA and SCL symbols to SAM
2016-07-07 17:49:39 +02:00
Cristian Maglie
b599c4d694 Update revision log. Made samd/WString.h identical again to avr version. 2016-06-28 21:00:09 +02:00
Christopher Andrews
0e8904350d Modified begin() & end() for read/write
begin() and end() only allowed read access, these changes now allow both.
2016-06-28 20:58:38 +02:00
Sandeep Mistry
d69c372986 Add Serial_::availableForWrite 2016-06-06 10:13:18 -04:00
jantje
43a8c3868e fix for #4993 2016-05-29 16:00:16 +02:00
Martino Facchin
388592e416 update SAM core to 1.6.8 2016-05-10 10:18:36 +02:00
Martino Facchin
8807a0d1cd add support for remote upload on Yun shield 2016-05-10 10:13:51 +02:00
Cristian Maglie
7cd88df271 sam: added {upload.verify} option in platform.txt 2016-04-28 15:36:56 +02:00
Cristian Maglie
66c9303bf0 Merge branch 'sam-recipe_ar_pattern-backwards-compatibility' of https://github.com/sandeepmistry/Arduino 2016-04-26 17:30:45 +02:00
Cristian Maglie
9492d5ee05 Removed extra whitespaces in WString.h 2016-04-20 20:30:24 +02:00
Cristian Maglie
1c76ee9d7c Added string iterator in sam core.
See #2179
2016-04-20 17:07:54 +02:00
Sandeep Mistry
c2c3f4623c Correct NUM_DIGITAL_PINS to include analog pins 2016-04-05 12:11:06 -04:00
Cristian Maglie
e9ac544f23 Merge branch 'sam-analogInputToDigitalPin' of https://github.com/sandeepmistry/Arduino 2016-04-05 17:19:15 +02:00
Sandeep Mistry
9795f2d23a Sync avr/pgmspace.h entries with SAMD core
Some entries were missing.
2016-04-05 09:33:06 -04:00
Sandeep Mistry
ea7fbdec6b Port SDA and SCL symbols to SAM 2016-04-04 15:03:14 -04:00
Sandeep Mistry
aabdb852b5 Port analogInputToDigitalPin macro to SAM core 2016-04-04 14:29:07 -04:00
Sandeep Mistry
40d46d57a2 recipe.ar.pattern backwards compatibility
Port of https://github.com/arduino/Arduino/pull/4737
2016-04-04 14:12:56 -04:00
Sandeep Mistry
e8cb0aeea3 Replace force linking "{build.path}/core/syscalls_sam3.c.o" with -u flags 2016-04-04 14:10:23 -04:00
mattb5906
5bfd17f231 Add getTimeout accessor method. 2016-03-18 22:26:37 +00:00
per1234
bd39621f46 Clean up comments in platform.txt
- Remove comment in Arduino AVR Boards platform.txt about -w flag. This
is no longer relevant since the compiler warning level is now set by the
user.
- Fix typos
2016-03-15 15:42:16 -07:00
Phil Manofsky
1983f7a869 Update boards.txt
added "build.usb_manufacturer" entry that overrides default macro in USBCore.cpp source file. this isn't really necessary since the source macro is the same as in "boards.txt", but it gives 3rd party board vendors direction in how to have their SAM3X board use their own manufacturer string during USB enumeration.
2016-03-14 23:25:13 -04:00
Phil Manofsky
18250aec57 allows use of "myboard.build.pid" in boards.txt
3rd party boards that use sam core can have their own USB product ID that is defined in "boards.txt"
2016-03-14 23:20:46 -04:00
Phil Manofsky
4be3e49172 3rd party can use own Product/manufacturer string
now "myboard.build.usb_product" and "myboard.build.usb_manufacturer" from a 3rd party board in "boards.txt" are used in source code. if they aren't defined in "boards.txt", default values are used.
2016-03-14 23:16:36 -04:00
Phil Manofsky
f5282f2ce6 allows use of "myboard.build.vid" in boards.txt
allows people to create board that depends on sam core to use their own Vendor ID instead of Arduino's
2016-03-14 23:09:26 -04:00
Martino Facchin
5f9168d3a2 update sam core to version 1.6.7 2016-03-08 11:45:52 +01:00
Sandeep Mistry
b7f279610b Use modulo operator in Print::printNumber
Port of @tico-tico’s change in
https://github.com/tico-tico/Arduino/commit/a7454b6b5c59187b95c4224aad87
bb01faa06e85 to SAM core.
2016-03-03 12:00:54 -05:00
Alice Pintus
d3065cbaeb add src folder when missing 2016-03-02 14:45:57 +01:00
Alice Pintus
8d3c4dbfec update sentences 2016-03-01 16:09:50 +01:00
Sandeep Mistry
aeec344b21 Set string descriptor length to the string length + 2, and send up to wLength bytes 2016-01-26 17:14:40 -05:00
techpaul
fa0d580846 Compiler Warning UARTClass.cpp and RingBuffer.h correction 2016-01-19 14:26:49 -05:00
Sandeep Mistry
dcfcbefc32 Update indentation 2016-01-18 09:13:29 -05:00
Sandeep Mistry
9759f2cc60 Port AVR Serial_::readBreak() API to SAM core 2016-01-15 12:09:46 -05:00
Sandeep Mistry
86e34b9940 Support receiving a USB CDC SEND_BREAK 2016-01-15 12:05:41 -05:00
Sandeep Mistry
2007b623c9 Add CDC_SEND_BREAK define 2016-01-15 12:05:40 -05:00
Martino Facchin
74c70ba10b Merge pull request #3524 from facchinm/pins_DUE
Due: solve issues with nonstandard pin operations
2016-01-07 10:28:07 +00:00
Arturo Guadalupi
1ad17fb372 Merge pull request #3983 from antodom/pio_handlers
PIO[ABCD] handlers improvement using ATSAM3X8E CLZ instruction
2016-01-05 15:07:36 +01:00
per1234
d21e054836 Remove unused keywords from Wire libraries keywords.txt
These functions have been replaced by read() and write() since Arduino
1.0.
2015-11-28 17:56:21 -08:00
Sandeep Mistry
1b63cfa6a4 Cleanup some Stream compiler warnings from #3337 2015-11-23 16:45:29 -05:00
Chris--A
9f8feea8b7 Make protected Stream::parseInt/Float overloads public.
Stream::parseInt & Stream::parseFloat previously had protected
overloads which allowed skipping a custom character. This commit
brings this feature to the public interface.

To keep the public API simpler, the single paramter overload remains
protected. However its functionality is available in the public
interface using the two parameter overload.
2015-11-23 15:46:24 -05:00
Chris--A
245b948a27 Add Stream::find(char); to SAM core.
This is a feature added to the AVR core here:
ed1b8eb486
It allows using the find method with a single char (#847).
2015-11-23 15:46:24 -05:00
Chris--A
7857216e69 This adds control of Stream::parseInt/float lookahead.
Its default is SKIP_ALL which reflects previous versions.
However SKIP_NONE, and SKIP_WHITESPACE can refine this behaviour.

A parameter used in the protected overloads of parseInt/Float has been
changed from `skipChar` to `ignore`.
2015-11-23 15:46:24 -05:00
Chris--A
12d0487258 This is a bug fix which prevents parseFloat from proceeding past
multiple decimals '.' in the stream. Only one can be accepted for
valid decimal numbers.
2015-11-23 15:46:24 -05:00
Chris--A
24a994019f This commit improves the parsing capability by allowing decimals only
prefixed by an '.' character. Previously the preceeding zero must be
present: '0.'
2015-11-23 15:46:23 -05:00
Sandeep Mistry
435f6790da Check TXEMPTY flag instead of TXRDY flag on Serial.flush()
As suggested by @borisff in #4128.
2015-11-17 13:21:42 -05:00
Cristian Maglie
02bb3b96b3 Update recipe.ar.pattern in SAM platform to us archive_file_path 2015-11-06 23:57:10 +01:00