Add WiFi companion support for Pico W
SerialWifiInterface has no ESP32-specific code, so move it to helpers/wifi and reuse it on RP2040. Guard the ESP32-only WiFi event/auto-reconnect calls and poll link state on RP2040 instead.
This commit is contained in:
1 parent
4606918fad
commit
676169b777
5 files changed
+34
-21
No files matched your search
@@ -64,6 +64,7 @@ build_flags = ${arduino_base.build_flags}
|
||||
-D ESP32_PLATFORM
|
||||
; -D ESP32_CPU_FREQ=80 ; change it to your need
|
||||
build_src_filter = ${arduino_base.build_src_filter}
|
||||
+<helpers/wifi/*.cpp>
|
||||
|
||||
[esp32_ota]
|
||||
lib_deps =
|
||||
|
||||
Reference in new issue
Block a user