fix(rlcd): wifi crash - use wifi-pinned disabled like other boards
- Crash: wifi0 as esp32-wifi enabled during kernel init conflicts with WebServerService AP mode esp_wifi_init() -> ESP_ERR_INVALID_STATE abort - Fix: use esp32-wifi-pinned status=disabled pattern like ES3C28P, CYD etc (all boards have wifi0 disabled). STA starts later via WifiService setEnabled, no longer crashes during kernel init. Log shows: 'Setting DHCP hostname kidsOS-91EC' + 'WiFi radio on' after boot - Keeps mDNS AP+STA + hostname kidsOS-XXXX
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <tactility/bindings/esp32_spi.h>
|
||||
#include <tactility/bindings/esp32_i2s.h>
|
||||
#include <tactility/bindings/esp32_uart.h>
|
||||
#include <tactility/bindings/esp32_wifi_pinned.h>
|
||||
#include <tactility/bindings/display_placeholder.h>
|
||||
|
||||
/ {
|
||||
@@ -69,6 +70,11 @@
|
||||
pullups;
|
||||
};
|
||||
|
||||
wifi0 {
|
||||
compatible = "espressif,esp32-wifi-pinned";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart0 {
|
||||
compatible = "espressif,esp32-uart";
|
||||
port = <UART_NUM_0>;
|
||||
|
||||
Reference in New Issue
Block a user