diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-06-03 15:11:56 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-06-03 15:11:56 -0600 |
commit | 5cc921b5ae92b3b354b3e727743e5393607f624c (patch) | |
tree | c35d74183d7ccccf0bc89d19faef9901cab33c8a /nuttx/configs/stm32f4discovery | |
parent | ccadba524f6e5ff381a5b24397af7124e814866a (diff) | |
download | px4-nuttx-5cc921b5ae92b3b354b3e727743e5393607f624c.tar.gz px4-nuttx-5cc921b5ae92b3b354b3e727743e5393607f624c.tar.bz2 px4-nuttx-5cc921b5ae92b3b354b3e727743e5393607f624c.zip |
Add a skeleton configuration that will eventually support the SAM4L Xplained Pro board
Diffstat (limited to 'nuttx/configs/stm32f4discovery')
-rw-r--r-- | nuttx/configs/stm32f4discovery/include/board.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/configs/stm32f4discovery/include/board.h b/nuttx/configs/stm32f4discovery/include/board.h index 793592b0b..de829f19e 100644 --- a/nuttx/configs/stm32f4discovery/include/board.h +++ b/nuttx/configs/stm32f4discovery/include/board.h @@ -265,22 +265,22 @@ extern "C" { * ************************************************************************************/ -EXTERN void stm32_boardinitialize(void); +void stm32_boardinitialize(void); /************************************************************************************ * Name: stm32_ledinit, stm32_setled, and stm32_setleds * * Description: * If CONFIG_ARCH_LEDS is defined, then NuttX will control the on-board LEDs. If - * CONFIG_ARCH_LEDS is not defined, then the following interfacesare available to + * CONFIG_ARCH_LEDS is not defined, then the following interfaces are available to * control the LEDs from user applications. * ************************************************************************************/ #ifndef CONFIG_ARCH_LEDS -EXTERN void stm32_ledinit(void); -EXTERN void stm32_setled(int led, bool ledon); -EXTERN void stm32_setleds(uint8_t ledset); +void stm32_ledinit(void); +void stm32_setled(int led, bool ledon); +void stm32_setleds(uint8_t ledset); #endif /************************************************************************************ @@ -307,10 +307,10 @@ EXTERN void stm32_setleds(uint8_t ledset); ************************************************************************************/ #ifdef CONFIG_ARCH_BUTTONS -EXTERN void up_buttoninit(void); -EXTERN uint8_t up_buttons(void); +void up_buttoninit(void); +uint8_t up_buttons(void); #ifdef CONFIG_ARCH_IRQBUTTONS -EXTERN xcpt_t up_irqbutton(int id, xcpt_t irqhandler); +xcpt_t up_irqbutton(int id, xcpt_t irqhandler); #endif #endif |