Skip to content

Commit e8ae01b

Browse files
committed
Add AM_ASSERT_FAILURE to amast_config.h
1 parent 910eb92 commit e8ae01b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tools/unity/amast_config.h

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#ifndef AMAST_CONFIG_H_INCLUDED
2626
#define AMAST_CONFIG_H_INCLUDED
2727

28-
/*
28+
/**
2929
* Enable am_hsm_set_spy() API to register user callback
3030
* to intercept external events passed via am_hsm_dispatch() API.
3131
* Increases the size of struct am_hsm by the size of a function
@@ -35,7 +35,7 @@
3535
#define AM_HSM_SPY
3636
#endif
3737

38-
/*
38+
/**
3939
* Enable am_fsm_set_spy() API to register user callback
4040
* to intercept external events passed via am_fsm_dispatch() API.
4141
* Increases the size of struct am_fsm by the size of a function
@@ -45,7 +45,7 @@
4545
#define AM_FSM_SPY
4646
#endif
4747

48-
/*
48+
/**
4949
* Enable PAL stubs.
5050
* Useful for unit tests.
5151
* There should only be one AM_PAL_... defined at a time.
@@ -54,12 +54,17 @@
5454
#define AM_PAL_STUBS
5555
#endif
5656

57-
/*
57+
/**
5858
* Enable PAL API implementation for FreeRTOS.
5959
* There should only be one AM_PAL_... defined at a time.
6060
*/
6161
#ifndef AM_PAL_FREERTOS
6262
#define AM_PAL_FREERTOS
6363
#endif
6464

65+
/** Enable am_assert_failure() implementation */
66+
#ifndef AM_ASSERT_FAILURE
67+
#define AM_ASSERT_FAILURE
68+
#endif
69+
6570
#endif /* AMAST_CONFIG_H_INCLUDED */

0 commit comments

Comments
 (0)