|
TB2026-YDS Firmware
|
Application entry points: board bring-up and UI hand-off. More...
Go to the source code of this file.
Functions | |
| void | app_init (void) |
| Bring up the whole board: self-hold power, NVS, drivers and services. | |
| void | app_run (void) |
| Start the UI on its own task and return. | |
Application entry points: board bring-up and UI hand-off.
| void app_init | ( | void | ) |
Bring up the whole board: self-hold power, NVS, drivers and services.
Runs the full boot sequence (EnableReg self-hold, PM config, NVS, then the bsp/driver/service init chain) so the system is ready before the UI starts. Called once from app_main().
| void app_run | ( | void | ) |
Start the UI on its own task and return.
Spawns the pinned UI task so app_main() can exit (its undersized stack would otherwise overflow running the UI loop). Call once, after app_init().