summaryrefslogtreecommitdiff
path: root/nuttx/arch/hc/src
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/hc/src')
-rw-r--r--nuttx/arch/hc/src/common/up_allocateheap.c3
-rw-r--r--nuttx/arch/hc/src/common/up_createstack.c3
-rw-r--r--nuttx/arch/hc/src/common/up_doirq.c3
-rw-r--r--nuttx/arch/hc/src/common/up_initialize.c3
-rw-r--r--nuttx/arch/hc/src/common/up_internal.h14
-rw-r--r--nuttx/arch/hc/src/m9s12/m9s12_assert.c3
6 files changed, 11 insertions, 18 deletions
diff --git a/nuttx/arch/hc/src/common/up_allocateheap.c b/nuttx/arch/hc/src/common/up_allocateheap.c
index b16016acd..dbc180077 100644
--- a/nuttx/arch/hc/src/common/up_allocateheap.c
+++ b/nuttx/arch/hc/src/common/up_allocateheap.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/hc/src/common/up_allocateheap.c
*
- * Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -43,6 +43,7 @@
#include <debug.h>
#include <nuttx/arch.h>
+#include <nuttx/board.h>
#include "up_arch.h"
#include "up_internal.h"
diff --git a/nuttx/arch/hc/src/common/up_createstack.c b/nuttx/arch/hc/src/common/up_createstack.c
index 21bbe7690..f1ec61333 100644
--- a/nuttx/arch/hc/src/common/up_createstack.c
+++ b/nuttx/arch/hc/src/common/up_createstack.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/hc/src/common/up_createstack.c
*
- * Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -46,6 +46,7 @@
#include <nuttx/kmalloc.h>
#include <nuttx/arch.h>
+#include <nuttx/board.h>
#include "up_arch.h"
#include "up_internal.h"
diff --git a/nuttx/arch/hc/src/common/up_doirq.c b/nuttx/arch/hc/src/common/up_doirq.c
index 3ddedf27a..1a81731dc 100644
--- a/nuttx/arch/hc/src/common/up_doirq.c
+++ b/nuttx/arch/hc/src/common/up_doirq.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/hc/src/common/up_doirq.c
*
- * Copyright (C) 2011, 2014 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011, 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,6 +44,7 @@
#include <nuttx/irq.h>
#include <nuttx/arch.h>
+#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
diff --git a/nuttx/arch/hc/src/common/up_initialize.c b/nuttx/arch/hc/src/common/up_initialize.c
index 9651c8d18..36e5e5b00 100644
--- a/nuttx/arch/hc/src/common/up_initialize.c
+++ b/nuttx/arch/hc/src/common/up_initialize.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/hc/src/common/up_initialize.c
*
- * Copyright (C) 2009-2010, 2012-2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009-2010, 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +42,7 @@
#include <debug.h>
#include <nuttx/arch.h>
+#include <nuttx/board.h>
#include <nuttx/fs/fs.h>
#include <nuttx/syslog/ramlog.h>
#include <nuttx/syslog/syslog_console.h>
diff --git a/nuttx/arch/hc/src/common/up_internal.h b/nuttx/arch/hc/src/common/up_internal.h
index e774892fc..ea46f43fd 100644
--- a/nuttx/arch/hc/src/common/up_internal.h
+++ b/nuttx/arch/hc/src/common/up_internal.h
@@ -48,7 +48,7 @@
#endif
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Bring-up debug configurations. These are here (vs defconfig)
@@ -233,18 +233,6 @@ extern void up_usbuninitialize(void);
# define up_usbuninitialize()
#endif
-/* Board-specific functions */
-
-#ifdef CONFIG_ARCH_LEDS
-extern void board_led_initialize(void);
-extern void board_led_on(int led);
-extern void board_led_off(int led);
-#else
-# define board_led_initialize()
-# define board_led_on(led)
-# define board_led_off(led)
-#endif
-
#endif /* __ASSEMBLY__ */
#endif /* __UP_INTERNAL_H */
diff --git a/nuttx/arch/hc/src/m9s12/m9s12_assert.c b/nuttx/arch/hc/src/m9s12/m9s12_assert.c
index 9ab95d3a9..479dfb005 100644
--- a/nuttx/arch/hc/src/m9s12/m9s12_assert.c
+++ b/nuttx/arch/hc/src/m9s12/m9s12_assert.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/hc/src/m9s12/m9s12_assert.c
*
- * Copyright (C) 2011-2014 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -57,6 +57,7 @@
#include <nuttx/irq.h>
#include <nuttx/arch.h>
+#include <nuttx/board.h>
#include <nuttx/usb/usbdev_trace.h>
#include <arch/board/board.h>