diff options
Diffstat (limited to 'nuttx/arch/z16/src/z16f/z16f_head.S')
-rwxr-xr-x | nuttx/arch/z16/src/z16f/z16f_head.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/arch/z16/src/z16f/z16f_head.S b/nuttx/arch/z16/src/z16f/z16f_head.S index 02f1a387a..00ae886f4 100755 --- a/nuttx/arch/z16/src/z16f/z16f_head.S +++ b/nuttx/arch/z16/src/z16f/z16f_head.S @@ -119,7 +119,9 @@ STACK_TOP equ %FFC000 _reset:
ld sp, #STACK_TOP /* Set Stack Pointer */
- call _z16f_lowinit /* call _z16f_lowinit */
+#if defined(CONFIG_ARCH_LOWPUTC) || defined(CONFIG_ARCH_LOWGETC)
+ call _z16f_lowinit /* Initialize the UART for low-level debug */
+#endif
call _os_start /* Start the operating system */
_halted: /* _os_start() should not return */
halt
|