oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
lvgl.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
39/*
40 * Unified LVGL header — single include for application code.
41 *
42 * Provides both the oveRTOS LVGL API (init, lock, unlock, tick, handler)
43 * and the upstream LVGL types/functions. Zephyr places lvgl.h directly
44 * on the include path; other backends use the lvgl/ subdirectory.
45 *
46 * Usage (C):
47 * #include "ove/lvgl.h"
48 *
49 * Usage (C++):
50 * #include <ove/lvgl.hpp> // includes this automatically
51 */
52
53#ifndef OVE_LVGL_H
54#define OVE_LVGL_H
55
56/* oveRTOS LVGL abstraction API */
57#include "ove/lvgl_internal.h"
58
59/* Upstream LVGL — only include when LVGL is enabled */
60#ifdef CONFIG_OVE_LVGL
61#if defined(__ZEPHYR__)
62#include <lvgl.h>
63#else
64#include <lvgl/lvgl.h>
65#endif
66#endif /* CONFIG_OVE_LVGL */
67
70#endif /* OVE_LVGL_H */
Unified LVGL header — single include for application code.