1 | dnl |
---|
2 | dnl RTEMS_BSP_CLEANUP_OPTIONS - some autoconf voodoo to provide each BSPs' |
---|
3 | dnl configure script with the standard options supported by the shared |
---|
4 | dnl implementation of bsp_fatal_extension(). |
---|
5 | dnl |
---|
6 | dnl To be used in bsp-configure scripts |
---|
7 | dnl |
---|
8 | dnl USAGE: |
---|
9 | dnl RTEMS_BSP_CLEANUP_OPTIONS |
---|
10 | |
---|
11 | AC_DEFUN([RTEMS_BSP_CLEANUP_OPTIONS],[ |
---|
12 | RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[0]) |
---|
13 | RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET], |
---|
14 | [If defined to a non-zero value, print a message and wait until pressed before |
---|
15 | resetting board when application exits.]) |
---|
16 | |
---|
17 | RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[1]) |
---|
18 | RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT], |
---|
19 | [If defined to a non-zero value, reset the board when the application exits.]) |
---|
20 | |
---|
21 | RTEMS_BSPOPTS_SET([BSP_PRINT_EXCEPTION_CONTEXT],[*],[1]) |
---|
22 | RTEMS_BSPOPTS_HELP([BSP_PRINT_EXCEPTION_CONTEXT], |
---|
23 | [If defined to a non-zero value, prints the exception context when an |
---|
24 | unexpected exception occurs.]) |
---|
25 | |
---|
26 | RTEMS_BSPOPTS_SET([BSP_VERBOSE_FATAL_EXTENSION],[*],[1]) |
---|
27 | RTEMS_BSPOPTS_HELP([BSP_VERBOSE_FATAL_EXTENSION], |
---|
28 | [If defined to a non-zero value, prints the some information in case of a fatal |
---|
29 | error.])]) |
---|