TB2026-YDS Firmware
Loading...
Searching...
No Matches
app.h File Reference

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.

Detailed Description

Application entry points: board bring-up and UI hand-off.

Note
Développé avec l'assistance de Claude Opus 4.8 (Anthropic), sous la direction de Y. Dos Santos : spécification, revue et validation sur cible par l'auteur.

Function Documentation

◆ app_init()

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().

◆ app_run()

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().