ArduinoCore-avr
ArduinoCore-avr copied to clipboard
The Official Arduino AVR core
At the moment the compiler keeps complaining about the `tag` parameters being unused. (`warning: unused parameter 'tag' [-Wunused-parameter]`) This fixes that by using a `static_cast` to make the compiler aware...
# Context I'm working to get a Visual Studio Code Devcontainer up and running with a Bazel build for [Arduboy](https://www.arduboy.com/). I've pushed my current (problematic - per this GH issue)...
This Pull Request adds the `FPSTR()` macro to WString.h. The purpose of this Macro is to allow you to pass a previously defined string with the PROGMEM attribute - without...
See related links: http://michael-buschbeck.github.io/arduino/2013/10/20/string-merging-pstr/ http://michael-buschbeck.github.io/arduino/2013/10/22/string-merging-pstr-percent-codes/
Based on [this](http://michael-buschbeck.github.io/arduino/2013/10/20/string-merging-pstr/) blog post, one can improve the `F` so it avoid string duplication in Flash.
Fix compile errors in Wire and UART. - added namespace qualifications where necessary - fixed conflicting return types in overrides - removed requestFrom overloads that don't add value and make...
When no timeout is explicitly configured, Wire now uses a timeout of 25ms, resetting the Wire hardware if a timeout occurs. The timeout length matches the timeout you get when...
I've been working on a [stand-alone AVR programming solution](https://learn.sparkfun.com/tutorials/raspberry-pi-stand-alone-programmer) for SparkFun over the past couple years. Currently, we use Python (watching a GPIO) to engage a bash file that calls...
Stream::parseFloat method use `long value;` to store temporary value before completion. But when encountering stream of number more than 2^32, this variable will overflow, and generate wrong results. Expect result...
This was a fix implemented in https://github.com/arduino/ArduinoCore-avr/pull/329 but the branch is currently awaiting changes. This is, however, just the one change.