esp32: drivers: counter: update build references
Updates build references of the Counter API implementation based on Espressif's General Purpose Timers to differentiate from the one based on RTC. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
parent
1c27b4353c
commit
af5310d500
|
@ -26,6 +26,6 @@ zephyr_library_sources_ifdef(CONFIG_COUNTER_NATIVE_POSIX counter_native_p
|
|||
zephyr_library_sources_ifdef(CONFIG_USERSPACE counter_handlers.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_COUNTER_MCUX_PIT counter_mcux_pit.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_COUNTER_XLNX_AXI_TIMER counter_xlnx_axi_timer.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_COUNTER_ESP32 counter_esp32.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_COUNTER_TMR_ESP32 counter_esp32_tmr.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_COUNTER_RTC_ESP32 counter_esp32_rtc.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_COUNTER_MICROCHIP_MCP7940N rtc_mcp7940n.c)
|
||||
|
|
|
@ -62,7 +62,7 @@ source "drivers/counter/Kconfig.mcux_pit"
|
|||
|
||||
source "drivers/counter/Kconfig.xlnx"
|
||||
|
||||
source "drivers/counter/Kconfig.esp32"
|
||||
source "drivers/counter/Kconfig.esp32_tmr"
|
||||
|
||||
source "drivers/counter/Kconfig.esp32_rtc"
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
# ESP32 Timer configuration
|
||||
|
||||
# Copyright (c) 2020 Espressif Systems (Shanghai) Co., Ltd.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config COUNTER_ESP32
|
||||
bool "ESP32 Counter Driver"
|
||||
default y
|
||||
depends on DT_HAS_ESPRESSIF_ESP32_TIMER_ENABLED
|
||||
help
|
||||
Enable Counter driver for ESP32 series devices.
|
12
drivers/counter/Kconfig.esp32_tmr
Normal file
12
drivers/counter/Kconfig.esp32_tmr
Normal file
|
@ -0,0 +1,12 @@
|
|||
# ESP32 General Purpose Timer configuration
|
||||
|
||||
# Copyright (c) 2020 Espressif Systems (Shanghai) Co., Ltd.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config COUNTER_TMR_ESP32
|
||||
bool "ESP32 Counter Driver based on GP-Timers"
|
||||
default y
|
||||
depends on DT_HAS_ESPRESSIF_ESP32_TIMER_ENABLED
|
||||
help
|
||||
Enables the Counter driver API based on Espressif's General
|
||||
Purpose Timers for ESP32 series devices.
|
Loading…
Reference in a new issue