forked from Imagelibrary/rtems
m32cbsp: Add bsp_reset() so the BSP exits
This commit is contained in:
@@ -13,7 +13,7 @@ RTEMS_PROG_CC_FOR_TARGET
|
||||
RTEMS_CANONICALIZE_TOOLS
|
||||
RTEMS_PROG_CCAS
|
||||
|
||||
RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
|
||||
RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
||||
@@ -83,6 +83,8 @@ _start:
|
||||
mov.w r0,r1
|
||||
#endif
|
||||
|
||||
.global _bsp_reset
|
||||
_bsp_reset:
|
||||
jsr.a _sys_exit
|
||||
|
||||
.text
|
||||
|
||||
Reference in New Issue
Block a user