diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-27 17:19:38 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-27 17:19:38 -0600 |
commit | b2f95886d464d42db186e05505ed6a6497b13521 (patch) | |
tree | 910e168e141654c73ea37c9cb1c4a29b4ed44ef4 /nuttx/arch/arm/src/common | |
parent | 09e5fb91789be7024efa9071a7ed0b94145be489 (diff) | |
download | nuttx-b2f95886d464d42db186e05505ed6a6497b13521.tar.gz nuttx-b2f95886d464d42db186e05505ed6a6497b13521.tar.bz2 nuttx-b2f95886d464d42db186e05505ed6a6497b13521.zip |
arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions
Diffstat (limited to 'nuttx/arch/arm/src/common')
-rw-r--r-- | nuttx/arch/arm/src/common/up_allocateheap.c | 3 | ||||
-rw-r--r-- | nuttx/arch/arm/src/common/up_checkstack.c | 3 | ||||
-rw-r--r-- | nuttx/arch/arm/src/common/up_initialize.c | 3 | ||||
-rw-r--r-- | nuttx/arch/arm/src/common/up_internal.h | 14 |
4 files changed, 7 insertions, 16 deletions
diff --git a/nuttx/arch/arm/src/common/up_allocateheap.c b/nuttx/arch/arm/src/common/up_allocateheap.c index 1c1dcb463..5137c2db4 100644 --- a/nuttx/arch/arm/src/common/up_allocateheap.c +++ b/nuttx/arch/arm/src/common/up_allocateheap.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/common/up_allocateheap.c * - * Copyright (C) 2007, 2008, 2014 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2014-2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -45,6 +45,7 @@ #include <debug.h> #include <nuttx/arch.h> +#include <nuttx/board.h> #include <nuttx/userspace.h> #include <arch/board/board.h> diff --git a/nuttx/arch/arm/src/common/up_checkstack.c b/nuttx/arch/arm/src/common/up_checkstack.c index bec4d07dd..97a5695e2 100644 --- a/nuttx/arch/arm/src/common/up_checkstack.c +++ b/nuttx/arch/arm/src/common/up_checkstack.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/common/up_checkstack.c * - * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -45,6 +45,7 @@ #include <debug.h> #include <nuttx/arch.h> +#include <nuttx/board.h> #include "sched/sched.h" #include "up_internal.h" diff --git a/nuttx/arch/arm/src/common/up_initialize.c b/nuttx/arch/arm/src/common/up_initialize.c index 69227f516..ed4291a93 100644 --- a/nuttx/arch/arm/src/common/up_initialize.c +++ b/nuttx/arch/arm/src/common/up_initialize.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/common/up_initialize.c * - * Copyright (C) 2007-2010, 2012-2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2010, 2012-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/arm/src/common/up_internal.h b/nuttx/arch/arm/src/common/up_internal.h index 803276584..3f417374d 100644 --- a/nuttx/arch/arm/src/common/up_internal.h +++ b/nuttx/arch/arm/src/common/up_internal.h @@ -1,7 +1,7 @@ /**************************************************************************** * common/up_internal.h * - * Copyright (C) 2007-2014 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -475,18 +475,6 @@ void up_addregion(void); void up_wdtinit(void); -/* LED interfaces provided by board-level logic *****************************/ - -#ifdef CONFIG_ARCH_LEDS -void board_led_initialize(void); -void board_led_on(int led); -void board_led_off(int led); -#else -# define board_led_initialize() -# define board_led_on(led) -# define board_led_off(led) -#endif - /* Networking ***************************************************************/ /* Defined in board/up_network.c for board-specific Ethernet implementations, |