mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-23 07:12:25 +00:00
close out the restructure's open items
- boot_info: label the ESP32 reset reasons Zephyr's hwinfo driver maps to 0 (USB-Serial-JTAG/JTAG reset -> DEBUG, power glitch -> BROWNOUT, CPU lockup, eFuse -> HARDWARE); get pwrmgt.bootreason no longer says Unknown after a flash - mqtt: the uplink credentials struct moves to adapters/mqtt/uplink_creds.h, so the adapter no longer includes an app header (layout unchanged: the struct is persisted raw) - gps: one off-levels routine for standby/off and System OFF; the sleep line stays asserted in standby and drops at System OFF, as upstream's sleep_gps/stop_gps/powerOff; System OFF now asserts reset before cutting GPS_EN - doom: sprites solid with a one-pixel black halo, boss drawn 1.5x on the floor; the L2 boss was invisible from the spawn on 1-bit panels
This commit is contained in:
1 parent
9fc1eaf18a
commit
187a44060d
8 files changed
+214
-162
No files matched your search
+4
-4
@@ -185,7 +185,7 @@ flowchart TB
|
||||
| V2 | `helpers/CommonCLI.cpp` includes the GPS manager, `ZephyrBoard`, WiFi OTA and UI headers (it serves `gps sync`, `start dfu`, `start ota`, display and input rotation). Sensors and GPS settings go through upstream's `SensorManager` since 2026-09-25. | Accepted: the remaining includes serve ZephCore-only commands. |
|
||||
| V3 | `helpers/boot_prefs.h` includes the GPS manager (applies GPS prefs at boot, as upstream's `applyGpsPrefs()`). | Accepted. |
|
||||
| V4 | The joystick UI calls `CompanionMesh` directly. | **Accepted by decision**: it runs on the main thread, so the calls are safe, and upstream's UITask reads `the_mesh` the same way. One access point (`JoystickUITask::getMesh()`). |
|
||||
| V5 | The MQTT adapter includes `app/observer_creds.h`. | Open, small. |
|
||||
| V5 | The MQTT adapter included `app/observer_creds.h`. | **Resolved 2026-09-26**: the credentials struct lives in `adapters/mqtt/uplink_creds.h`; the roles keep its persistence. |
|
||||
|
||||
### 5.4 Component inventory
|
||||
|
||||
@@ -358,6 +358,6 @@ upstream alignment (§9).
|
||||
|
||||
1. `CompanionMesh.cpp` (~3.5k lines) and `CommonCLI.cpp` (~2k) remain the largest files, though now in upstream's
|
||||
shape (one handler per opcode; upstream command layout).
|
||||
2. V5 (§5.3).
|
||||
3. Merging the GPS standby and shutdown pin sequences needs current measurements first.
|
||||
4. ESP32 reset cause is not reported (`get pwrmgt.bootreason` shows `Unknown`).
|
||||
|
||||
None beyond that: the items left open at the end of the restructure (V5, the GPS off sequences, the ESP32 reset
|
||||
cause) were closed on 2026-09-26.
|
||||
Reference in new issue
Block a user