Skip to content

Commit 5761bf8

Browse files
Marek Matejfabiobaltieri
authored andcommitted
drivers: counter: FIx unused config
Remove unused config from the counter driver Kconfig. Fix typo in dependant config. Signed-off-by: Marek Matej <[email protected]>
1 parent 801d5e0 commit 5761bf8

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

drivers/counter/Kconfig.esp32_rtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ESP32 RTC Timer configuration
22

3-
# Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
3+
# Copyright (c) 2022-2025 Espressif Systems (Shanghai) Co., Ltd.
44
# SPDX-License-Identifier: Apache-2.0
55

66
config COUNTER_RTC_ESP32

drivers/counter/Kconfig.esp32_tmr

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
# ESP32 General Purpose Timer configuration
22

3-
# Copyright (c) 2020 Espressif Systems (Shanghai) Co., Ltd.
3+
# Copyright (c) 2020-2025 Espressif Systems (Shanghai) Co., Ltd.
44
# SPDX-License-Identifier: Apache-2.0
55

66
config COUNTER_TMR_ESP32
77
bool "ESP32 Counter Driver based on GP-Timers"
88
default y
9-
depends on DT_HAS_ESPRESSIF_ESP32_TIMER_ENABLED
10-
help
11-
Enables the Counter driver API based on Espressif's General
12-
Purpose Timers for ESP32 series devices.
13-
14-
config COUNTER_TMR_RTC_ESP32
15-
bool "ESP32 Counter Driver based on GP-Timers"
16-
default y
17-
depends on DT_HAS_ESPRESSIF_ESP32_RTC_TIMER_ENABLED
9+
depends on DT_HAS_ESPRESSIF_ESP32_COUNTER_ENABLED
1810
help
1911
Enables the Counter driver API based on Espressif's General
2012
Purpose Timers for ESP32 series devices.

0 commit comments

Comments
 (0)