mirror of
https://github.com/apache/nuttx.git
synced 2026-08-23 06:28:45 +00:00
Add z16f LED logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@563 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
66d9bd233b
commit
45a7fe13bc
1 changed files with 8 additions and 0 deletions
|
|
@ -46,6 +46,9 @@
|
|||
**************************************************************************/
|
||||
|
||||
xref _z16f_lowinit:EROM
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
xref _up_ledinit:EROM
|
||||
#endif
|
||||
#if defined(CONFIG_ARCH_LOWPUTC) || defined(CONFIG_ARCH_LOWGETC)
|
||||
xref _z16f_lowuartinit:EROM
|
||||
#endif
|
||||
|
|
@ -164,6 +167,11 @@ _reset:
|
|||
ld sp, #(_near_stack+1) /* Set Stack Pointer to the top of internal RAM */
|
||||
clr fp
|
||||
|
||||
/* Initialize onboard LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
bl _up_ledinit
|
||||
#endif
|
||||
/* Perform VERY early UART initialization so that we can use it here */
|
||||
|
||||
#if defined(CONFIG_ARCH_LOWPUTC) || defined(CONFIG_ARCH_LOWGETC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue