Commit 35d3612
committed
docs(esp32): correct the debug-flavour deployment note
The header said this flavour 'must not be deployed', which contradicts practice:
the bench nodes intentionally run it during development, because there is usually
no serial access and the :2323 console is the only observability path.
Restate the actual rule. Not for a shipped END-USER product, but flashing it to a
real unit during development is correct, not a mistake. Left as written, the next
reader treats a deliberate setup as a misconfiguration.
Also records the trap that cost a build cycle: a release-flavour build succeeds and
produces a valid image with the console silently gone, because CMakeLists gates
diag_console.cpp on CONFIG_HISENSE_DEBUG_BUILD and nothing in the build log mentions
it. Adds the one-line strings check to confirm the flavour took before staging.
Assisted-by: AI1 parent e75ba4a commit 35d3612
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
9 | 23 | | |
10 | 24 | | |
0 commit comments