Age | Commit message (Collapse) | Author |
|
|
|
|
|
`toFloat` internally converts into double and then truncates into a
float, so why not add a method to return the double?
|
|
Add all analog references supported by the ATtinyX5 series
|
|
|
|
I was compiling with -Werror and this little error popped up
|
|
|
|
Also includes Micros per https://www.arduino.cc/en/Reference/SoftwareSerial
|
|
Previously, during the build, the full package_index.json was downloaded
and distributed with the Arduino IDE.
This lead to a situation where it was difficult to test new AVR cores
before publishing them to the public package_index.json.
Now the bundled AVR core is specificed in the file:
`hardware/package_index_bundled.json`
this index is loaded from the IDE at startup and the package_index.json
is overlayed on it.
This should also solve part of #5143 (Repeatable builds and snapshots of
package/library indexes)
|
|
This must be made together with the release of AVR core 1.6.13.
This reverts commit d20e60862344eb864ab384abe3d85f55c1845f3f.
|
|
|
|
|
|
|
|
|
|
This avoid build errors on old libraries. It may possibly be removed in
the future after a period of transition.
|
|
[AVR][USB] Configurable USB_VERSION value via define
|
|
Send an USB remote wakeup if data need to be written
|
|
To allow sketches to override value as per #58.
|
|
|
|
Speed and size improvement in Print::printFloat()
|
|
Add getTimeout accessor method.
|
|
https://github.com/sandeepmistry/Arduino
|
|
On Linux, setting autosuspend_delay_ms to N and control to auto allows the host pc to suspend the peripheral. Some Linux distro (Ubuntu, Mint) apply this behaviour by default.
If the sketch's prints where less frequent than N milliseconds the sketch prints would never arrive.
This patch allows sending a remote wakeup event to unsuspend the peripheral and allow the serial prints to be received.
|
|
|
|
to allow WebUSB development, provide a way to change the USB_VERSION reported
using an additional core.
The additional (webUSB) core will survive IDE and AVR core updates
|
|
|
|
Subtract one from USB_EP_SIZE in USB_SendSpace
|
|
SAM: Add Serial_::availableForWrite
|
|
Add PIN_* defines to AVR variants
|
|
Port SDA and SCL symbols to SAM
|
|
|
|
|
|
Fixes that more complex methods (like Stream::print(float)) do not work properly.
Without this fix, Wire.print(1.01f); results in '1' because Print::printFloat(double, uint8_t) performs multiple print() and therefore twi_transmit calls. Also Wire.println("Heyho"); results only in a newline character.
|
|
In an excess of confidence, these defines were added to Leonardo's variant.h
3rd party boards sometimes avoid inheriting this variant but they still define USBCON, thus breaking the build
|
|
|
|
|
|
|
|
|
|
https://github.com/sandeepmistry/Arduino
|
|
|
|
As I was not able to base the return types of `begin()` & `end()` off the c_str() function, I have changed the source so the features can be used by C++98 code, while still allowing ranged loops in C++11.
|
|
This will allow using the String library in a ranged for loop:
```C++
String s = "Hi, this is a test";
for( char c : s )
Serial.print( c );
```
|
|
|
|
This avoids dealing with ZLP’s in USB_Send, because the max packet size
will be EP size - 1.
|
|
Replaces #4280, only checks for the bootloader once
Tested with Hoodloader2, should work with every LUFA-derived bootloader released after 2014 (.apitable_signatures section must be placed at end of the flash)
BootloaderAPITable.S :
.global BootloaderAPI_Signatures
BootloaderAPI_Signatures:
.long BOOT_START_ADDR ; Start address of the bootloader
.word 0xDF00 ; Signature for the CDC class bootloader
.word 0xDCFB ; Signature for a LUFA class bootloader
makefile:
BOOT_API_LD_FLAGS += $(call BOOT_SECTION_LD_FLAG, .apitable_signatures, BootloaderAPI_Signatures, 8)
|
|
|
|
|
|
|
|
AVR recipe.ar.pattern backwards compatibility
|
|
Corrected comments of rx and tx in a SoftwareSerial example.
|