nrfx_glue_bsim: Provide 2 trivial definitions for standalone builds

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

View File

@ -23,6 +23,16 @@ extern "C" {
#define NRFX_ASSERT(expression)
#endif
/** @brief Macro for entering into a critical section. */
#ifndef NRFX_CRITICAL_SECTION_ENTER
#define NRFX_CRITICAL_SECTION_ENTER()
#endif
/** @brief Macro for exiting from a critical section. */
#ifndef NRFX_CRITICAL_SECTION_EXIT
#define NRFX_CRITICAL_SECTION_EXIT()
#endif
#include "nrfx_bsim_redef.h"
#ifdef __cplusplus