diff --git a/components/esp_driver_pcnt/test_apps/pulse_cnt/main/test_pulse_cnt_board.h b/components/esp_driver_pcnt/test_apps/pulse_cnt/main/test_pulse_cnt_board.h index fcdf708003c..5e1242bd42c 100644 --- a/components/esp_driver_pcnt/test_apps/pulse_cnt/main/test_pulse_cnt_board.h +++ b/components/esp_driver_pcnt/test_apps/pulse_cnt/main/test_pulse_cnt_board.h @@ -11,7 +11,7 @@ extern "C" { #endif -#if CONFIG_IDF_TARGET_ESP32P4 +#if CONFIG_IDF_TARGET_ESP32P4 || CONFIG_IDF_TARGET_ESP32S31 #define TEST_PCNT_GPIO_A 20 #define TEST_PCNT_GPIO_B 21 #define TEST_PCNT_GPIO_Z 22