5
Last change
on this file since 3dd381f was
3dd381f,
checked in by Sebastian Huber <sebastian.huber@…>, on 11/21/17 at 11:50:58
|
bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONS
Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify
the BSP configuration and documentation. Change defaults to:
BSP_PRESS_KEY_FOR_RESET=0
BSP_RESET_BOARD_AT_EXIT=1
BSP_PRINT_EXCEPTION_CONTEXT=1
|
-
Property mode set to
100644
|
File size:
937 bytes
|
Line | |
---|
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.])]) |
---|
Note: See
TracBrowser
for help on using the repository browser.