standalone nrfx_config: Provide needed definitions for nrf53

When built standalone, the HAL for the nrf53 needs quite
a lot of definitions. Instead of providing our own,
let's just use the template versions provided by the HAL.
The integrator should ensure they are ok, or provide their own.

Note that for Zephyr builds, this file is not used.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-09-13 12:29:25 +02:00
parent 4015d5abc9
commit f18422df00
1 changed files with 11 additions and 1 deletions

View File

@ -17,5 +17,15 @@
#include "nrfx_config_bsim.h"
#endif // NRFX_CONFIG_H__
#ifndef NO_NRFX_TEMPLATE_CONFIG
#include <templates/nrfx_config_common.h>
#if defined(NRF5340_XXAA_APPLICATION)
#include <templates/nrfx_config_nrf5340_application.h>
#elif defined(NRF5340_XXAA_NETWORK)
#include <templates/nrfx_config_nrf5340_network.h>
#endif
#endif /* NO_NRFX_TEMPLATE_CONFIG */
#endif // NRFX_CONFIG_H__