Skip to content

Commit 5feb028

Browse files
GardeningStevienashif
authored andcommitted
modules: hal_nordic: defines NRF_CONFIG_NFCT_PINS_AS_GPIOS for nRF54L15
Currently, the NFCT pins cannot be used as GPIOs on the nRF54L15 MCU because the Nordic HAL for this MCU uses the new upcoming `NRF_CONFIG_` style configuration settings for this MCU. To support all nRF5x MCUs, the old configuration is still required because Nordic didn't update their MDK entirely to the new style. Signed-off-by: Stefan Schwendeler <[email protected]>
1 parent 092fc2c commit 5feb028

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/hal_nordic/nrfx/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ dt_nodelabel(uicr_path NODELABEL "uicr")
140140
if(DEFINED uicr_path)
141141
dt_prop(nfct_pins_as_gpios PATH ${uicr_path} PROPERTY "nfct-pins-as-gpios")
142142
if(${nfct_pins_as_gpios})
143-
zephyr_library_compile_definitions(CONFIG_NFCT_PINS_AS_GPIOS)
143+
zephyr_library_compile_definitions(
144+
CONFIG_NFCT_PINS_AS_GPIOS
145+
NRF_CONFIG_NFCT_PINS_AS_GPIOS
146+
)
144147
endif()
145148

146149
dt_prop(gpio_as_nreset PATH ${uicr_path} PROPERTY "gpio-as-nreset")

0 commit comments

Comments
 (0)