oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
app.hpp
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
14#pragma once
15
16#include <ove/app.h>
17#include <ove/types.hpp>
18
19namespace ove {
20
27inline void run() { ove_run(); }
28
29} /* namespace ove */
30
45#define OVE_MAIN() \
46 static void ove_main_impl(); \
47 extern "C" void ove_main(void) { \
48 ove_main_impl(); \
49 } \
50 static void ove_main_impl()
Top-level namespace for all oveRTOS C++ abstractions.
Definition app.hpp:19
void run()
Starts the oveRTOS scheduler and enters the main event loop.
Definition app.hpp:27
Common type definitions and concepts for the C++ wrapper layer.