diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-27 18:49:24 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-27 18:49:24 -0600 |
commit | aa622de663e0f96c5d7d4e4bc1d977b4febe6786 (patch) | |
tree | 89836694aa47e1a642b4051ec73c415ed2909377 /nuttx/configs/stm32f3discovery | |
parent | f29a691c031e9d277e6153eb29ecd3dedf90e950 (diff) |
configs/: board function prototypes are now in include/nuttx/board.h. Remove from board header file; Add inclusion of nuttx/board.h to all files referencing board functions
Diffstat (limited to 'nuttx/configs/stm32f3discovery')
-rw-r--r-- | nuttx/configs/stm32f3discovery/src/up_autoleds.c | 6 | ||||
-rw-r--r-- | nuttx/configs/stm32f3discovery/src/up_boot.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/stm32f3discovery/src/up_autoleds.c b/nuttx/configs/stm32f3discovery/src/up_autoleds.c index cf6c90fafe..e1fc1fa3e2 100644 --- a/nuttx/configs/stm32f3discovery/src/up_autoleds.c +++ b/nuttx/configs/stm32f3discovery/src/up_autoleds.c @@ -1,8 +1,7 @@ /**************************************************************************** * configs/stm32f3discovery/src/up_autoleds.c - * arch/arm/src/board/up_autoleds.c * - * Copyright (C) 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2013, 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 +43,7 @@ #include <stdbool.h> #include <debug.h> +#include <nuttx/board.h> #include <arch/board/board.h> #include "chip.h" @@ -53,7 +53,7 @@ #ifdef CONFIG_ARCH_LEDS /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG diff --git a/nuttx/configs/stm32f3discovery/src/up_boot.c b/nuttx/configs/stm32f3discovery/src/up_boot.c index b914676f8b..d5508038f2 100644 --- a/nuttx/configs/stm32f3discovery/src/up_boot.c +++ b/nuttx/configs/stm32f3discovery/src/up_boot.c @@ -1,8 +1,7 @@ /************************************************************************************ * configs/stm32f3discovery/src/up_boot.c - * arch/arm/src/board/up_boot.c * - * Copyright (C) 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 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,13 +41,14 @@ #include <debug.h> +#include <nuttx/board.h> #include <arch/board/board.h> #include "up_arch.h" #include "stm32f3discovery-internal.h" /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ |