|
|
@ -167,7 +167,7 @@ if(CONFIG_NRFX_TWI OR CONFIG_NRFX_TWIM) |
|
|
|
zephyr_library_sources(${SRC_DIR}/nrfx_twi_twim.c) |
|
|
|
zephyr_library_sources(${SRC_DIR}/nrfx_twi_twim.c) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
# Inject HAL "CONFIG_NFCT_PINS_AS_GPIOS" definition if user requests to |
|
|
|
# Inject HAL "NFCT_PINS_AS_GPIOS" definition if user requests to |
|
|
|
# configure the NFCT pins as GPIOS. Do the same with "CONFIG_GPIO_AS_PINRESET" |
|
|
|
# configure the NFCT pins as GPIOS. Do the same with "CONFIG_GPIO_AS_PINRESET" |
|
|
|
# to configure the reset GPIO as nRESET. This way, the HAL will take care of |
|
|
|
# to configure the reset GPIO as nRESET. This way, the HAL will take care of |
|
|
|
# doing the proper configuration sequence during system init |
|
|
|
# doing the proper configuration sequence during system init |
|
|
@ -177,7 +177,6 @@ if(DEFINED uicr_path) |
|
|
|
dt_prop(nfct_pins_as_gpios PATH ${uicr_path} PROPERTY "nfct-pins-as-gpios") |
|
|
|
dt_prop(nfct_pins_as_gpios PATH ${uicr_path} PROPERTY "nfct-pins-as-gpios") |
|
|
|
if(${nfct_pins_as_gpios}) |
|
|
|
if(${nfct_pins_as_gpios}) |
|
|
|
zephyr_library_compile_definitions( |
|
|
|
zephyr_library_compile_definitions( |
|
|
|
CONFIG_NFCT_PINS_AS_GPIOS |
|
|
|
|
|
|
|
NRF_CONFIG_NFCT_PINS_AS_GPIOS |
|
|
|
NRF_CONFIG_NFCT_PINS_AS_GPIOS |
|
|
|
) |
|
|
|
) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|