Juraj Andrássy
2a256f9c25
LwipIntfDev - linkStatus added ( #2081 )
2024-03-29 09:14:05 -07:00
Juraj Andrássy
71edeb8d1a
lwIP_enc28j60 - add missing end() method ( #2055 )
2024-03-16 14:10:12 -07:00
Juraj Andrássy
22139df33c
Enable interrupt-mode for lwIP_ESPHost ( #2036 )
2024-03-06 12:38:29 -08:00
Juraj Andrássy
9c94bab290
Add RawDev::interruptMode ( #2042 )
2024-03-06 11:58:37 -08:00
Earle F. Philhower, III
ea8874037c
Use passed-in SPI on SD.end(true) ( #2040 )
...
Fixes #2034
2024-03-05 12:22:01 -08:00
Earle F. Philhower, III
77209a12cc
Update SPISlave.cpp ( #2021 )
...
Fixes #2019
2024-02-23 09:46:42 -08:00
Earle F. Philhower, III
795968a8e0
Clean up WIFI local variable MAC size ( #2006 )
...
MACs are 6-bytes long, not 8.
2024-02-14 12:17:09 -08:00
Earle F. Philhower, III
01ab02d02a
Fix ESPHost WiFi connect without a specified BSSID ( #2007 )
...
See https://github.com/earlephilhower/arduino-pico/pull/2001#issuecomment-1944461469
2024-02-14 12:00:06 -08:00
Earle F. Philhower, III
40e52f84b8
Fix WiFiMulti and ESPhost STA connection w/BSSID ( #2001 )
...
WiFiMulti specifies a specific BSSID, in addition to the AP name and
password. In the WiFi core the BSSID is stored as the raw 6-byte MAC
address, but the ESPHostedFG firmware expects a formatted C-String
(i.e. "ab💿 ef:01:02:03" instead of {0xab, 0xcd, 0xef, 1, 2, 3})
Convert the raw bytes to the string format expected in the ESP FW.
2024-02-12 10:17:36 -08:00
Earle F. Philhower, III
972b7f53be
Fix warning in lwip_ESPHost, add to styler ( #1998 )
2024-02-11 11:51:16 -08:00
Kevin Witteveen
fc894fba0e
PWMAudio low bitrate whine fix (DMA pacing timer) ( #1996 )
2024-02-10 09:17:37 -08:00
Earle F. Philhower, III
929ee98a6c
Make W5100 example run on Wiznet w/no changes ( #1994 )
...
Use the #define board name to identify when building for the
WIZnet W5100s-EVB-Pico and assign the proper pins and IRQs.
2024-02-09 14:06:28 -08:00
Earle F. Philhower, III
88ccf0c256
Undo FreeRTOS idleOtherCore changes ( #1992 )
...
Fixes #1991
2024-02-09 09:46:30 -08:00
Earle F. Philhower, III
842ec245ac
Add W5100, W5500, and ECN28J60 interrupt-driven mode ( #1986 )
...
No polling needed and massively reduces latency by using the GPIO interrupt to
signal the Pico to read a received packet. Also drops CPU load when no packets
are incoming.
2024-02-06 14:15:37 -08:00
Earle F. Philhower, III
12702717e3
Undo #1864 , fix LWIP offline error ( #1979 )
...
Fixes #1973
The periodic LWIP pump/Ethernet packet reader async_context stopped
firing occasionally under high packet loads, causing the LWIP stack
to become unresponsive to any incoming data.
Re-implement the 2-step process for polling (like the CYW43 driver
from the RPI folks does) and undoes #1864 change.
2024-02-01 19:09:09 -08:00
Juraj Andrássy
7180ca3b0c
Add ESP32-based WiFi support via lwIP_ESPHost library ( #1950 )
2024-01-30 14:57:04 -08:00
Earle F. Philhower, III
c64a4a58d7
Fix initial SPI startup ( #1970 )
...
Clocks were not being set at all after #1934 . Ensure they are by initting
to an impossible 0hz clock on creation and ::end
Fixes #1969
2024-01-28 16:21:48 -08:00
Nerradia
02c272b091
Skip SPI re-init if clock frequency doesn't change ( #1934 )
2024-01-28 10:27:12 -08:00
Juraj Andrássy
2a74250a51
lwIP_nodriver - end() compilation error fix ( #1966 )
2024-01-28 06:49:31 -08:00
Juraj Andrássy
fef8d2c384
WiFi - prepare for alternative drivers ( #1935 )
2024-01-20 12:35:13 -08:00
Earle F. Philhower, III
afbba68549
Set AP IP address on ::beginAP
...
The Arduino WiFi normalization ended up calling the underlying LWIP
::config after the AP was begin, resulting in a failure to set the
IP configuration of the AP. Move the _wifi.begin() call to after
the IP configuration is set.
Fixes #1989
2024-01-02 18:20:25 -08:00
Richard Teel
24f6302612
Updated listfiles example and added CardInfo example ( #1914 )
2023-12-27 12:01:06 -08:00
Ha Thach
3160fde679
Support native USB as host ( #1910 )
...
* add a new usbstack menu to use native usb as host
* update tinyusb library to 2.3.0
* skip Host native example in ci
2023-12-25 11:36:07 -08:00
Earle F. Philhower, III
1160d7cd7c
Replace ancient "boolean" with "bool" ( #1908 )
2023-12-20 13:46:07 -08:00
Earle F. Philhower, III
2aa85e3263
Minor LWIPEthernet cleanup ( #1906 )
2023-12-20 07:49:48 -08:00
erpebe
c4f36170d4
Correct calculation of totalBlocks() in SD.h and SDFS.h ( #1899 )
2023-12-13 12:45:15 -08:00
Earle F. Philhower, III
fa390f48af
Clean up FreeRTOS header, include add'l APIs ( #1891 )
2023-12-10 09:48:15 -08:00
GUVWAF
d45a11f9e7
Disable interrupts first when idling core ( #1883 )
2023-12-05 11:53:41 -08:00
Earle F. Philhower, III
c3a3526aad
Fix SPI 16-bit transfers ( #1882 )
...
Fixes #1879
Fixes #1874
2023-12-04 17:30:43 -08:00
Earle F. Philhower, III
280fc43731
Fix SPI debug print warning ( #1881 )
2023-12-04 12:48:49 -08:00
GUVWAF
0e4fd0587b
Replace std::bind in MDNSResponder for UDP context ( #1875 )
2023-12-03 08:34:35 -08:00
GUVWAF
d2461a14ad
Enable interrupts last when resuming other core ( #1872 )
2023-12-02 10:20:05 -08:00
Juraj Andrássy
a1902b5f41
WiFiServer modernization ( #1871 )
2023-12-02 09:31:39 -08:00
Earle F. Philhower, III
269c579846
Remove IPv6 compile warning ( #1867 )
2023-12-01 12:10:16 -08:00
Juraj Andrássy
91183ca22f
LwipIntfDev - disconnect()/end() should not clear static IP settings ( #1866 )
2023-12-01 11:53:01 -08:00
Earle F. Philhower, III
971c235e8d
Remove unneeded intermediate async for Ethernet ( #1864 )
...
Remove the always pending worker whose job it was to fire another async
worker after a timeout.
2023-12-01 10:50:15 -08:00
Juraj Andrássy
abd3547711
WiFi and Ethernet - config static IP auto gw,mask,dns as in Arduino libs ( #1862 )
2023-12-01 10:24:11 -08:00
Juraj Andrássy
9181ec055d
LwipIntfDev - hostByName default value for the timeout parameter ( #1858 )
...
to have standard version with two parameters
2023-11-30 08:58:15 -08:00
Juraj Andrássy
4f62e0a4ba
LwipIntfDev - added macAddress getter and DNS IP getter and setter ( #1856 )
...
and dnsIP(n) getter in WiFiClass too
2023-11-29 13:24:16 -08:00
Richard Teel
dbab62c214
Added clearAPList method to WiFiMulti ( #1848 )
...
Fixes #1846
2023-11-27 15:35:36 -08:00
Earle F. Philhower, III
6a878cdee8
Only create SPI/Wire instances if variant defined ( #1842 )
...
Fixes #1841
2023-11-24 09:56:13 -08:00
Earle F. Philhower, III
1020023eab
Avoid infinite loop in BLE HID send ( #1834 )
...
If the BLE connection is severed, don't wait for the needToSend
flag to clear in the HID::send routine since it may never actually
clear unless the BLE connection is restored.
Partial #1817
2023-11-21 11:53:41 -08:00
Earle F. Philhower, III
4625d2c8ab
Avoid memory allocation in Ethernet callbacks ( #1815 )
...
std::bind can cause a memory allocation to occur during the periodic
polling interrupt which is a very bad thing. Use a lambda instead.
Fixes #1812
2023-11-14 10:01:06 -08:00
David Ross Smith
db7ba160ae
Allow MCLK multiplier to be set on all I2S devices ( #1813 )
...
As discussed in #1765 .
2023-11-13 06:57:37 -08:00
Earle F. Philhower, III
ea936f00e1
Protect W5500/ENC28J60 isLinked from interrupt ( #1805 )
...
Fixes #1786
2023-11-12 11:09:09 -08:00
ZinnerC
8ac616e8db
Adding capability to enable timeout for I2C ( #1793 )
2023-11-09 17:37:28 -08:00
Cole Deck
2e93f1c9c8
Clear dirty flag after commiting EEPROM to flash ( #1776 )
...
* Clear dirty flag after commiting EEPROM to flash
* Styling: remove whitespace
2023-10-18 17:21:27 -07:00
Earle F. Philhower, III
5678bb9904
Don't break transfer16 into 2 8-bit CS periods ( #1764 )
...
With HW chip select enabled, transfer16's 2 individual byte transfers will
actualy deassert CS for a brief instant between bytes. Avoid this by doing
a single multi-byte (2) tranfer of 16b.
2023-10-11 08:40:17 -07:00
Earle F. Philhower, III
52d50da56f
Avoid calling spi_set_format during SPI transfers ( #1762 )
...
Avoid potential interaction with Pico SDK 1.5.1 update that causes hiccups in
SPI transmissions. SPI.transfer16 to use 8-bit transfers.
Fixes #1760
2023-10-11 08:22:01 -07:00
Earle F. Philhower, III
47111a6eba
Undo BSTstackLib warning ( #1758 )
...
Undo #1751
2023-10-08 16:42:08 -07:00