Commit 20d156c
authored
Two firmware levers for the node 35 brownout crash-loop at phy_init. Neither
touches the initial phy_init calibration PEAK that trips the reset (only the bulk
cap / custom PCB #11 does) -- these are belt-and-suspenders.
1. CONFIG_ESP_PHY_REDUCE_TX_POWER=y (sdkconfig.defaults, grouped with the brownout
block). IDF-native: esp_phy_reduce_tx_power() forces the lowest PHY TX power on
the boot immediately after ESP_RST_BROWNOUT (phy_init.c gates it on exactly that
reset reason), trimming current on the retry boot. Post-brownout backoff, NOT a
peak cut.
2. Wi-Fi connectivity-transition logger (app_main.cpp). Originally scoped as a
runtime reconnect backoff via ConnectivityMgr().SetWiFiStationReconnectInterval,
but esp-matter's ESP32 ConnectivityManagerImpl DECLARES _SetWiFiStationReconnect-
Interval without defining it (only _Get links; the interval is a fixed compile-
time 5s), so that call does not link on this platform. CHIP already auto-
reconnects on its 5s timer, and the field "never reconnects" symptom is the
brownout reboot loop (pre-CHIP) anyway. So this ships as an observer that
timestamps Lost/Established transitions -- lets a real Wi-Fi drop be told apart
from a brownout reboot when triaging a node. Observer-only; touches no CHIP state.
Bumps PROJECT_VER 1.1.7 -> 1.1.8 (int 10108); sdkconfig NUMBER/STRING synced.
Verified: builds + links clean (debug flavour, 15% flash free). Not yet flashed to
node 35. See #83.
Assisted-by: AI
1 parent fbc5565 commit 20d156c
3 files changed
Lines changed: 44 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
974 | 1000 | | |
975 | 1001 | | |
976 | 1002 | | |
| |||
1520 | 1546 | | |
1521 | 1547 | | |
1522 | 1548 | | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
1523 | 1556 | | |
1524 | 1557 | | |
1525 | 1558 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
| |||
0 commit comments