Commit 5ec29589 authored by Artur Hadasz's avatar Artur Hadasz Committed by Carles Cufi
Browse files

modules: hal_nordic: 802.15.4 carrier functions made optional



Added an option to disable and enable the continuous and optional
carrier functions in the nordic 802.15.4 driver.

Signed-off-by: default avatarArtur Hadasz <artur.hadasz@nordicsemi.no>
parent 809e63a9
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -205,6 +205,13 @@ endif

endmenu # NRF_802154_SER_HOST || NRF_802154_SER_RADIO

config NRF_802154_CARRIER_FUNCTIONS
	bool "nRF 802.15.4 carrier functions"
	depends on NRF_802154_RADIO_DRIVER || NRF_802154_SERIALIZATION
	help
	  This option enables functions such as modulated carrier and continuous carrier.
	  If this option is modified on a multicore SoC, its remote counterpart must be set to the exact same value.

endmenu # HAS_NORDIC_DRIVERS

rsource "nrfx/Kconfig"
+6 −0
Original line number Diff line number Diff line
@@ -89,6 +89,12 @@ else()
  target_compile_definitions(zephyr-802154-interface INTERFACE NRF_802154_INTERNAL_RADIO_IRQ_HANDLING=0)
endif()

if (CONFIG_NRF_802154_CARRIER_FUNCTIONS)
  target_compile_definitions(zephyr-802154-interface INTERFACE NRF_802154_CARRIER_FUNCTIONS_ENABLED=1)
else()
  target_compile_definitions(zephyr-802154-interface INTERFACE NRF_802154_CARRIER_FUNCTIONS_ENABLED=0)
endif()

set(NRF52_SERIES  ${CONFIG_SOC_SERIES_NRF52X})
set(NRF53_SERIES  ${CONFIG_SOC_SERIES_NRF53X})
set(SER_HOST      ${CONFIG_NRF_802154_SER_HOST})