ext: hal: nrfx: adding nfct driver to Kconfig
Added configuration option for NFCT driver to Kconfig. Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
This commit is contained in:
parent
21bfea667e
commit
add09c72ee
4 changed files with 9 additions and 4 deletions
|
@ -22,6 +22,7 @@ if(CONFIG_HAS_NRFX)
|
|||
|
||||
zephyr_sources_ifdef(CONFIG_NRFX_ADC nrfx/drivers/src/nrfx_adc.c)
|
||||
zephyr_sources_ifdef(CONFIG_NRFX_CLOCK nrfx/drivers/src/nrfx_clock.c)
|
||||
zephyr_sources_ifdef(CONFIG_NRFX_NFCT nrfx/drivers/src/nrfx_nfct.c)
|
||||
zephyr_sources_ifdef(CONFIG_NRFX_PWM nrfx/drivers/src/nrfx_pwm.c)
|
||||
zephyr_sources_ifdef(CONFIG_NRFX_RTC nrfx/drivers/src/nrfx_rtc.c)
|
||||
zephyr_sources_ifdef(CONFIG_NRFX_SAADC nrfx/drivers/src/nrfx_saadc.c)
|
||||
|
|
|
@ -16,6 +16,10 @@ config NRFX_ADC
|
|||
config NRFX_CLOCK
|
||||
bool
|
||||
|
||||
config NRFX_NFCT
|
||||
bool
|
||||
select NRFX_TIMER4
|
||||
|
||||
config NRFX_PWM
|
||||
bool
|
||||
|
||||
|
|
|
@ -664,8 +664,8 @@
|
|||
|
||||
// <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
|
||||
//==========================================================
|
||||
#ifndef NRFX_NFCT_ENABLED
|
||||
#define NRFX_NFCT_ENABLED 0
|
||||
#ifdef CONFIG_NRFX_NFCT
|
||||
#define NRFX_NFCT_ENABLED 1
|
||||
#endif
|
||||
// <o> NRFX_NFCT_CONFIG_IRQ_PRIORITY - Interrupt priority
|
||||
|
||||
|
|
|
@ -664,8 +664,8 @@
|
|||
|
||||
// <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
|
||||
//==========================================================
|
||||
#ifndef NRFX_NFCT_ENABLED
|
||||
#define NRFX_NFCT_ENABLED 0
|
||||
#ifdef CONFIG_NRFX_NFCT
|
||||
#define NRFX_NFCT_ENABLED 1
|
||||
#endif
|
||||
// <o> NRFX_NFCT_CONFIG_IRQ_PRIORITY - Interrupt priority
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue