1 /* 2 * Copyright (c) 2020 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /* Provides a minimalistic nrfx_config to be used with Nordic nrfx 8 * when not used together with Zephyr. 9 */ 10 11 #ifndef NRFX_CONFIG_H__ 12 #define NRFX_CONFIG_H__ 13 14 #ifdef __ZEPHYR__ 15 #error This file should not be included in builds with Zephyr. Use the one provided by the nordic_hal zephyr module in that case. 16 #endif 17 18 #include "nrfx_config_bsim.h" 19 20 #ifndef NO_NRFX_TEMPLATE_CONFIG 21 22 #include <templates/nrfx_config_common.h> 23 #if defined(NRF5340_XXAA_APPLICATION) 24 #include <templates/nrfx_config_nrf5340_application.h> 25 #elif defined(NRF5340_XXAA_NETWORK) 26 #include <templates/nrfx_config_nrf5340_network.h> 27 #endif 28 29 #endif /* NO_NRFX_TEMPLATE_CONFIG */ 30 31 #endif // NRFX_CONFIG_H__ 32