2009-02-25 Joel Sherrill <joel.sherrill@oarcorp.com>

* Makefile.am, configure.ac: Add SIMULATOR_FAST_IDLE,
	BSP_PRESS_KEY_FOR_RESET, and BSP_RESET_BOARD_AT_EXIT. Use the standard
	bsp_cleanup code.
	* README: New file.  Include instructions on gdb simulator.
This commit is contained in:
Joel Sherrill
2009-02-25 21:31:23 +00:00
parent 36944ecddd
commit 74133389c8
4 changed files with 39 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
2009-02-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add SIMULATOR_FAST_IDLE,
BSP_PRESS_KEY_FOR_RESET, and BSP_RESET_BOARD_AT_EXIT. Use the standard
bsp_cleanup code.
* README: New file. Include instructions on gdb simulator.
2009-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h: Conditionally include rtems/rtems_bsdnet.h.

View File

@@ -35,8 +35,9 @@ libbsp_a_LIBADD =
# startup
libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../shared/startup/bspstart.c \
../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
../../shared/bootcard.c ../../shared/sbrk.c ../../lm32/shared/startup/setvec.c \
../../shared/bspreset.c ../../shared/bsppretaskinghook.c \
../../shared/bspgetworkarea.c ../../shared/bootcard.c \
../../shared/sbrk.c ../../lm32/shared/startup/setvec.c \
../../shared/gnatinstallhandler.c
# clock
libbsp_a_SOURCES += ../../lm32/shared/clock/ckinit.c
@@ -54,6 +55,5 @@ libbsp_a_LIBADD += network.rel
endif
include $(srcdir)/preinstall.am
include $(top_srcdir)/../../../../automake/local.am

View File

@@ -0,0 +1,14 @@
#
# $Id$
#
To on the simulator included in lm32-gdb use these commands:
tar sim --hw-device lm32cpu \
--hw-device "lm32uart/reg 0x80006000 0x100" \
--hw-device "/lm32uart > int int0 /lm32cpu" \
--hw-device "lm32timer/reg 0x80002000 0x80" \
--hw-device "/lm32timer > int int1 /lm32cpu" \
--memory-region 0x08000000,0x4000000
load

View File

@@ -19,6 +19,21 @@ RTEMS_CHECK_NETWORKING
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
RTEMS_BSPOPTS_SET([SIMULATOR_FAST_IDLE],[*],[])
RTEMS_BSPOPTS_HELP([SIMULATOR_FAST_IDLE],
[If defined, speed up the clock ticks while the idle task is running so
time spent in the idle task is minimized. This significantly reduces
the wall time required to execute the RTEMS test suites.])
RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[1])
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.])
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])
AC_OUTPUT