lm32 BSPs: Add lm32_evr variant for running on gdb.

Lay groundwork for a simulator configuration configuration
for the Milkymist. This is needed to use the shared code.
This commit is contained in:
Joel Sherrill
2015-04-05 15:49:32 -05:00
parent d0307c8a06
commit 45491a8804
5 changed files with 34 additions and 12 deletions

View File

@@ -17,16 +17,18 @@ RTEMS_CHECK_NETWORKING
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
RTEMS_BSPOPTS_SET([ON_SIMULATOR],[*],[])
RTEMS_BSPOPTS_HELP([ON_SIMULATOR],
RTEMS_BSPOPTS_SET([LM32_ON_SIMULATOR],[lm32_evr_gdbsim],[1])
RTEMS_BSPOPTS_SET([LM32_ON_SIMULATOR],[*],[])
RTEMS_BSPOPTS_HELP([LM32_ON_SIMULATOR],
[If defined, this indicates the BSP is being built to run on the lm32
simulator in GDB. This enables fast idle support which speeds 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. It also enables a special exit and
alternate printk support.])
AM_CONDITIONAL(LM32_ON_SIMULATOR,test x"$LM32_ON_SIMULATOR" = "x1")
RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
RTEMS_BSP_CLEANUP_OPTIONS(0, 1, 0)
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])