ext: hal: nordic: Enable building of NRFX QDEC
Allow project to use Nordic's NRFX QDEC driver. This closes issue #9364 Jira:DESK-259 Signed-off-by: Pawel Dunaj <pawel.dunaj@nordicsemi.no>
This commit is contained in:
parent
589ed030ec
commit
cb01d097af
|
@ -24,6 +24,7 @@ if(CONFIG_HAS_NRFX)
|
|||
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_QDEC nrfx/drivers/src/nrfx_qdec.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)
|
||||
zephyr_sources_ifdef(CONFIG_NRFX_SPI nrfx/drivers/src/nrfx_spi.c)
|
||||
|
|
|
@ -9,7 +9,7 @@ config HAS_NORDIC_DRIVERS
|
|||
|
||||
config HAS_NRFX
|
||||
bool
|
||||
|
||||
|
||||
config NRFX_ADC
|
||||
bool
|
||||
|
||||
|
@ -23,6 +23,9 @@ config NRFX_NFCT
|
|||
config NRFX_PWM
|
||||
bool
|
||||
|
||||
config NRFX_QDEC
|
||||
bool
|
||||
|
||||
config NRFX_SAADC
|
||||
bool
|
||||
|
||||
|
|
|
@ -551,8 +551,8 @@
|
|||
|
||||
// <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
|
||||
//==========================================================
|
||||
#ifndef NRFX_QDEC_ENABLED
|
||||
#define NRFX_QDEC_ENABLED 0
|
||||
#ifdef CONFIG_NRFX_QDEC
|
||||
#define NRFX_QDEC_ENABLED 1
|
||||
#endif
|
||||
// <o> NRFX_QDEC_CONFIG_REPORTPER - Report period
|
||||
|
||||
|
|
|
@ -787,8 +787,8 @@
|
|||
|
||||
// <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
|
||||
//==========================================================
|
||||
#ifndef NRFX_QDEC_ENABLED
|
||||
#define NRFX_QDEC_ENABLED 0
|
||||
#ifdef CONFIG_NRFX_QDEC
|
||||
#define NRFX_QDEC_ENABLED 1
|
||||
#endif
|
||||
// <o> NRFX_QDEC_CONFIG_REPORTPER - Report period
|
||||
|
||||
|
|
|
@ -1228,8 +1228,8 @@
|
|||
|
||||
// <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
|
||||
//==========================================================
|
||||
#ifndef NRFX_QDEC_ENABLED
|
||||
#define NRFX_QDEC_ENABLED 0
|
||||
#ifdef CONFIG_NRFX_QDEC
|
||||
#define NRFX_QDEC_ENABLED 1
|
||||
#endif
|
||||
// <o> NRFX_QDEC_CONFIG_REPORTPER - Report period
|
||||
|
||||
|
|
|
@ -1207,8 +1207,8 @@
|
|||
|
||||
// <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
|
||||
//==========================================================
|
||||
#ifndef NRFX_QDEC_ENABLED
|
||||
#define NRFX_QDEC_ENABLED 0
|
||||
#ifdef CONFIG_NRFX_QDEC
|
||||
#define NRFX_QDEC_ENABLED 1
|
||||
#endif
|
||||
// <o> NRFX_QDEC_CONFIG_REPORTPER - Report period
|
||||
|
||||
|
|
Loading…
Reference in a new issue