Skip to content

Commit df15ed3

Browse files
committed
Disable default defines in tools/unity/amast_config.h
1 parent a1d6bf7 commit df15ed3

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

tools/unity/amast_config.h

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,48 +31,36 @@
3131
* Increases the size of struct am_hsm by the size of a function
3232
* pointer.
3333
*/
34-
#ifndef AM_HSM_SPY
35-
#define AM_HSM_SPY
36-
#endif
34+
/* #define AM_HSM_SPY */
3735

3836
/**
3937
* Enable am_fsm_set_spy() API to register user callback
4038
* to intercept external events passed via am_fsm_dispatch() API.
4139
* Increases the size of struct am_fsm by the size of a function
4240
* pointer.
4341
*/
44-
#ifndef AM_FSM_SPY
45-
#define AM_FSM_SPY
46-
#endif
42+
/* #define AM_FSM_SPY */
4743

4844
/**
4945
* Enable PAL stubs.
5046
* Useful for unit tests.
5147
* There should only be one AM_PAL_... defined at a time.
5248
*/
53-
#ifndef AM_PAL_STUBS
54-
#define AM_PAL_STUBS
55-
#endif
49+
/* #define AM_PAL_STUBS */
5650

5751
/**
5852
* Enable PAL API implementation for FreeRTOS.
5953
* There should only be one AM_PAL_... defined at a time.
6054
*/
61-
#ifndef AM_PAL_FREERTOS
62-
#define AM_PAL_FREERTOS
63-
#endif
55+
/* #define AM_PAL_FREERTOS */
6456

6557
/**
6658
* Enable PAL API implementation for posix.
6759
* There should only be one AM_PAL_... defined at a time.
6860
*/
69-
#ifndef AM_PAL_POSIX
70-
#define AM_PAL_POSIX
71-
#endif
61+
/* #define AM_PAL_POSIX */
7262

7363
/** Enable am_assert_failure() implementation */
74-
#ifndef AM_ASSERT_FAILURE
75-
#define AM_ASSERT_FAILURE
76-
#endif
64+
/* #define AM_ASSERT_FAILURE */
7765

7866
#endif /* AMAST_CONFIG_H_INCLUDED */

0 commit comments

Comments
 (0)