- 16 Jun, 2021 2 commits
-
-
Earle F. Philhower, III authored
Serial1.flush/Serial2.flush was not waiting for the proper FIFO to clear. Use the proper call from the Pico SDK. Thanks to Peter Remias for noting it.
-
Earle F. Philhower, III authored
* Add PDM library for Arduino Nano RP2040 Connect * No PDM test in CI, only works on Arduino Nano RP2040
-
- 14 Jun, 2021 1 commit
-
-
Earle F. Philhower, III authored
Thanks to @Claupio for the bringup! Reference #208
-
- 13 Jun, 2021 1 commit
-
-
Earle F. Philhower, III authored
Fixes a hang when reading from the Serial UART ports because before the core would pause indefinitely for the next character. Now, wait up to Serial.setTimeout() milliseconds and if it times out return -1 to the app. Fixes #210
-
- 11 Jun, 2021 3 commits
-
-
Earle F. Philhower, III authored
Minor rev to the tinyUSB version used, new ID function.
-
Earle F. Philhower, III authored
The PIO programs that generate tone() and Servo() use the TX FIFO to receive updates to the period/duty cycle. The original code would push into the FIFO (potentially blocking the app if the FIFO was full) and generate at least one cycle of every value written into the control. Basically, the output would lag the changes by 1 cycle or more (which could be 20ms+ on Servo). Fix this by clearing any old, ungrabbed values from the FIFO before sending a new one to the program. Instead of a FIFO, there is effectively now just a control register and updates will be immediate. Update the Siren.ino example with delays because now the tone() calls will not block and run 10x+ faster.
-
Earle F. Philhower, III authored
Many functions are defined inside the api/Common.h, so remove them from the Arduino.h header to have them appear only once. Fix up the abs() macro to avoid macro problems, add round()
-
- 10 Jun, 2021 1 commit
-
-
Earle F. Philhower, III authored
Fixes #202
-
- 08 Jun, 2021 6 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
It's still OOS, so hookup taken from their schematics.
-
- 07 Jun, 2021 4 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
GCC 10.2 has a bug which causes Windows to rebuild every library on every compile, instead of caching the first results. Upgrade to GCC 10.3 which has this fixed. Add proper OpenOCD executables for non-Linux x86_64 archs.
-
- 06 Jun, 2021 1 commit
-
-
Limor "Ladyada" Fried authored
* add two variant files * add trinkey and stemma friend * add fast SPI transfer using pico-sdk blocks * update makeboards.py for new variants - STEMMA Friend RP2040 - Trinkey RP2040 QT * run astyle on SPI library * fix auto -> ssize type * astyled * woops ssizet != sizet! * a nice day for a new board definition! this is a macropad with 12 keys, oled and rotary encoder Co-authored-by: hathach <thach@tinyusb.org>
-
- 04 Jun, 2021 2 commits
-
-
Earle F. Philhower, III authored
Fixes #121 Supersedes #185 Redo the PIO program to allow the tone generator on a pin to be updated without interruption, at waveform boundaries. This allows for things like sirens or slurs to be implemented simply. Use an alarm, not the PIO hardware, to manage time-limited tones(). Add a simple siren example.
-
Ha Thach authored
-
- 31 May, 2021 1 commit
-
-
per1234 authored
When multiple libraries contain files matching an #include directive in the program, the Arduino build system must pick one to use for compilation. Multiple factors are used in order to make an intelligent determination of which library is best. In order to enhance this determination, the closeness of match between the library.properties name value and the filename in the #include directive is being added as one of those factors. This new factor is referred to as "Library Name Priority". Unfortunately, this change can result in platform bundled libraries which had previously been correctly correctly chosen no longer being given priority over their equivalent standalone libraries, which may be incompatible or not optimized for the platform's boards. This priority inversion only occurs when all the following conditions are true: - There is a standalone library installed which provides a header filename collision. - The platform bundled library is architecture optimized (e.g., architectures=esp32). - The standalone library is architecture compatible (architectures=*). - The standalone library has equal "Folder Name Priority". - The standalone library has better "Library Name Priority" (e.g., name=SD vs name=SD(ESP32) for a library with primary header file SD.h. The fix is to simply give the platform bundled library a perfect "Library Name Priority". Some platform bundled libraries were given a modified name as a workaround to a bug in the Arduino IDE's Library Manager which caused Library Manager to always show the library as updatable under specific circumstances. That bug was fixed in Arduino IDE 1.8.6, ~3 years ago.
-
- 29 May, 2021 7 commits
-
-
Earle F. Philhower, III authored
Fixes #169 Trying to change pinout while running, or to an illegal configuration, will now immediately panic() with an error message. Such an attempt is a pretty big problem since pinouts are hardware related/static. Prior code would fail silently and return false, but nobody checked the setXXX return values, anyway.
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
Fixes #167 For Serial when selecting TinyUSB. Can't include in the core because Arduino IDE will not link in libraries called from the core. Instead, add the header to all the standard libraries in the hope it will still catch some user cases where they use these libraries. See https://github.com/earlephilhower/arduino-pico/issues/167#issuecomment-848622174
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
- 28 May, 2021 11 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-