Skip to content

Commit 1f8d1b7

Browse files
57300fabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 632d6b9 commit 1f8d1b7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

modules/hal_nordic/nrfx/nrfx_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@
10651065
#elif defined(NRF9230_ENGB_XXAA) && defined(NRF_PPR)
10661066
#include <nrfx_config_nrf9230_engb_ppr.h>
10671067
#else
1068-
#error "Unknown device."
1068+
#include <nrfx_config_ext.h>
10691069
#endif
10701070

10711071
#endif // NRFX_CONFIG_H__
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Copyright (c) 2023 - 2024, Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#ifndef NRFX_CONFIG_EXT_H__
8+
#define NRFX_CONFIG_EXT_H__
9+
10+
#error "Unknown device."
11+
12+
#endif /* NRFX_CONFIG_EXT_H__ */

0 commit comments

Comments
 (0)