Skip to content

Commit 9f4c8a2

Browse files
authored
Update arduino-pico core and remove MDNS restriction (#5483)
1 parent 43b8972 commit 9f4c8a2

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

arch/rp2xx0/rp2040.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; Common settings for rp2040 Processor based targets
22
[rp2040_base]
3-
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#19e30129fb1428b823be585c787dcb4ac0d9014c ; For arduino-pico 4.2.1
3+
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#19e30129fb1428b823be585c787dcb4ac0d9014c ; For arduino-pico >=4.2.1
44
extends = arduino_base
5-
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#996c3bfab9758f12c07aa20cc6d352e630c16987 ; 4.2.1 with fix for sporadic hangs
5+
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#6024e9a7e82a72e38dd90f42029ba3748835eb2e ; 4.3.0 with fix MDNS
66

77
board_build.core = earlephilhower
88
board_build.filesystem_size = 0.5m

arch/rp2xx0/rp2350.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; Common settings for rp2040 Processor based targets
22
[rp2350_base]
3-
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#19e30129fb1428b823be585c787dcb4ac0d9014c ; For arduino-pico 4.2.1
3+
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#19e30129fb1428b823be585c787dcb4ac0d9014c ; For arduino-pico >=4.2.1
44
extends = arduino_base
5-
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#96c3bfab9758f12c07aa20cc6d352e630c16987 ; 4.2.1 with fix for sporadic hangs
5+
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#6024e9a7e82a72e38dd90f42029ba3748835eb2e ; 4.3.0 with fix MDNS
66

77
board_build.core = earlephilhower
88
board_build.filesystem_size = 0.5m

src/mesh/wifi/WiFiAPClient.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ static void onNetworkConnected()
6262
LOG_INFO("Start WiFi network services");
6363

6464
// start mdns
65-
if (
66-
#ifdef ARCH_RP2040
67-
!moduleConfig.mqtt.enabled && // MDNS is not supported when MQTT is enabled on ARCH_RP2040
68-
#endif
69-
!MDNS.begin("Meshtastic")) {
65+
if (!MDNS.begin("Meshtastic")) {
7066
LOG_ERROR("Error setting up MDNS responder!");
7167
} else {
7268
LOG_INFO("mDNS Host: Meshtastic.local");

0 commit comments

Comments
 (0)