Skip to content

20230519 merge #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 285 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
285 commits
Select commit Hold shift + click to select a range
408813c
Add SDFS header to SpeedTest to simplify use
earlephilhower Aug 31, 2022
7ef44d9
Clean up WebServer send() methods (#820)
earlephilhower Aug 31, 2022
d2beb2d
Add upsteam multicast compatibility APIs (#821)
earlephilhower Aug 31, 2022
166f63f
Update PicoOTA.h
earlephilhower Aug 31, 2022
805d20d
Use pipes between GCC stages (#827)
earlephilhower Sep 2, 2022
59bd3b5
Update DNSServer.h
earlephilhower Sep 2, 2022
34d311f
Update version
earlephilhower Sep 2, 2022
36d5ceb
Remove binary info header, was crashing picotool (#831)
earlephilhower Sep 3, 2022
1812b82
Update version
earlephilhower Sep 3, 2022
3f36f7f
Update README.md
earlephilhower Sep 4, 2022
2d777ac
Update README.md
earlephilhower Sep 4, 2022
85d39cf
Restore GPIO functions on SerialUART::end (#836)
earlephilhower Sep 5, 2022
1303ef5
Add Serial3 for Arduino Nano Connect RP2040. Fix #807 (#838)
khoih-prog Sep 6, 2022
db337a9
Increase SerialUSB speed (#833)
earlephilhower Sep 6, 2022
f79b086
Remove duplicated ArduinoCore-API files (#840)
earlephilhower Sep 6, 2022
e2b04e7
Minor tweak, NULL=>nullptr (#844)
earlephilhower Sep 7, 2022
b0d0e29
Minor - Add number separators (#845)
earlephilhower Sep 7, 2022
d662897
Enabled static memory allocation with example (#842)
godario Sep 8, 2022
91b4bdb
Adds Challenger RP2040 NFC board (#846)
PontusO Sep 9, 2022
4e77ee0
Add WDT functions to RP2040 Helper (#862)
brentru Sep 22, 2022
77fe24f
Update Cytron Pico SPI pinout (#869)
earlephilhower Sep 22, 2022
d947880
Update version
earlephilhower Sep 22, 2022
78ce055
Ensure ArduinoCore API is included in package (#871)
earlephilhower Sep 22, 2022
cd0e838
Update version
earlephilhower Sep 22, 2022
7a85c39
Allow setting the WiFi region for PicoW (#875)
earlephilhower Sep 23, 2022
3768aa7
Fix typo in HttpClient HTTPS example (#876)
timboldt Sep 25, 2022
939c831
Fix deadlock during attachInterrupt (#879)
earlephilhower Sep 25, 2022
0cd5b0a
Allow setCTS/RTS(UART_PIN_NOT_DEFINED) (#881)
earlephilhower Sep 26, 2022
4cc6c36
Fix Serial1/2 debug output mode in CoreMutex (#883)
earlephilhower Sep 26, 2022
029471e
Drive pin LOW after Tone(period) timeout (#887)
earlephilhower Sep 29, 2022
7f216f3
Allow double-reset to jump to USB bootloader (#893)
earlephilhower Oct 4, 2022
b249811
Support IDE2, detect UF2 volumes (#897)
earlephilhower Oct 4, 2022
3e758dc
Add TARGET_RP2040 to build defines (#898)
earlephilhower Oct 5, 2022
69ab736
Update version
earlephilhower Oct 5, 2022
a9356ce
Add Melopero Cookie RP2040 (#899)
melopero Oct 5, 2022
68ecdfc
Update README.md
earlephilhower Oct 5, 2022
1e7098c
Add OpenOCD/GDB support for IDE 2.0 (#900)
earlephilhower Oct 5, 2022
205983e
Adds Degz Mizu board (#904)
mucahidkamber Oct 7, 2022
25ceb08
Clear LWIP started flag on LWIPIntfDev::end (#905)
earlephilhower Oct 10, 2022
86765ce
Update VID&PID HunterCatNFC 2040 (#907)
sabas1080 Oct 11, 2022
98c4b92
Un-hardcode LED pin in AdvancedWebServer example (#909)
earlephilhower Oct 11, 2022
e89ce78
Fix memory leak in WebServer (#914)
earlephilhower Oct 12, 2022
62ed93f
Add board BridgeTek IDM2040-7A (#912)
brtchip-tuannguyen Oct 13, 2022
a6bdb27
Use static allocation for IRQ stack (#915)
earlephilhower Oct 14, 2022
10090b6
Rewrite PicoW LWIP interface for stability (#916)
earlephilhower Oct 15, 2022
fe632cd
Increase analogWrite frequency range, bugfixes (#918)
fjansson Oct 16, 2022
0759588
Update version
earlephilhower Oct 16, 2022
b82336c
Add W25Q64JV QSPI /4 Boot2 file (#929)
maxgerhardt Oct 20, 2022
4fdcc6e
Only init PWM on requested pin (#926)
earlephilhower Oct 20, 2022
c3da4ad
Add basic Pimoroni PGA2040 board definition (#930)
earlephilhower Oct 22, 2022
0446b73
Add protocol-explicit `upload.tool` properties required for pluggable…
per1234 Oct 24, 2022
9d0b9be
Update version
earlephilhower Oct 25, 2022
e05a3b8
Add a way to return the RSSI value (#934)
mecparts Oct 27, 2022
9503620
Add WiFi.BSSID() undocumented call (#936)
earlephilhower Oct 27, 2022
07a1484
Add WiFi.channel() reporting (#937)
earlephilhower Oct 27, 2022
ec76310
Update GH actions to non-deprecated versions (#938)
earlephilhower Oct 27, 2022
44eeebb
cores/rp2040: _freertos.cpp: Avoid memory leak and unnecessary alloca…
kholk Oct 31, 2022
6bbaf64
Async scan + bugfixes (#947)
drzony Nov 1, 2022
9b28fc3
Free PIO SM on SerialPIO::end (#949)
earlephilhower Nov 1, 2022
63dfd9a
Properly disable Ethernet IRQ, don't drop packets (#951)
earlephilhower Nov 2, 2022
008c4d6
Fix SerialPIO bit length, update flyboard2040 pins (#950)
flyrainning Nov 3, 2022
6570c48
Fix deadlock in attachInterruptParam (#953)
earlephilhower Nov 3, 2022
40855c9
Update version
earlephilhower Nov 3, 2022
895ffce
Fix analogWrite scaling issues (#962)
earlephilhower Nov 7, 2022
ea5f824
Remove stdio.h include from CYW43 SDK override (#965)
earlephilhower Nov 7, 2022
07fbed0
Fix Arduino Nano Connect USB VID:PID tuples (#970)
earlephilhower Nov 8, 2022
852219c
Add DatanoiseTV PicoADK board (#964)
DatanoiseTV Nov 9, 2022
2782dd1
Add Waveshare RP2040 Zero (#980)
maxgerhardt Nov 21, 2022
f9db547
Do not require USB init variable for TinyUSB (#981)
maxgerhardt Nov 21, 2022
2062f94
Update README.md
earlephilhower Nov 21, 2022
913dfad
Add Adafruit Feather RP2040 SCORPIO (#987)
PaintYourDragon Nov 23, 2022
0133ecc
Avoid race conditions in I2C(Wire) callbacks (#995)
earlephilhower Nov 23, 2022
4e6e1d6
Use PIN_I2S_ defines if they exist in board pin definition. (#991)
DatanoiseTV Nov 23, 2022
a7cf5cd
Fix GPIO interrupt on freeRTOS (#959)
imwoo90 Nov 23, 2022
158cf3c
Update rp2040.rst
earlephilhower Nov 23, 2022
bd4a2d2
Update rp2040.rst
earlephilhower Nov 23, 2022
f11c22d
Using PIO_FRAMEWORK_ARDUINO_NO_USB build flag would cause internal rp…
diesel437 Nov 24, 2022
e47e3c7
Fix memcpy to unallocated memory in EEPROM.cpp (#1000)
brabl2 Nov 24, 2022
d94ca66
Update Wire per @chrisckc debugging (#1011)
earlephilhower Nov 28, 2022
39ac1d6
Add some Waveshare board descriptions (#1004)
EngineerWill Nov 28, 2022
be60060
Fix newline issue w/Waveshare PR (#1012)
earlephilhower Nov 28, 2022
65dd19a
Allow building w/o USB for normal and picoprobe builds (#1013)
earlephilhower Nov 28, 2022
f9321b0
Update version
earlephilhower Nov 28, 2022
861da4c
Add Waveshare JSONs for Platform.IO (#1015)
earlephilhower Nov 28, 2022
d717b58
Speed up ClientContext::write(Stream) by chunking (#1017)
earlephilhower Nov 29, 2022
4e16a70
pluggable_discovery: Allow the scanner thread to quit (#1029)
dos1 Dec 4, 2022
d35e938
Fix File::readString to work with binary data (#1030)
elipsitz Dec 4, 2022
80d6e2f
Throw away UART bytes with errors in reception (#1036)
earlephilhower Dec 9, 2022
fca7fb5
Add USB drive mode to TinyUSB, SingleFileDisk (#1034)
earlephilhower Dec 9, 2022
03dbd6a
Increase WiFi.begin() default timeout to 15s (#1041)
earlephilhower Dec 14, 2022
f22ed52
Increase ClientContext write(Stream) to 256b chunk (#1042)
earlephilhower Dec 14, 2022
e2e65fd
Fix I2s::available() to skip currently playing (#1043)
earlephilhower Dec 14, 2022
fecbac2
Modified LowPowerMode functions in WiFiClass.cpp/.h for better connec…
brabl2 Dec 17, 2022
4cc8e6d
Update version
earlephilhower Dec 17, 2022
d184274
Fix CI errors when more than one *.a in cache dir (#1049)
earlephilhower Dec 18, 2022
16f5ae7
Add nullbits Bit-C PRO board (#1051)
jaygreco Dec 19, 2022
4af69f3
Update to 1.5.0-a toolchain (#1060)
earlephilhower Dec 23, 2022
e105c53
Degz Mizu changed to Viyalab Mizu RP2040 (#1062)
mucahidkamber Dec 23, 2022
dd45bb1
Update to Adafruyit TinyUSB 1.17 (#1071)
earlephilhower Dec 28, 2022
47b18ea
Add digitalWrite/ReadFast macros (#1069)
earlephilhower Dec 28, 2022
c9ae04c
Speed up ADC reads by not re-initting (#1072)
earlephilhower Dec 28, 2022
5ef04da
Make the AudioRingBuffer list-based (#1064)
earlephilhower Dec 28, 2022
0a58e91
Reduce ADC memory footprint slightly (#1073)
earlephilhower Dec 29, 2022
c69c568
Fix I2S::flush volatile casting (#1074)
earlephilhower Dec 29, 2022
7293603
Universal analogReadTemp() (#1075)
NuclearPhoenixx Dec 29, 2022
89947f0
Update analog.rst
earlephilhower Dec 29, 2022
b8906e0
digitalRead/WriteFast to sio_hw->gpio (#1077)
neilger Dec 30, 2022
08d37de
Add PWMAudio for DAC-free audio playback (#1076)
earlephilhower Dec 30, 2022
6a30e4b
Update version
earlephilhower Dec 30, 2022
a781ec2
Add WString.h include redirect for broader compat (#1083)
earlephilhower Dec 31, 2022
1228251
Add stereo support, docs for PWM playback (#1084)
earlephilhower Jan 1, 2023
1e2f1a1
Adding sei() and cli() as aliases for interrupts() and noInterrupts()…
per-magnusson Jan 1, 2023
d718b14
Warn when `Serial.printf()` format is wrong (#1090)
earlephilhower Jan 1, 2023
0e6ca28
Update wiring_analog.cpp (#1092)
NuclearPhoenixx Jan 2, 2023
444bb24
Remove debug printout warnings (#1091)
earlephilhower Jan 2, 2023
be34ed1
Reduce stack usage of several components (#1093)
earlephilhower Jan 2, 2023
6fe6c47
Add LSBJ format support for I2S (#1095)
earlephilhower Jan 3, 2023
7a42441
Set Right and Left correctly for lsbj format (#1096)
tomcombriat Jan 3, 2023
94abf9d
Move analogReadTemp() to C++-only (#1097)
earlephilhower Jan 3, 2023
02465b4
Allow on-the-fly changes to PWMAudio when possible (#1098)
earlephilhower Jan 4, 2023
6bef238
Update to LittleFS 2.5.1 (only minor updates) (#1099)
earlephilhower Jan 4, 2023
da26016
DMA-based ADC input (microphone, analog sensor) (#1101)
earlephilhower Jan 6, 2023
cefea28
Stop the I2S PIO when I2S::end called (#1103)
earlephilhower Jan 6, 2023
aeb41f3
Handle slave mode I2C restarts (#1104)
earlephilhower Jan 6, 2023
8289bbd
Add additional instructions for Linux Flatpak users (#1105)
AnachronisticPenguin Jan 9, 2023
ce17a62
Update install.rst
earlephilhower Jan 9, 2023
ff9f5d3
Update README.md
earlephilhower Jan 9, 2023
ae386d4
Redo boards menu, separate out upload method, add picotool upload (#1…
earlephilhower Jan 13, 2023
f7ee4a8
Add 0xCB Helios (#1117)
Conor-Burns Jan 14, 2023
4c23431
Add hook support to WebServer (#1119)
earlephilhower Jan 14, 2023
1328f78
Add VCC-GND YD-RP2040 board (#1120)
earlephilhower Jan 14, 2023
f212720
Update version
earlephilhower Jan 14, 2023
a8238cb
Add the YD-RP2040 support files
earlephilhower Jan 19, 2023
e3f2f87
Add more ESP8266 WiFi compatibility wrappers (#1128)
earlephilhower Jan 19, 2023
9a241b0
Add Serial UART break reporting (#1130)
Beirdo Jan 21, 2023
d619bf0
More minor ESP8266 compatibility tweaks (#1131)
earlephilhower Jan 21, 2023
ecaa2bd
Fix SerialUART::overflow reporting race condition (#1133)
earlephilhower Jan 21, 2023
c58f94a
Add correct boot source to helios (#1126)
Conor-Burns Jan 25, 2023
4c8bdc2
Print useful uf2conv error if executable not found (#1141)
earlephilhower Jan 26, 2023
af01c3c
Add boot2_w25q128jv to generic Pico flash menu (#1142)
earlephilhower Jan 27, 2023
a1af969
Fix USB VID/PID setting, rationalize boards.txt (#1144)
earlephilhower Jan 28, 2023
8a1e037
Fix SPI transfer16 return value (#1148)
vishnumaiea Jan 31, 2023
7573500
Add uPesy Tutorials using Arduino Pico port. (#1151)
uPesy Feb 1, 2023
b400897
Avoid initial glitch on Serial1/2 when RX high (#1154)
earlephilhower Feb 2, 2023
7df080e
PDM library re-port (#1160)
TomKong666 Feb 7, 2023
bedcbf5
Add ESP8266/32 WiFi.isConnected wrapper (#1166)
earlephilhower Feb 9, 2023
b6cb2e7
Avoid race condition in I2S/PWMAudio delete (#1163)
earlephilhower Feb 9, 2023
09db2e6
Apply SD.h fix from ESP8266 (#1171)
earlephilhower Feb 11, 2023
5dafbf5
Optimize and improve upload experience (#1136)
xxxajk Feb 11, 2023
1bfd07c
Update version
earlephilhower Feb 11, 2023
fc18004
Implement WiFi::softAPgetStationNum (#1174)
earlephilhower Feb 12, 2023
5e576c1
Update SD examples with working SPI configs (#1175)
earlephilhower Feb 12, 2023
84206eb
Fix SD.H FILE_WRITE mapping (#1178)
earlephilhower Feb 13, 2023
76e7cca
Add contributing docs (#1183)
earlephilhower Feb 13, 2023
6afd326
Update README.md
earlephilhower Feb 13, 2023
7322bad
Add docs on adding a new board to the core, too
earlephilhower Feb 14, 2023
2acc161
Update contrib.rst
earlephilhower Feb 14, 2023
974301e
Add rp2040.cpuid() call to get running core (#1190)
earlephilhower Feb 15, 2023
36e0b4a
Unbreak FreeRTOS (#1193)
earlephilhower Feb 15, 2023
75bab41
Make uf2conf.py flush STDOUT for real-time updates (#1194)
earlephilhower Feb 15, 2023
651d596
Allow FreeRTOS to ::printf (#1195)
earlephilhower Feb 15, 2023
d1a3009
Upgrade to toolchain 1.5.0-b (#1196)
earlephilhower Feb 16, 2023
7afcec8
Update picotool refs in JSON (#1197)
earlephilhower Feb 16, 2023
b473139
Enable use of uninitialized_ram() macro (#1199)
earlephilhower Feb 17, 2023
97e787e
Reduce unintialized_ram overhead to 0 in most cases (#1200)
earlephilhower Feb 17, 2023
ba413bb
Remove extra SPI byte flip (#1202)
caternuson Feb 17, 2023
060aa52
Add picoprobe CMSIS-DAP support (#1198)
hathach Feb 18, 2023
6db0ac8
Add release package fixups for picoprobe-cmsis-dap (#1205)
earlephilhower Feb 18, 2023
b7912f1
Add isPicoW call to RP2040 object (#1204)
earlephilhower Feb 18, 2023
11ac5ed
Update version
earlephilhower Feb 18, 2023
83e7908
Update PlayStereo.ino (#1210)
crp500 Feb 20, 2023
a97d5ea
Fix spelling mistake (#1211)
MisterSilvereagle Feb 20, 2023
1b33cbe
Always apply 5M speed to CMSIS_DAP TCL script (#1218)
earlephilhower Feb 21, 2023
9fd5cdf
Move PicoW auto-reassignment of LED pin to code (#1208)
earlephilhower Feb 23, 2023
264b9ef
Return custom USB product and manufacturer (#1223)
earlephilhower Feb 24, 2023
de55db1
Update rp2040.rst
earlephilhower Feb 27, 2023
d92c102
Update to SDK 1.5, add alpha-level BT support, use Pico-SDK CYW43 inf…
earlephilhower Feb 28, 2023
9760efb
Clean up the BT HID libraries a bit (#1236)
earlephilhower Feb 28, 2023
fd1596b
Update keywords.txt
earlephilhower Feb 28, 2023
96113fe
Fix BLE enable definition (#1238)
earlephilhower Mar 1, 2023
354edb3
Move pico-sdk to RPI's original version (#1239)
earlephilhower Mar 1, 2023
f5a6219
Add BLE HID libraries and examples (#1240)
earlephilhower Mar 2, 2023
67c1db9
JoystickBLE actually implements a gamepad, update appearance
earlephilhower Mar 2, 2023
7308ef4
Update bluetooth.rst
earlephilhower Mar 2, 2023
06a1fda
Update version
earlephilhower Mar 2, 2023
e9df18f
Update PicoBluetoothBLEHID.cpp
earlephilhower Mar 2, 2023
719ab01
Add Adafruit Feather RP2040 DVI (#1245)
PaintYourDragon Mar 2, 2023
305e194
Add setBattery to BLE HID devices (#1246)
earlephilhower Mar 2, 2023
0be1d9c
Fix picow default libname in platform.txt (#1250)
rei-vilo Mar 3, 2023
7aa1c08
Use generic HID classes to minimize code duplic'n (#1254)
earlephilhower Mar 3, 2023
173c444
Allow setting names for BT/BLE HID devices (#1260)
earlephilhower Mar 4, 2023
79e1af7
Add Keyboard LED callback for USB and BT (not BLE) (#1265)
earlephilhower Mar 4, 2023
f67bc43
Add Bluetooth support to Platform.io (#1259)
sanjay900 Mar 5, 2023
51afd34
Add Bluetooth to the PIO CI (#1269)
earlephilhower Mar 5, 2023
9e27273
Add instructions for making I2S input work with Adafruit microphone (…
timboldt Mar 5, 2023
54f9d3c
Reassign I2C pins to correct buses (#1255)
whimsee Mar 5, 2023
e6c7b97
Adjust LWIP intf to avoid hangs/crashes under load (#1286)
earlephilhower Mar 8, 2023
72f1e53
Add board definition for Neko Systems BL2040 Mini (#1258)
nanoparticle Mar 9, 2023
6bff270
Manually add MDNS multicast Ethernet MACs to CYW43 (#1290)
earlephilhower Mar 9, 2023
75c553c
Fix pin assigment for Waveshare RP2040 1.28 LCD PIN_BAT_ADC (#1292)
PhilippMolitor Mar 10, 2023
7851dc8
Update version
earlephilhower Mar 10, 2023
8dc44b5
Astyle format variants format (#1295)
earlephilhower Mar 10, 2023
084d5b0
Add 4 and 8 MB VCC_GND boards via Flash Size menu (#1297)
earlephilhower Mar 11, 2023
d67930e
Feather DVI peripheral fix (#1301)
ladyada Mar 14, 2023
ebe5bfb
Increase UDP PCBs to avoid DNS OOM error (#1304)
earlephilhower Mar 14, 2023
8e8fea4
Add (unsupported) BTstack Arduino library (#1305)
earlephilhower Mar 15, 2023
3dbe5cf
Add I2S::swapClocks() for boards w/reversed pins (#1298)
earlephilhower Mar 15, 2023
1dfd9eb
Add HID consumer (aka media) keys for USB, BT (#1309)
earlephilhower Mar 16, 2023
71238cc
Clean up CoreMutex and __isFreeRTOS definition (#1312)
earlephilhower Mar 16, 2023
869ea4c
Add flatpak-specific IDE installation instructions (#1317)
markhildreth Mar 19, 2023
e1b881a
Add Win32 Long Path info to P.IO docs (#1321)
earlephilhower Mar 20, 2023
3876556
Update README.md
earlephilhower Mar 21, 2023
371b2c8
Add Feather RP2040 RFM, fix pins in SCORPIO, DVI board defs (#1333)
PaintYourDragon Mar 28, 2023
f8ba72a
Add Feather ThinkINK and USB Host (#1334)
PaintYourDragon Mar 29, 2023
00644db
Update to fixed HID_Mouse submodule (#1340)
earlephilhower Mar 30, 2023
0963611
Add absolute mouse support (#1342)
earlephilhower Mar 30, 2023
5bf570c
Add support for Challenger UWB board, fix some defines (#1351)
PontusO Apr 3, 2023
369c878
Add BTC and BLE docs to PlatformIO (#1354)
maxgerhardt Apr 4, 2023
ff0d794
Add MacOS Picotool upload help (#1355)
earlephilhower Apr 4, 2023
c276a36
Update version
earlephilhower Apr 5, 2023
07781e9
Rename BTstack lib to BTstackLib (#1360)
earlephilhower Apr 7, 2023
59981ae
Rename USB HOST pins (#1367)
PaintYourDragon Apr 10, 2023
3dcb4bb
Clear compile errors if BT needed but not on (#1371)
earlephilhower Apr 12, 2023
4f643d2
Enable BlackMagicProbe for PlatformIO (#1378)
maxgerhardt Apr 15, 2023
0322a68
Add board Seeed Indicator RP2040 (#1375)
Apr 21, 2023
437d035
Sync macros used in PlatformIO and platform.txt (#1386)
maxgerhardt Apr 21, 2023
7ef00c8
Update to Adafruit_TinyUSB 2.1.0 (#1387)
earlephilhower Apr 21, 2023
f33dfd2
Don't delete first cert, taken from ESP8266 repo (#1392)
earlephilhower Apr 22, 2023
ff9f228
FreeRTOS compilation fix when no LED present (#1413)
earlephilhower May 1, 2023
611547e
Add PICO_FLASH_SIZE_BYTES define (#1414)
earlephilhower May 1, 2023
a916695
Add PICO_FLASH_SIZE_BYTES to PIO (#1416)
maxgerhardt May 1, 2023
5a94944
Fix USB crashes in FreeRTOS (#1419)
earlephilhower May 2, 2023
01ee673
Protect the HW random generation from FreeRTOS (#1395)
earlephilhower May 2, 2023
89fe754
Fix USB Mouse/Joystick HID report ID (#1418)
earlephilhower May 2, 2023
2c0ce6f
Add Feathers: CAN and Prop-Maker (#1421)
PaintYourDragon May 2, 2023
414ff23
Remove circular dependency on WiFi/LWIP_Ethernet (#1415)
earlephilhower May 5, 2023
e95248a
Support and Document pico-debug in PlatformIO (#1427)
maxgerhardt May 5, 2023
3dee0a2
Update version
earlephilhower May 5, 2023
ef4ec41
Add dummy Serial implementation when NO_USB defined (#1438)
git2212 May 11, 2023
6e52b72
Update macro for detecting this core in contributing docs (#1436)
earlephilhower May 11, 2023
a7905fb
Add Arduino CLI installation instructions (#1447)
alranel May 15, 2023
723c814
Update contrib.rst
earlephilhower May 15, 2023
ae908c8
Use real FreeRTOS tasks to idle core during flash (#1444)
earlephilhower May 16, 2023
16c2e8e
Clean up FreeRTOS, remove core freeze hacks (#1448)
earlephilhower May 16, 2023
a851a92
Merge latest FreeRTOS/SMP upstream branch (#1449)
earlephilhower May 16, 2023
b57ac66
Cleanup legacy includes (#1452)
earlephilhower May 17, 2023
efd0efb
Modified submodules
May 19, 2023
a62858b
Merge remote-tracking branch 'earlephilhower/master' into 20230519
May 19, 2023
7911d6b
Modified libraries/Joystick
May 19, 2023
5794e25
Modified submodules
May 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
50 changes: 23 additions & 27 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ name: Arduino-Pico CI
on:
pull_request:

env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
TRAVIS_TAG: ${{ github.ref }}


jobs:

Expand All @@ -20,7 +24,7 @@ jobs:
- name: Run codespell
uses: codespell-project/actions-codespell@master
with:
skip: ./ArduinoCore-API,./libraries/ESP8266SdFat,./libraries/Adafruit_TinyUSB_Arduino,./libraries/LittleFS/lib,./libraries/Ethernet,./tools/pyserial,./pico-sdk,./.github,./docs/i2s.rst,./cores/rp2040/api,./libraries/FreeRTOS,./tools/libbearssl/bearssl,./include,./libraries/WiFi/examples/BearSSL_Server,./ota/uzlib
skip: ./ArduinoCore-API,./libraries/ESP8266SdFat,./libraries/Adafruit_TinyUSB_Arduino,./libraries/LittleFS/lib,./libraries/Ethernet,./tools/pyserial,./pico-sdk,./.github,./docs/i2s.rst,./cores/rp2040/api,./libraries/FreeRTOS,./tools/libbearssl/bearssl,./include,./libraries/WiFi/examples/BearSSL_Server,./ota/uzlib,./libraries/http-parser/lib,./libraries/WebServer/examples/HelloServerBearSSL/HelloServerBearSSL.ino,./libraries/HTTPUpdateServer/examples/SecureBearSSLUpdater/SecureBearSSLUpdater.ino,./.git
ignore_words_list: ser,dout

# Consistent style
Expand All @@ -46,37 +50,31 @@ jobs:
./tests/restyle.sh
# If anything changed, GIT should return an error and fail the test
git diff --exit-code
# - name: Check Arduino API copy is clean
# run: |
# git submodule update --init ./ArduinoCore-API
# diff -r ./cores/rp2040/api ./ArduinoCore-API/api

# Build all examples on linux (core and Arduino IDE)
build-linux:
name: Build ${{ matrix.chunk }}
runs-on: ubuntu-latest
strategy:
matrix:
chunk: [0, 1, 2, 3]
chunk: [0, 1, 2, 3, 4, 5]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Cache Linux toolchain
id: cache-linux
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./tools/dist
key: ${{ runner.os }}-${{ hashFiles('package/package_pico_index.template.json', 'tests/common.sh') }}
- name: Build Sketches
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
TRAVIS_TAG: ${{ github.ref }}
BUILD_PARITY: custom
mod: 4
mod: 6
rem: ${{ matrix.chunk }}
run: |
cd pico-sdk
Expand All @@ -92,19 +90,17 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Cache Linux toolchain
id: cache-linux
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./tools/dist
key: ${{ runner.os }}-${{ hashFiles('package/package_pico_index.template.json', 'tests/common.sh') }}
- name: Build Sketches
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
TRAVIS_TAG: ${{ github.ref }}
BUILD_PARITY: custom
run: |
cd pico-sdk
Expand All @@ -120,19 +116,17 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Cache Windows toolchain
id: cache-windows
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./tools/dist
key: ${{ runner.os }}-${{ hashFiles('package/package_pico_index.template.json', 'tests/common.sh') }}
- name: Build Sketch
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
TRAVIS_TAG: ${{ github.ref }}
WINDOWS: 1
BUILD_PARITY: custom
mod: 500
Expand All @@ -150,24 +144,22 @@ jobs:
# Single build under macOS to ensure the Mac toolchain is good.
build-mac:
name: Mac
runs-on: macOS-latest
runs-on: macOS-12
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Cache Mac toolchain
id: cache-mac
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./tools/dist
key: ${{ runner.os }}-${{ hashFiles('package/package_pico_index.template.json', 'tests/common.sh') }}
- name: Build Sketch
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
TRAVIS_TAG: ${{ github.ref }}
MACOSX: 1
BUILD_PARITY: custom
mod: 500
Expand All @@ -194,19 +186,21 @@ jobs:
git submodule update --init
cd ../..
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
Expand All @@ -223,3 +217,5 @@ jobs:
run: pio ci --board=rpipicow -O "platform_packages=framework-arduinopico@symlink:///home/runner/work/arduino-pico/arduino-pico" libraries/WiFi/examples/ScanNetworks/ScanNetworks.ino
- name: Build Signed OTA Example
run: pio ci --board=rpipicow -O "platform_packages=framework-arduinopico@symlink:///home/runner/work/arduino-pico/arduino-pico" libraries/ArduinoOTA/examples/SignedOTA/SignedOTA.ino
- name: Build Bluetooth Example
run: pio ci --board=rpipicow -O "platform_packages=framework-arduinopico@symlink:///home/runner/work/arduino-pico/arduino-pico" -O "build_flags=-DPIO_FRAMEWORK_ARDUINO_ENABLE_BLUETOOTH" libraries/MouseBLE/examples/BLECircle/BLECircle.ino
8 changes: 4 additions & 4 deletions .github/workflows/release-to-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ jobs:
name: Update master JSON file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install PlatformIO
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-to-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
name: Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Build package JSON
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ system
tools/dist
docs/_build
ota/build
tools/libpico/build
tools/libpico/build
platform.local.txt
17 changes: 10 additions & 7 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
url = https://github.com/earlephilhower/ArduinoCore-API.git
[submodule "pico-sdk"]
path = pico-sdk
url = https://github.com/earlephilhower/pico-sdk.git
url = https://github.com/raspberrypi/pico-sdk.git
[submodule "system/pyserial"]
path = tools/pyserial
url = https://github.com/pyserial/pyserial.git
Expand All @@ -14,14 +14,14 @@
path = libraries/ESP8266SdFat
url = https://github.com/earlephilhower/ESP8266SdFat.git
[submodule "libraries/Keyboard"]
path = libraries/Keyboard
url = https://github.com/earlephilhower/Keyboard
path = libraries/HID_Keyboard
url = https://github.com/earlephilhower/Keyboard.git
[submodule "libraries/Mouse"]
path = libraries/Mouse
url = https://github.com/earlephilhower/Mouse
path = libraries/HID_Mouse
url = https://github.com/earlephilhower/Mouse.git
[submodule "libraries/Joystick"]
path = libraries/Joystick
url = https://github.com/benjaminaigner/Joystick
path = libraries/HID_Joystick
url = https://github.com/earlephilhower/Joystick.git
[submodule "libraries/Adafruit_TinyUSB_Arduino"]
path = libraries/Adafruit_TinyUSB_Arduino
url = https://github.com/adafruit/Adafruit_TinyUSB_Arduino.git
Expand All @@ -41,3 +41,6 @@
[submodule "libraries/WizFi360_arduino_library"]
path = libraries/WizFi360_arduino_library
url = https://github.com/Wiznet/WizFi360_arduino_library.git
[submodule "libraries/http_parser/lib/http-parser"]
path = libraries/http-parser/lib/http-parser
url = https://github.com/nodejs/http-parser.git
Loading