mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-16 04:22:22 +00:00
driver: Add esp32c3 drivers (except ADC/DAC) and update tests
Some ESP32-C3 drivers are still pending. Based on internal commit 3ef01301fffa552d4be6d81bc9d199c223224305
This commit is contained in:
@@ -13,8 +13,11 @@
|
||||
// limitations under the License.
|
||||
|
||||
/*
|
||||
Tests for the touch sensor device driver
|
||||
Tests for the touch sensor device driver for ESP32-S2 only
|
||||
*/
|
||||
#include "sdkconfig.h"
|
||||
#if CONFIG_IDF_TARGET_ESP32S2
|
||||
|
||||
#include <string.h>
|
||||
#include "esp_system.h"
|
||||
#include "driver/touch_pad.h"
|
||||
@@ -38,8 +41,6 @@
|
||||
#include "driver/rtc_io.h"
|
||||
#include "esp_rom_sys.h"
|
||||
|
||||
#if !DISABLED_FOR_TARGETS(ESP8266, ESP32, ESP32S3) // This testcase for ESP32S2
|
||||
|
||||
static const char *TAG = "test_touch";
|
||||
|
||||
#define PLATFORM_SELECT (1) //0: pxp; 1: chip
|
||||
@@ -2122,4 +2123,4 @@ void test_touch_slope_debug(int pad_num)
|
||||
TEST_ESP_OK( touch_pad_deinit() );
|
||||
}
|
||||
|
||||
#endif // !DISABLED_FOR_TARGETS(ESP8266, ESP32)
|
||||
#endif // CONFIG_IDF_TARGET_ESP32S2
|
||||
|
||||
Reference in New Issue
Block a user