Skip to content

Commit e91c246

Browse files
authored
Merge pull request #44 from badgeteam/sha2017
Add epaper driver, add mpr121 driver, add config for SHA2017 badge
2 parents fd5e1f5 + f7fa955 commit e91c246

18 files changed

Lines changed: 4286 additions & 11 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
if(CONFIG_DRIVER_DEPG0290B1_ENABLE)
2+
set(srcs
3+
"esp32-component-spi-depg0290b1/depg0290b1.c"
4+
)
5+
set(includes
6+
"include"
7+
"esp32-component-spi-depg0290b1/include"
8+
)
9+
else()
10+
set(srcs "")
11+
set(includes
12+
""
13+
)
14+
endif()
15+
16+
idf_component_register(SRCS "${srcs}"
17+
INCLUDE_DIRS ${includes}
18+
REQUIRES driver_framebuffer)
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
menu "Driver: DEPG0290B1 LCD display"
2+
config DRIVER_DEPG0290B1_ENABLE
3+
depends on BUS_VSPI_ENABLE
4+
bool "Enable the DEPG0290B1 display driver"
5+
default n
6+
7+
config PIN_NUM_DEPG0290B1_RESET
8+
depends on DRIVER_DEPG0290B1_ENABLE
9+
int "GPIO pin used for RESET"
10+
default -1
11+
12+
config PIN_NUM_DEPG0290B1_DCX
13+
depends on DRIVER_DEPG0290B1_ENABLE
14+
int "GPIO pin used for DC"
15+
default -1
16+
17+
config PIN_NUM_DEPG0290B1_CS
18+
depends on DRIVER_DEPG0290B1_ENABLE
19+
int "GPIO pin used for CS"
20+
default -1
21+
22+
config PIN_NUM_DEPG0290B1_BUSY
23+
depends on DRIVER_DEPG0290B1_ENABLE
24+
int "GPIO pin used for busy"
25+
default -1
26+
endmenu
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
idf_component_register(
2+
SRCS "depg0290b1.c"
3+
INCLUDE_DIRS include
4+
)

0 commit comments

Comments
 (0)