xref: /btstack/test/btstack_util/btstack_config.h (revision 8cfd11c34873f0dac439a9799ae71c96d32dd71f)
1*8cfd11c3SMatthias Ringwald #ifndef BTSTACK_CONFIG_H
2*8cfd11c3SMatthias Ringwald #define BTSTACK_CONFIG_H
3*8cfd11c3SMatthias Ringwald 
4*8cfd11c3SMatthias Ringwald #include "btstack_bool.h"
5*8cfd11c3SMatthias Ringwald 
6*8cfd11c3SMatthias Ringwald // redirect btstack_assert to test_assert
7*8cfd11c3SMatthias Ringwald #define HAVE_ASSERT
8*8cfd11c3SMatthias Ringwald #define btstack_assert test_assert
9*8cfd11c3SMatthias Ringwald 
10*8cfd11c3SMatthias Ringwald #if defined __cplusplus
11*8cfd11c3SMatthias Ringwald extern "C" {
12*8cfd11c3SMatthias Ringwald #endif
13*8cfd11c3SMatthias Ringwald extern void test_assert(bool condition);
14*8cfd11c3SMatthias Ringwald #if defined __cplusplus
15*8cfd11c3SMatthias Ringwald }
16*8cfd11c3SMatthias Ringwald #endif
17*8cfd11c3SMatthias Ringwald 
18*8cfd11c3SMatthias Ringwald #define ENABLE_PRINTF_HEXDUMP
19*8cfd11c3SMatthias Ringwald 
20*8cfd11c3SMatthias Ringwald #endif