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{
21
28inline void run()
29{
30 ove_run();
31}
32
33} /* namespace ove */
34
61#define OVE_MAIN() \
62 static void ove_main_impl(); \
63 extern "C" void ove_main(void) \
64 { \
65 ove_main_impl(); \
66 } \
67 static void ove_main_impl()
Top-level namespace for all oveRTOS C++ abstractions.
Definition app.hpp:20
void run()
Starts the oveRTOS scheduler and enters the main event loop.
Definition app.hpp:28
Common type definitions and concepts for the C++ wrapper layer.