Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
lv_drv_conf.h
1
/*
2
* Copyright (C) 2022 Inria
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#include <stdint.h>
26
#include "
kernel_defines.h
"
27
#include "
lvgl_riot_conf.h
"
28
29
/*********************
30
* DISPLAY DRIVERS
31
*********************/
32
33
/*-------------------
34
* SDL
35
*-------------------*/
36
41
#define USE_SDL IS_USED(MODULE_LV_DRIVERS_SDL)
45
#ifndef SDL_HOR_RES
46
#define SDL_HOR_RES 320
47
#endif
51
#ifndef SDL_VER_RES
52
#define SDL_VER_RES 240
53
#endif
57
#define LV_HOR_RES SDL_HOR_RES
61
#define LV_VER_RES SDL_VER_RES
65
#ifndef SDL_ZOOM
66
#define SDL_ZOOM 1
67
#endif
72
#define SDL_DOUBLE_BUFFERED 0
76
#define SDL_DUAL_DISPLAY 0
77
78
#ifdef __cplusplus
79
}
80
#endif
81
kernel_defines.h
Common macros and compiler attributes/pragmas configuration.
lvgl_riot_conf.h
Definitions specific to RIOT for the LVGL engine.
Generated on Mon Oct 20 2025 13:02:26 by
1.9.1