2020-12-12 14:26:08 +01:00
|
|
|
set(priv_requires "ena" "ena-eke-proxy" "display" "rtc" "wifi-controller" )
|
|
|
|
|
|
|
|
if(CONFIG_ENA_INTERFACE_CUSTOM)
|
|
|
|
list(APPEND priv_requires "display-ssd1306" "rtc-ds3231")
|
|
|
|
elseif(ENA_INTERFACE_M5STICKC)
|
|
|
|
list(APPEND priv_requires "display-st7735s" "rtc-bm8563" "imu-mpu6886" "pmu-axp192")
|
|
|
|
elseif(ENA_INTERFACE_M5STICKC_PLUS)
|
|
|
|
list(APPEND priv_requires "display-st7789" "rtc-bm8563" "imu-mpu6886" "pmu-axp192")
|
|
|
|
else()
|
|
|
|
list(APPEND priv_requires "display-ssd1306" "rtc-ds3231") # uncomment for custom device with SSD1306 und DS3231
|
|
|
|
# list(APPEND priv_requires "display-st7735s" "rtc-bm8563" "imu-mpu6886" "pmu-axp192") # uncomment for M5StickC
|
|
|
|
# list(APPEND priv_requires "display-st7789" "rtc-bm8563" "imu-mpu6886" "pmu-axp192") # uncomment for M5StickC PLUS
|
|
|
|
endif()
|
|
|
|
|
2020-07-27 16:54:51 +02:00
|
|
|
idf_component_register(
|
|
|
|
SRCS
|
|
|
|
"interface.c"
|
2020-08-16 16:40:05 +02:00
|
|
|
"interface-main.c"
|
|
|
|
"interface-data.c"
|
2020-07-27 16:54:51 +02:00
|
|
|
"interface-datetime.c"
|
2020-12-12 14:26:08 +01:00
|
|
|
"interface-debug.c"
|
2020-12-06 12:48:12 +01:00
|
|
|
"interface-info.c"
|
2020-08-16 16:40:05 +02:00
|
|
|
"interface-input.c"
|
|
|
|
"interface-label.c"
|
|
|
|
"interface-report.c"
|
|
|
|
"interface-settings.c"
|
|
|
|
"interface-wifi.c"
|
|
|
|
INCLUDE_DIRS "."
|
2020-12-12 14:26:08 +01:00
|
|
|
PRIV_REQUIRES ${priv_requires}
|
2020-07-27 16:54:51 +02:00
|
|
|
)
|