forked from zephyrproject-rtos/zephyr
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.sdl
42 lines (30 loc) · 1001 Bytes
/
Kconfig.sdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SDL based emulated display configuration options
# Copyright (c) 2018 Jan Van Winkel <[email protected]>
# SPDX-License-Identifier: Apache-2.0
menuconfig SDL_DISPLAY
bool "SDL based emulated display"
default y
depends on DT_HAS_ZEPHYR_SDL_DC_ENABLED
select HAS_SDL
help
Enable SDL based emulated display compliant with display driver API.
if SDL_DISPLAY
choice SDL_DISPLAY_DEFAULT_PIXEL_FORMAT
prompt "Default pixel format"
default SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_ARGB_8888
help
Default pixel format to be used by the display
config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_ARGB_8888
bool "ARGB 8888"
config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_RGB_888
bool "RGB 888"
config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01
bool "Mono Black=0"
config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO10
bool "Mono Black=1"
config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_RGB_565
bool "RGB 565"
config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_BGR_565
bool "BGR 565"
endchoice
endif # SDL_DISPLAY