diff options
Diffstat (limited to 'nuttx/arch/arm/src')
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_allocateheap.c | 1 | ||||
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_boot.c | 12 | ||||
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_decodeirq.c | 1 | ||||
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_irq.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_lowputc.S | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_serial.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_timerisr.c | 3 |
7 files changed, 22 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/dm320/dm320_allocateheap.c b/nuttx/arch/arm/src/dm320/dm320_allocateheap.c index 865164b52..19875276b 100644 --- a/nuttx/arch/arm/src/dm320/dm320_allocateheap.c +++ b/nuttx/arch/arm/src/dm320/dm320_allocateheap.c @@ -44,6 +44,7 @@ #include <nuttx/arch.h> #include <arch/board/board.h> +#include "chip.h" #include "up_arch.h" #include "up_internal.h" diff --git a/nuttx/arch/arm/src/dm320/dm320_boot.c b/nuttx/arch/arm/src/dm320/dm320_boot.c index 1dd7288f0..b8f5f1879 100644 --- a/nuttx/arch/arm/src/dm320/dm320_boot.c +++ b/nuttx/arch/arm/src/dm320/dm320_boot.c @@ -40,6 +40,7 @@ #include <nuttx/config.h> #include <stdint.h> +#include "chip.h" #include "arm.h" #include "up_internal.h" #include "up_arch.h" @@ -226,4 +227,15 @@ void up_boot(void) */ up_copyvectorblock(); + + /* Set up the board-specific LEDs */ + +#ifdef CONFIG_ARCH_LEDS + up_ledinit(); +#endif + /* Perform early serial initialization */ + +#ifdef CONFIG_USE_EARLYSERIALINIT + up_earlyserialinit(); +#endif } diff --git a/nuttx/arch/arm/src/dm320/dm320_decodeirq.c b/nuttx/arch/arm/src/dm320/dm320_decodeirq.c index e7953caf0..a844fcae9 100644 --- a/nuttx/arch/arm/src/dm320/dm320_decodeirq.c +++ b/nuttx/arch/arm/src/dm320/dm320_decodeirq.c @@ -46,6 +46,7 @@ #include <assert.h> #include <debug.h> +#include "chip.h" #include "up_arch.h" #include "os_internal.h" #include "up_internal.h" diff --git a/nuttx/arch/arm/src/dm320/dm320_irq.c b/nuttx/arch/arm/src/dm320/dm320_irq.c index ec31e3246..f094bab1c 100644 --- a/nuttx/arch/arm/src/dm320/dm320_irq.c +++ b/nuttx/arch/arm/src/dm320/dm320_irq.c @@ -43,6 +43,8 @@ #include <nuttx/irq.h> #include "arm.h" +#include "chip.h" + #include "up_arch.h" #include "os_internal.h" #include "up_internal.h" diff --git a/nuttx/arch/arm/src/dm320/dm320_lowputc.S b/nuttx/arch/arm/src/dm320/dm320_lowputc.S index 1f3007f2e..52953fc2c 100644 --- a/nuttx/arch/arm/src/dm320/dm320_lowputc.S +++ b/nuttx/arch/arm/src/dm320/dm320_lowputc.S @@ -39,6 +39,8 @@ **************************************************************************/ #include <nuttx/config.h> + +#include "chip.h" #include "up_internal.h" #include "up_arch.h" diff --git a/nuttx/arch/arm/src/dm320/dm320_serial.c b/nuttx/arch/arm/src/dm320/dm320_serial.c index 47e15defe..120f19f72 100644 --- a/nuttx/arch/arm/src/dm320/dm320_serial.c +++ b/nuttx/arch/arm/src/dm320/dm320_serial.c @@ -53,7 +53,9 @@ #include <nuttx/arch.h> #include <nuttx/serial.h> #include <arch/serial.h> +#include <arch/board/board.h> +#include "chip.h" #include "up_arch.h" #include "os_internal.h" #include "up_internal.h" diff --git a/nuttx/arch/arm/src/dm320/dm320_timerisr.c b/nuttx/arch/arm/src/dm320/dm320_timerisr.c index a8e3f39fe..18e88b448 100644 --- a/nuttx/arch/arm/src/dm320/dm320_timerisr.c +++ b/nuttx/arch/arm/src/dm320/dm320_timerisr.c @@ -44,9 +44,10 @@ #include <debug.h> #include <nuttx/arch.h> +#include "chip.h" +#include "up_arch.h" #include "clock_internal.h" #include "up_internal.h" -#include "up_arch.h" /**************************************************************************** * Pre-processor Definitions |