Steve Bian
042555206b
Adds definition for WIRE_INTERFACES_COUNT #1182 ( #1921 )
...
* Adds definition for WIRE_INTERFACES_COUNT so those libraries which rely on it can detect and use...
Wire1. e.g. u8g2 will not use Wire1 unless this is (a) defined and (b) >1. This constant is defined
on other cores, e.g. for SAMD based boards.
2024-01-01 18:55:03 -08:00
Richard Teel
24f6302612
Updated listfiles example and added CardInfo example ( #1914 )
2023-12-27 12:01:06 -08:00
Joseph Duchesne
15eb459df9
Add variants_dir support to pio build, allowing local variants in project repos ( #1911 )
2023-12-26 09:59:45 -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
3068cd0af0
Use SW random generator for all LWIP ( #1892 )
2023-12-10 16:18:17 -08:00
Earle F. Philhower, III
fa390f48af
Clean up FreeRTOS header, include add'l APIs ( #1891 )
2023-12-10 09:48:15 -08:00
Dominic Pearman
0c7454b6f7
Minor typo correction to platformio.rst. ( #1889 )
2023-12-08 07:42:35 -08:00
Earle F. Philhower, III
500f197c02
Update version
2023-12-06 09:52:23 -08:00
Earle F. Philhower, III
2bf249ffe1
Avoid freezeing the core from LWIP under FreeRTOS ( #1884 )
...
Avoid issues with interrupts and priority inversions and other deadlocks
and use a SW based random generator for LWIP when under FreeRTOS.
This means removing any overrides for sleep_until and the two
get_rand_xx calls from the SDK, making things much saner.
Related to #1883 , #1872 , and other random FreeRTOS lockups.
2023-12-06 09:41:14 -08:00
Dominic Pearman
81070a0b3f
Minor documentation corrections in platformio.rst. ( #1885 )
...
* Corrected minor typo.
* Removed superfluous newline.
---------
Co-authored-by: Dominic Pearman <dominic@phymorous.de>
2023-12-06 06:20:59 -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
Earle F. Philhower, III
762535faf9
Add documentation about MDNS + FreeRTOS = crash ( #1880 )
...
See #1875
2023-12-04 08:57: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
Taylor Alexander aka Sequoia
c2d60774af
Fix small typo in analog.rst ( #1869 )
...
Change "RP20400" to "RP2040"
2023-12-01 15:17:58 -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
58089b1f44
wl_defintions.h wl_enc_type update ( #1859 )
2023-11-30 08:33:33 -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
noqman
cebdb6c917
Add new board variant: Cytron Maker UNO RP2040 ( #1838 )
2023-11-24 07:13:37 -08:00
Earle F. Philhower, III
39a2bbd788
Update version
2023-11-22 07:59:00 -08:00
Earle F. Philhower, III
199314a463
Fix picotool path for Windows and Mac ( #1836 )
...
Fixes #1835
2023-11-21 13:55:32 -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
Abdullah "Hayri" Kırmızıyüz
a475c444c5
Added Degz Suibo RP2040 board ( #1828 )
2023-11-20 09:20:36 -08:00
Marco Scholl
633ac316b4
Add rp2040.getStackPointer and getFreeStack ( #1816 )
...
Fixes #1814
2023-11-16 07:57:49 -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
Andriy Golovnya
3ce902183e
Added RP2040-Eins board ( #1804 )
...
* Aggregated several earlier patches in one to add RP2040-Eins board into the project.
- Moved RP2040-ProMini in alphabetical order position.
- Added board description files for RP2040-Eins.
- Added board header file for RP2040-Eins.
- Adjusted unused pins order of RP2040-ProMini to be the same as in RP2040-Eins.
- Added RP2040-Eins to README.md.
- Renamed board files to use underscores to better fit the existing file naming style.
* Updated README.md
2023-11-05 15:32:08 +00:00
James Sleeman
c34e602937
Handled already mounted disk. ( #1797 )
2023-11-05 10:36:56 +00:00
Nico Maas
28e25293a9
Add RAKwireless RAK11300 ( #1802 )
2023-11-05 10:26:19 +00:00
Krzysztof Heim
319d36531e
Update wifintp.rst ( #1798 )
...
, instead of .
2023-11-01 16:09:05 +01:00
Andrew DeLisa
5bea328967
Add Sea-Picro board ( #1784 )
...
* add sea-picro board
* add configurable board URL to makeboards.py
* update board URL for sea picro
* update note about QT port
* update pin mappings
* fix board vendor/name
2023-10-28 14:29:34 +02:00
rlcamp
f5f7267f44
Add Serial.dtr() and Serial.rts() methods ( #1779 )
...
* add Serial.dtr() and Serial.rts() methods
* added documentation for Serial.dtr() and Serial.rts()
2023-10-24 19:02:17 +02:00
Johnny Stene
a4ad8ae0fd
Fix typos in fs.rst ( #1781 )
2023-10-22 20:10:16 +02:00
rlcamp
44abc19d46
Use __attribute((weak)) for _write() and other stubs called by newlib, so that sketch and library code can provide non-stub implementations ( #1777 )
2023-10-20 14:58:51 -05: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
ae6847cf78
Allow changing USB HID poll rate ( #1771 )
...
Fixes #1769
Add a weak variable that can be overridden by the user to speed up or
slow down the USB HID polling speed.
2023-10-17 04:38:48 -07:00