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>
This commit is contained in:
Grzegorz Swiderski 2024-06-14 14:11:34 +02:00 committed by Fabio Baltieri
parent 632d6b9416
commit 1f8d1b705c
2 changed files with 13 additions and 1 deletions

View file

@ -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__

View file

@ -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__ */