File tree Expand file tree Collapse file tree
Waveshare-ESP32-S3-Touch-AMOLED-1.8 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ config BOARD_CHOICE
66 string
77 default "DNESP32S3-BOX"
88
9+ config BOARD_CONFIG
10+ bool
11+ default y
12+ select ENABLE_AUDIO
13+ select ENABLE_DISPLAY
14+ select PLATFORM_FLASHSIZE_16M
15+
916config AUDIO_DRIVER_NAME
1017 string "the name of the audio driver"
1118 default "audio_driver"
Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ config BOARD_CHOICE
66 string
77 default "DNESP32S3"
88
9+ config BOARD_CONFIG
10+ bool
11+ default y
12+ select ENABLE_AUDIO
13+ select ENABLE_DISPLAY
14+ select PLATFORM_FLASHSIZE_16M
15+
916config AUDIO_DRIVER_NAME
1017 string "the name of the audio driver"
1118 default "audio_driver"
Original file line number Diff line number Diff line change @@ -19,6 +19,19 @@ config OPERATING_SYSTEM
1919 98 /* RTOS */
2020 3 /* Non-OS */
2121
22+ config PLATFORM_FLASHSIZE_4M
23+ bool
24+ default n
25+
26+ config PLATFORM_FLASHSIZE_8M
27+ bool
28+ default n
29+
30+ config PLATFORM_FLASHSIZE_16M
31+ bool
32+ default n
33+
34+
2235rsource "./TKL_Kconfig"
2336rsource "./OS_SERVICE_Kconfig"
2437
Original file line number Diff line number Diff line change @@ -40,6 +40,18 @@ config ENABLE_WATCHDOG
4040 bool
4141 default y
4242
43+ config ENABLE_AUDIO
44+ bool
45+ default n
46+
47+ config ENABLE_VIDEO
48+ bool
49+ default n
50+
51+ config ENABLE_DISPLAY
52+ bool
53+ default n
54+
4355config LITTLE_END
4456 int
4557 default 1
Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ config BOARD_CHOICE
66 string
77 default "Waveshare-ESP32-S3-Touch-AMOLED-1.8"
88
9+ config BOARD_CONFIG
10+ bool
11+ default y
12+ select ENABLE_AUDIO
13+ select ENABLE_DISPLAY
14+ select PLATFORM_FLASHSIZE_16M
15+
916config AUDIO_DRIVER_NAME
1017 string "the name of the audio driver"
1118 default "audio_driver"
Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ config BOARD_CHOICE
66 string
77 default "bread-compact-wifi"
88
9+ config BOARD_CONFIG
10+ bool
11+ default y
12+ select ENABLE_AUDIO
13+ select ENABLE_DISPLAY
14+ select PLATFORM_FLASHSIZE_16M
15+
916config AUDIO_DRIVER_NAME
1017 string "the name of the audio driver"
1118 default "audio_driver"
Original file line number Diff line number Diff line change @@ -21,22 +21,34 @@ file(GLOB_RECURSE LCD_SRCS "${COMMON_PATH}/lcd/*.c")
2121# add io_expander source files
2222file (GLOB IO_EXPANDER_SRCS "${COMMON_PATH} /io_expander/*.c" )
2323
24- set (BOARD_SRC
25- "${AUDIO_SRCS} "
26- "${FONT_SRCS} "
27- "${IMAGE_SRCS} "
28- "${UI_SRCS} "
29- "${OTHER_SRCS} "
30- "${LCD_SRCS} "
31- "${IO_EXPANDER_SRCS} "
32- )
33-
34- set (BOARD_INC
35- "${COMMON_PATH} "
36- "${COMMON_PATH} /audio"
37- "${COMMON_PATH} /display"
38- "${COMMON_PATH} /display/font"
39- "${COMMON_PATH} /display/ui"
40- "${COMMON_PATH} /lcd"
41- "${COMMON_PATH} /io_expander"
42- )
24+ set (BOARD_SRC "" )
25+ set (BOARD_INC "${COMMON_PATH} " )
26+
27+ if (CONFIG_ENABLE_DISPLAY)
28+ file (append BOARD_SRC
29+ "${FONT_SRCS} "
30+ "${IMAGE_SRCS} "
31+ "${UI_SRCS} "
32+ "${OTHER_SRCS} "
33+ "${LCD_SRCS} "
34+ "${IO_EXPANDER_SRCS} "
35+ )
36+
37+ file (append BOARD_INC
38+ "${COMMON_PATH} /display"
39+ "${COMMON_PATH} /display/font"
40+ "${COMMON_PATH} /display/ui"
41+ "${COMMON_PATH} /lcd"
42+ "${COMMON_PATH} /io_expander"
43+ )
44+ endif ()
45+
46+ if (CONFIG_ENABLE_AUDIO)
47+ file (append BOARD_SRC
48+ "${AUDIO_SRCS} "
49+ )
50+
51+ file (append BOARD_INC
52+ "${COMMON_PATH} /audio"
53+ )
54+ endif ()
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ platforms:
2222- name : ESP32
2323 repo : https://github.com/tuya/TuyaOpen-esp32
2424 branch : master
25- commit : b5f64f676aff69e760c994a869bb6feb187a38e9
25+ commit : 5c0d76b8d95070ec357b2b5156844b50b1cf8345
2626
2727- name : LN882H
2828 repo : https://github.com/tuya/TuyaOpen-ln882h
You can’t perform that action at this time.
0 commit comments