Commit 80be5f6
committed
fix(esp32-release): load the env in build(); bump esp32 to 1.1.1
build() never called load_env -- only package/stage/flash did -- so the recovery-credential guard
could not see BREAKGLASS_TOKEN from ota-release.env and rejected an otherwise correct build. The
guard was reading an environment the rest of the script only populates later. Caught immediately
by the guard itself on its first real use.
With the env loaded, a build through this script now reports both credentials baked in:
hisense: manual OTA URL set from build config
hisense: break-glass trigger ENABLED (token set from build config)
Also verified the guard fires correctly: building without HISENSE_OTA_URL dies with the USB-only
explanation rather than silently shipping a placeholder.
PROJECT_VER 1.1.0 -> 1.1.1 (int 10101) with sdkconfig kept in sync, so the pending node-35 flash
is verifiable by a changed softwareVersion rather than by a reboot -- the mistake that made the
ameba break-glass look like it worked for most of a day.
NOT FLASHED: node 35 is not responding to esptool ("Unable to verify flash chip connection",
plus a nonsense 15.55 MHz crystal reading on a 40 MHz part), so this is a cable/power/seating
issue at the module rather than anything in the image. The build is archived and ready.
Assisted-by: AI1 parent 3bb2134 commit 80be5f6
3 files changed
Lines changed: 7 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 | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
0 commit comments