1 /*
2  * Copyright (c) 2020 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /* Provides a minimalistic nrfx_glue to be used with Nordic nrfx
8  * when not used together with Zephyr.
9  */
10 
11 #ifndef NRFX_GLUE_H__
12 #define NRFX_GLUE_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #ifdef __ZEPHYR__
19 #error This file should not be included in builds with Zephyr. Use the one provided by the nordic_hal zephyr module in that case.
20 #endif
21 
22 #ifndef NRFX_DELAY_US
23 #define NRFX_DELAY_US(x)
24 #endif
25 
26 #include "nrfx_glue_bsim.h"
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif // NRFX_GLUE_H__
33