source: rtems/c/src/aclocal/bsp-bspcleanup-options.m4 @ 86a80ee1

5
Last change on this file since 86a80ee1 was 86a80ee1, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 21, 2017 at 12:30:26 PM

bsps: Add BSP_VERBOSE_FATAL_EXTENSION

Add BSP_VERBOSE_FATAL_EXTENSION to RTEMS_BSP_CLEANUP_OPTIONS to
optionally print the RTEMS version, the fatal source and the fatal code
in the shared bsp_fatal_extension().

Close #3248.

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