Skip to content

Commit d12380d

Browse files
57300rlubos
authored andcommitted
[nrf fromlist] modules: hal_nordic: nrfx: Add nrfx_config_ext.h
Upstream PR: zephyrproject-rtos/zephyr#74316 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]> (cherry picked from commit 6ee6468dc7f7a1391d1961e696bbc671ae350c2f)
1 parent 1e0d975 commit d12380d

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
@@ -1026,7 +1026,7 @@
10261026
#elif defined(NRF9120_XXAA) || defined(NRF9160_XXAA)
10271027
#include <nrfx_config_nrf91.h>
10281028
#else
1029-
#error "Unknown device."
1029+
#include <nrfx_config_ext.h>
10301030
#endif
10311031

10321032
#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)