From 17623751c4e0631498dd6a6ae3e055e4375b5c92 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Sep 2008 21:50:40 +0000 Subject: 2008-09-22 Joel Sherrill * Makefile.am, configure.ac: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants. * startup/bspclean.c: Removed. --- c/src/lib/libbsp/sh/gensh1/configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'c/src/lib/libbsp/sh/gensh1/configure.ac') diff --git a/c/src/lib/libbsp/sh/gensh1/configure.ac b/c/src/lib/libbsp/sh/gensh1/configure.ac index a95cb775d2..41c8574c1d 100644 --- a/c/src/lib/libbsp/sh/gensh1/configure.ac +++ b/c/src/lib/libbsp/sh/gensh1/configure.ac @@ -27,6 +27,15 @@ RTEMS_BSPOPTS_HELP([START_HW_INIT], ## Used in scitab/Makefile.am AC_SUBST(CPU_CLOCK_RATE_HZ) +RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[0]) +RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET], +[If defined, print a message and wait until pressed before resetting + board when application exits.]) + +RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[1]) +RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT], +[If defined, reset the board when the application exits.]) + RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION # Explicitly list all Makefiles here -- cgit v1.2.3