Browse Source

modules: hal_nordic: nrfx: Add nrfx_config_ext.h

Taking a cue from `nrfx/templates`, introduce this file so that it can
be overridden out-of-tree to add external nRF product definitions.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
pull/78240/head
Grzegorz Swiderski 1 year ago committed by Fabio Baltieri
parent
commit
1f8d1b705c
  1. 2
      modules/hal_nordic/nrfx/nrfx_config.h
  2. 12
      modules/hal_nordic/nrfx/nrfx_config_ext.h

2
modules/hal_nordic/nrfx/nrfx_config.h

@ -1065,7 +1065,7 @@ @@ -1065,7 +1065,7 @@
#elif defined(NRF9230_ENGB_XXAA) && defined(NRF_PPR)
#include <nrfx_config_nrf9230_engb_ppr.h>
#else
#error "Unknown device."
#include <nrfx_config_ext.h>
#endif
#endif // NRFX_CONFIG_H__

12
modules/hal_nordic/nrfx/nrfx_config_ext.h

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
/*
* Copyright (c) 2023 - 2024, Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef NRFX_CONFIG_EXT_H__
#define NRFX_CONFIG_EXT_H__
#error "Unknown device."
#endif /* NRFX_CONFIG_EXT_H__ */
Loading…
Cancel
Save