feat(touch_sens): touch sensor driver-ng on P4
This commit is contained in:
@@ -73,9 +73,11 @@ endif()
|
||||
|
||||
# Touch Sensor related source files
|
||||
if(CONFIG_SOC_TOUCH_SENSOR_SUPPORTED)
|
||||
list(APPEND srcs "touch_sensor/touch_sensor_common.c"
|
||||
"touch_sensor/${target}/touch_sensor.c")
|
||||
list(APPEND includes "touch_sensor/${target}/include")
|
||||
if(CONFIG_SOC_TOUCH_SENSOR_VERSION LESS 3)
|
||||
list(APPEND srcs "touch_sensor/touch_sensor_common.c"
|
||||
"touch_sensor/${target}/touch_sensor.c")
|
||||
list(APPEND includes "touch_sensor/${target}/include")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# TWAI related source files
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "esp_log.h"
|
||||
#include "sys/lock.h"
|
||||
#include "soc/soc_pins.h"
|
||||
#include "soc/rtc_cntl_reg.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "freertos/timers.h"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "esp_log.h"
|
||||
#include "sys/lock.h"
|
||||
#include "soc/soc_pins.h"
|
||||
#include "soc/rtc_cntl_reg.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "freertos/timers.h"
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
|
||||
#include "soc/soc_caps.h"
|
||||
|
||||
#if SOC_TOUCH_SENSOR_SUPPORTED
|
||||
#if SOC_TOUCH_SENSOR_SUPPORTED && SOC_TOUCH_SENSOR_VERSION < 3
|
||||
#include "driver/touch_sensor.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user