modules: hal_nordic: add support for TIMER020-022|120-121|130-137

Add new HAL glue Kconfig options so that new TIMER instances can be
used.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-02-19 15:54:16 +01:00 committed by Carles Cufí
commit 7dd9853382
2 changed files with 104 additions and 0 deletions

View file

@ -457,6 +457,71 @@ config NRFX_TIMER24
depends on $(dt_nodelabel_has_compat,timer24,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER020
bool "TIMER020 driver instance"
depends on $(dt_nodelabel_has_compat,timer020,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER021
bool "TIMER021 driver instance"
depends on $(dt_nodelabel_has_compat,timer021,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER022
bool "TIMER022 driver instance"
depends on $(dt_nodelabel_has_compat,timer022,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER120
bool "TIMER120 driver instance"
depends on $(dt_nodelabel_has_compat,timer120,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER121
bool "TIMER121 driver instance"
depends on $(dt_nodelabel_has_compat,timer121,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER130
bool "TIMER130 driver instance"
depends on $(dt_nodelabel_has_compat,timer130,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER131
bool "TIMER131 driver instance"
depends on $(dt_nodelabel_has_compat,timer131,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER132
bool "TIMER132 driver instance"
depends on $(dt_nodelabel_has_compat,timer132,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER133
bool "TIMER133 driver instance"
depends on $(dt_nodelabel_has_compat,timer133,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER134
bool "TIMER134 driver instance"
depends on $(dt_nodelabel_has_compat,timer134,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER135
bool "TIMER135 driver instance"
depends on $(dt_nodelabel_has_compat,timer135,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER136
bool "TIMER136 driver instance"
depends on $(dt_nodelabel_has_compat,timer136,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TIMER137
bool "TIMER137 driver instance"
depends on $(dt_nodelabel_has_compat,timer137,$(DT_COMPAT_NORDIC_NRF_TIMER))
select NRFX_TIMER
config NRFX_TWI
bool

View file

@ -472,6 +472,45 @@
#ifdef CONFIG_NRFX_TIMER24
#define NRFX_TIMER24_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER020
#define NRFX_TIMER020_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER021
#define NRFX_TIMER021_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER022
#define NRFX_TIMER022_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER120
#define NRFX_TIMER120_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER121
#define NRFX_TIMER121_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER130
#define NRFX_TIMER130_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER131
#define NRFX_TIMER131_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER132
#define NRFX_TIMER132_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER133
#define NRFX_TIMER133_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER134
#define NRFX_TIMER134_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER135
#define NRFX_TIMER135_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER136
#define NRFX_TIMER136_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TIMER137
#define NRFX_TIMER137_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWI
#define NRFX_TWI_ENABLED 1