- 12 Aug, 2022 3 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
Partial #754
-
Earle F. Philhower, III authored
Adds a 12K OTA stub 3rd stage bootloader, which reads new firmware from the LittleFS filesystem and flashes on reboot. By storing the OTA commands in a file in flash, it is possible to recover from a power failure during OTA programming. On power resume, the OTA block will simply re-program from the beginning. Support cryptographic signed OTA updates, if desired. Includes host-side signing logic via openssl. Add PicoOTA library which encapsulates the file format for the updater, including CRC32 checking. Add LEAmDNS support to allow Arduino IDE discovery Add ArduinoOTA class for IDE uploads Add MD5Builder class Add Updater class which supports writing and validating cryptographically signed binaries from any source (http, Ethernet, WiFi, Serial, etc.) Add documentation and readmes.
-
- 11 Aug, 2022 1 commit
-
-
freeasabeer authored
-
- 10 Aug, 2022 2 commits
-
-
Odd Stråbø authored
-
Earle F. Philhower, III authored
* Apply @oddstr13 multicast patch to cyw43 driver * Initial work for enabling IPv6 * Allow accessing CYW43 stats when LWIP_SYS_CHECK_MS is not set * Use cyw43_set_allmulti to allow receiving multicast * Add tools/libpico/build to gitignore Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
-
- 09 Aug, 2022 1 commit
-
-
Maximilian Gerhardt authored
-
- 08 Aug, 2022 2 commits
-
-
Earle F. Philhower, III authored
-
Sabas authored
* add board ElectronicCats Hunter Cat NFC * update huntercat nfc
-
- 06 Aug, 2022 1 commit
-
-
Earle F. Philhower, III authored
Fixes #735 . Thanks to @ Haggarman for the find and fix.
-
- 30 Jul, 2022 2 commits
-
-
Earle F. Philhower, III authored
FreeRTOS SMP was updated to: a) Move ths SYSTICK handler, which cannot be disabled and can fire even with IRQs disabled, to RAM b) Add a flag from the core to the SYSTICK handler to hold off on any PendSV (task switch) calls while we are doing the idleOtherCore. The core now sets this flag, _holdPendSV, and adds add'l FreeRTOS SMP calls to really, really tell the OS we can't, don't, and better not be swapped out while writing to flash. Fixes #719
-
Earle F. Philhower, III authored
The send buffers are set to 8 * MSS = ~11.5K. MEM_SIZE is now set to be larger than that, 16K, in order to help avoid having tcp_write fail with ENOMEM. The attempt to use a smaller size is still included, which will allow a tcp_write of up to 16 * 16K = 256K, i.e. all of memory. Fixes #725
-
- 29 Jul, 2022 2 commits
-
-
Earle F. Philhower, III authored
Increases the MEM_SIZE outstanding write buffer to 8K Allows the ClientContext to attempt to send smaller buffer chunks in the case where MEM_SIZE won't allow the full tcp_sndbuf() transfer. Fixes #725
-
Earle F. Philhower, III authored
BCLK was running at 50% of expected speed. Fixes #714
-
- 28 Jul, 2022 2 commits
-
-
AngeloGioacchino Del Regno authored
Adds compiler flags to correctly build Cortex-M0/M0+ code variants for libraries inside of the ARM CMSIS codebase. This was tested with the Arduino_CMSIS-DSP library.
- 27 Jul, 2022 1 commit
-
-
Pontus Oldberg authored
* Adds support for Challenger RP2040 WiFi boards * Added Challenger board to makeboards build script * Adds new challenger board with LTE modem. * Updated after getting approved PID from Raspberry Pi * Add support for reverse numbering of analog pins. * Added minimal HW support for onboard WiFi modem. * Added challenger-nb-rp2040-wifi and RPICO32 module. * Updated PID for RPICO32 * Added a simple support class for challenger LTE boards * Update ChallengerLTE.cpp Fixed spelling error * Adds option for setting USB max power in makeboards.py * Added new board Challenger RP2040 LoRa * Added new lora board to readme. * Added missing SERIAL2 and LoRa module GIO pins. * Added support for enabling UART CTS and RTS pins. * Updated boards.txt after merge conflict of makeboards.py * Fixed incorrect indention * Fixed PR comments * Add new Challenger RP2040 WiFi/BLE board (https://ilabs.se/challenger-rp2040-wifi-ble-datasheet) * * Updated PID for WiFi/BLE board * Added abstraction pins for both versions of wifi modules * Added support for replacing support class serial port. * Added support for retrieving support class serial port. * Fixed spelling errors. * Updated helper class for Challenger NB board. * Added Challenger sdrtc and subghz boards. * Updated readme. * Re ran makeboards to generate new index. * Added to possibility to have extra compiler directives for a board. * Added extra compiler options to JSON generation. * Allows having a list of extra macros to define * Fixed incorrect USB PID for Challenger NB board. * Added board initialization for all wifi boards. Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
-
- 24 Jul, 2022 1 commit
-
-
Earle F. Philhower, III authored
-
- 23 Jul, 2022 3 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
Allows printing "."s or flashing an LED while NTP is waiting for sync.
-
Earle F. Philhower, III authored
Simple sketches should work without modification, but some modes (listed in the docs) are not possible to support on the Pico W with BearSSL. Fixes #691
-
- 22 Jul, 2022 2 commits
-
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
-
- 21 Jul, 2022 5 commits
-
-
Earle F. Philhower, III authored
Fixes #688
-
Earle F. Philhower, III authored
-
Earle F. Philhower, III authored
IPv4-only mode saves 20KB+ of flash memory. Add some backwards compatibility with the global Arduino Ethernet class when running in IPv4 only mode. Fixes #687 * Speed P.IO build by not cloning 2GB of sources * Document P.IO new option
-
Maximilian Gerhardt authored
-
Benjamin Aigner authored
Co-authored-by: Benjamin Aigner <beni@asterics-foundation.org>
-
- 20 Jul, 2022 1 commit
-
-
Earle F. Philhower, III authored
The SDK disabled float/double support for some functions by default on the original B0 ROMs. Manually re-enable it. Fixes #689
-
- 19 Jul, 2022 3 commits
-
-
Maximilian Gerhardt authored
* Add LWIP defines from platform.txt * Add WiFi example to PIO CI
-
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
-