Skip to content

Commit

Permalink
[nrf fromlist] modules: hal_nordic: nrfx: Add nrfx_config_ext.h
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
57300 committed Jun 14, 2024
1 parent e634791 commit 747dcd0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hal_nordic/nrfx/nrfx_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@
#elif defined(NRF9120_XXAA) || defined(NRF9160_XXAA)
#include <nrfx_config_nrf91.h>
#else
#error "Unknown device."
#include <nrfx_config_ext.h>
#endif

#endif // NRFX_CONFIG_H__
12 changes: 12 additions & 0 deletions modules/hal_nordic/nrfx/nrfx_config_ext.h
Original file line number Diff line number Diff line change
@@ -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__ */

0 comments on commit 747dcd0

Please sign in to comment.