Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
19
#ifndef LV_DRV_CONF_H
20
#define LV_DRV_CONF_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#include <stdint.h>
27
#include "
kernel_defines.h
"
28
#include "
lvgl_riot_conf.h
"
29
30
/*********************
31
* DISPLAY DRIVERS
32
*********************/
33
34
/*-------------------
35
* SDL
36
*-------------------*/
37
42
#define USE_SDL IS_USED(MODULE_LV_DRIVERS_SDL)
46
#ifndef SDL_HOR_RES
47
#define SDL_HOR_RES 320
48
#endif
52
#ifndef SDL_VER_RES
53
#define SDL_VER_RES 240
54
#endif
58
#define LV_HOR_RES SDL_HOR_RES
62
#define LV_VER_RES SDL_VER_RES
66
#ifndef SDL_ZOOM
67
#define SDL_ZOOM 1
68
#endif
73
#define SDL_DOUBLE_BUFFERED 0
77
#define SDL_DUAL_DISPLAY 0
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
/* LV_DRV_CONF_H */
kernel_defines.h
Common macros and compiler attributes/pragmas configuration.
lvgl_riot_conf.h
Definitions specific to RIOT for the LVGL engine.
Generated on Fri Dec 20 2024 20:01:56 by
1.9.8