- 19 Jul, 2022 2 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
* Add TLS (https) support * Add NTP server * Clean up include path, add BearSSL headers * Allow 2 NTP servers, add ESP8266 compat define * Add MFLN SSL example, free/used/total heap getters * Enable stack thunking * Add tested SSL examples * Add BSSL_validation demo * Add Client Certificate example * Add RP2040 helper docs * Clean up doc errors, missing doc version info * Add WiFiClientSecure documentation * Add NTP docs Fixes #679
-
- 17 Jul, 2022 2 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
- 16 Jul, 2022 1 commit
-
-
Earle F. Philhower, III authored
Fixes #680
-
- 15 Jul, 2022 2 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
* Add support for the WiFi chip on the Pico W board. * USB interrupt now no longer hard coded (conflicted with the WiFi IRQ). * Add in Pico W board to makeboards.py * Add in GPIO and variant support * Initialize WiFi in the Variant * Use manual LWIP, fix size accounting * Remove the SDK WiFi overrides * Pulling in work done in the ESP8266 core. * Make IPAddress support IPv6 * Build LWIP with IPv4 and IPv6 support * Use proper MAC * Avoid cyw_warn crash. Make macro to a comment while building * Add WiFiServer * Add WiFiUdp * Move LWIP-specific support files to LWIP_Ethernet * Add WiFi::ping (ICMP ping) * Move ICMP echo (ping) to LWIPIntfDev * Move hostByName to LwipIntfDev * Add AP mode with simple DHCP server * Add some examples and basic ESP8266 compat hacks * Update Adafruit TinyUSB to fix crash * Set DHCP hostname * Make Wifi.begin() return CONNECTED with link + IP * Return connected() on WiFi::begin * Fix spurious TCP retransmission * Protect LWIP from reentrancy The Pico SDK calls "sys_check_timeouts() from inside a periodic interrupt. This appears unsafe, as the interrupt could happen while already in the (non-reentrant) LWIP code. Block the interrupt from calling sys_check_timeouts by using a global flag manually set via an RAII recursive lock. Add interrupt protection macros around critical sections inside LWIP via the standard defines. These two changes should make LWIP significantly more stable and long running. * Support disconnecting and reconnecting WiFi * Add WiFiServer simple example * Update documentation Fixes #666 Fixed #665
-
- 14 Jul, 2022 2 commits
-
-
Earle F. Philhower, III authored
When real multicore/lockign support was added to newlib, there was an opaque field in FILE that was used as a mutex, but was only 4 bytes in size. The recursive mutexes on the RP2040 are 8 bytes. This mismatch caused corruption of the FILE structure and crashes of the system when ::printf/::puts/etc. were run. Adjust the lock field size in FILE to 8 bytes and rebuild the toolchain to fix.
-
Earle F. Philhower, III authored
No idea why, but when a Picoprobe upload and reset is used, the 2nd core does not start w/o a __wfe() call on the first one before launch. Fixes #674 Fixes #402
-
- 08 Jul, 2022 1 commit
-
-
Earle F. Philhower, III authored
Fix errors in WebUSB buffering Fixes #642
-
- 30 Jun, 2022 1 commit
-
-
Pontus Oldberg authored
-
- 29 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
Keep the Arduino Board Manager list up-to-date from makeboards.py
-
- 28 Jun, 2022 2 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
Before always returned 0 on a ::write. Now properly return the count of bytes that were sent to the USB port. Thanks to Terry Haas for the report.
-
- 26 Jun, 2022 2 commits
-
-
Maximilian Gerhardt authored
Fixes #648
-
Maximilian Gerhardt authored
-
- 25 Jun, 2022 1 commit
-
-
Stefan Staub authored
-
- 24 Jun, 2022 4 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
* Update to Adafruit_TinyUSB_Arduino 1.12.0 * DualRole requires add'l libraries, skip in CI
-
Earle F. Philhower, III authored
Fixes #651
-
Earle F. Philhower, III authored
Need to manually list the secrets to export to the environment.
-
- 23 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
-
- 21 Jun, 2022 1 commit
-
-
Earle F. Philhower, III authored
-
- 20 Jun, 2022 5 commits
-
-
Earle F. Philhower, III authored
Minor change to keep the core all CPP. Patch just made it into pico-sdk develop branch allowing recursive mutexes to be auto_init in C++. Update and rebuild libpico.a.
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
There was a race condition in making mutexes that were only init in an __attribute((constructor)) code block. For example, a global object might do a `malloc` in its constructor which would depend on the malloc mutex...which may not yet have been initted. Make them initted in the .data section, instead, which is guaranteed good before any global constructors are called.
-
Earle F. Philhower, III authored
Fixes #643
-
Earle F. Philhower, III authored
Instead of wrapping the memory functions in the link stage, rebuild Newlib and enable retargetable locks. Override the weak definitions in the libc.a with our own, SDK based ones. The wrapping utilized before catches app-level memory allocations but misses allocations inside Newlib libc (like printf/etc.). Each core needs its own _impure_ptr or else crashes like the one seen in parallel printf_floats can happen. Enable it in the toolchain build and implement a simple swapper here. FreeRTOS SMP doesn't support Newlib's dynamic reent which is needed to allow save MT support. Minor patch to FreeRTOS and update the FreeRTOS variant.cpp and setup to support it.
-
- 19 Jun, 2022 2 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
Fixes #582
-
- 17 Jun, 2022 4 commits
-
-
Earle F. Philhower, III authored
The realloc() wrapper was included in the develop branch of pico-sdk, so use it instead of a local, unreproducible version of the SDK. Should have no effect on code.
-
Maximilian Gerhardt authored
* Fix link display in PlatformIO Docs, Remove JLink warning * Remove unfinished sentence
-
Maximilian Gerhardt authored
* Shift arduino attribute higher in JSON file * Try out PlatformIO CI * Trigger CI * Clone recursively, actually use own repo * Fix YAML * Build Verbose * Revert to checkout@v2 version, add TinyUSB to examples * Try fix TInyUSB example * Pull repo recursively * Use v3 after all, correct path to example * Only do CI on PR
-
Maximilian Gerhardt authored
* Update board generation, use renamed function * Update documentation with new platform integration state * Remove accidentally pushed file * Use correct update command * Use correct highlighting * Use correct language * Add section on debugging * Add docs on filesystem, minor corrections * Use -iprefix in compilation, but still expose all include paths to IDE * Add exception and RTTI support, document them * Fix typo
-
- 16 Jun, 2022 1 commit
-
-
mnltake authored
-
- 15 Jun, 2022 2 commits
-
-
Pontus Oldberg authored
-
Ha Thach authored
-
- 14 Jun, 2022 3 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
The makever script sets up the repo properly, so no need to patch things in the package stage.
-