Kleidos API Search

In development. It changes without notice.

Topic

Entry point

app_main(): the boot order, and the five objects of the instrument.

Files

file firmware/src/main.cpp
app_main(): release the relays, blank the LED, bring the INA228 up, hand the bus to the sampler, then become the console.

Functions

voidapp_main (void)
The entry point ESP-IDF calls, by that name.

Function Documentation

app_main() #

void app_main(void)

The entry point ESP-IDF calls, by that name.

Runs the boot sequence the file describes – map read, relays released, LED dark, the watchdog running, the calibration, the bring-up, the sampler and the console – and then runs the console on this task for good: it never returns, so the main task is never deleted and nothing frees its stack.