oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
app.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2026 Kamil Lulko <kamil.lulko@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 *
6 * This file is part of oveRTOS.
7 */
8
19#ifndef OVE_APP_H
20#define OVE_APP_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
50extern void ove_main(void);
51
71void ove_run(void);
72
85int ove_app_run(void);
86
107void ove_heap_lock(void);
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif /* OVE_APP_H */
114
void ove_main(void)
Application-defined entry point called after board and console init.
void ove_run(void)
End the init phase: lock the heap (zero-heap mode) and launch the RTOS scheduler.
void ove_heap_lock(void)
Lock the kernel heap after init (zero-heap mode safety net).
int ove_app_run(void)
Platform entry point: initialise the board and then run the application.