Commit 5feb0285 authored by Stefan Schwendeler's avatar Stefan Schwendeler Committed by Anas Nashif
Browse files

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: default avatarStefan Schwendeler <Stefan.Schwendeler@husqvarnagroup.com>
parent 092fc2c7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -140,7 +140,10 @@ dt_nodelabel(uicr_path NODELABEL "uicr")
if(DEFINED uicr_path)
  dt_prop(nfct_pins_as_gpios PATH ${uicr_path} PROPERTY "nfct-pins-as-gpios")
  if(${nfct_pins_as_gpios})
    zephyr_library_compile_definitions(CONFIG_NFCT_PINS_AS_GPIOS)
    zephyr_library_compile_definitions(
      CONFIG_NFCT_PINS_AS_GPIOS
      NRF_CONFIG_NFCT_PINS_AS_GPIOS
    )
  endif()

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