arch/arm/src: Remove dependency on CONFIG_ARCH_FPU for inclusion of nvic.h in all other *_start.c files.
This commit is contained in:
parent
5602248097
commit
c7f042ba14
@ -57,9 +57,7 @@
|
|||||||
#include "efm32_clockconfig.h"
|
#include "efm32_clockconfig.h"
|
||||||
#include "efm32_start.h"
|
#include "efm32_start.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
#include "nvic.h"
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
|
@ -50,10 +50,7 @@
|
|||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
#include "barriers.h"
|
#include "barriers.h"
|
||||||
|
#include "nvic.h"
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "imxrt_clockconfig.h"
|
#include "imxrt_clockconfig.h"
|
||||||
#include "imxrt_mpuinit.h"
|
#include "imxrt_mpuinit.h"
|
||||||
|
@ -53,9 +53,7 @@
|
|||||||
#include "kinetis_mpuinit.h"
|
#include "kinetis_mpuinit.h"
|
||||||
#include "kinetis_userspace.h"
|
#include "kinetis_userspace.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
#include "nvic.h"
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "kinetis_start.h"
|
#include "kinetis_start.h"
|
||||||
|
|
||||||
|
@ -47,15 +47,12 @@
|
|||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
#include "nvic.h"
|
||||||
|
|
||||||
#include "lpc11_clockconfig.h"
|
#include "lpc11_clockconfig.h"
|
||||||
#include "lpc11_lowputc.h"
|
#include "lpc11_lowputc.h"
|
||||||
#include "lpc11_userspace.h"
|
#include "lpc11_userspace.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "lpc11_start.h"
|
#include "lpc11_start.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -50,15 +50,11 @@
|
|||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
#include "nvic.h"
|
||||||
|
|
||||||
#include "lpc17_clockconfig.h"
|
#include "lpc17_clockconfig.h"
|
||||||
#include "lpc17_lowputc.h"
|
#include "lpc17_lowputc.h"
|
||||||
#include "lpc17_userspace.h"
|
#include "lpc17_userspace.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "lpc17_start.h"
|
#include "lpc17_start.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -48,16 +48,12 @@
|
|||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
#include "nvic.h"
|
||||||
|
|
||||||
#include "sam_clockconfig.h"
|
#include "sam_clockconfig.h"
|
||||||
#include "sam_lowputc.h"
|
#include "sam_lowputc.h"
|
||||||
#include "sam_cmcc.h"
|
#include "sam_cmcc.h"
|
||||||
#include "sam_userspace.h"
|
#include "sam_userspace.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "sam_start.h"
|
#include "sam_start.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
#include "nvic.h"
|
||||||
|
|
||||||
#include <arch/board/board.h> /* Depends on other definitions */
|
#include <arch/board/board.h> /* Depends on other definitions */
|
||||||
#include "sam_clockconfig.h" /* Depends on settings from board.h */
|
#include "sam_clockconfig.h" /* Depends on settings from board.h */
|
||||||
@ -54,11 +55,6 @@
|
|||||||
#include "sam_lowputc.h"
|
#include "sam_lowputc.h"
|
||||||
#include "sam_cmcc.h"
|
#include "sam_cmcc.h"
|
||||||
#include "sam_userspace.h"
|
#include "sam_userspace.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "sam_start.h"
|
#include "sam_start.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -50,10 +50,7 @@
|
|||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
#include "barriers.h"
|
#include "barriers.h"
|
||||||
|
#include "nvic.h"
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "sam_clockconfig.h"
|
#include "sam_clockconfig.h"
|
||||||
#include "sam_mpuinit.h"
|
#include "sam_mpuinit.h"
|
||||||
|
@ -47,15 +47,11 @@
|
|||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
#include "nvic.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_gpio.h"
|
#include "stm32_gpio.h"
|
||||||
#include "stm32_userspace.h"
|
#include "stm32_userspace.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "stm32_start.h"
|
#include "stm32_start.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* arch/arm/src/stm32l4/stm32l4_start.c
|
* arch/arm/src/stm32l4/stm32l4_start.c
|
||||||
* arch/arm/src/chip/stm32l4_start.c
|
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009, 2011-2015 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2009, 2011-2015 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -49,16 +48,13 @@
|
|||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
#include "nvic.h"
|
||||||
|
|
||||||
#include "stm32l4.h"
|
#include "stm32l4.h"
|
||||||
#include "stm32l4_gpio.h"
|
#include "stm32l4_gpio.h"
|
||||||
#include "stm32l4_userspace.h"
|
#include "stm32l4_userspace.h"
|
||||||
#include "stm32l4_start.h"
|
#include "stm32l4_start.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -46,10 +46,7 @@
|
|||||||
#include <nuttx/init.h>
|
#include <nuttx/init.h>
|
||||||
#include <arch/irq.h>
|
#include <arch/irq.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
#include "nvic.h"
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
|
||||||
|
@ -46,10 +46,7 @@
|
|||||||
#include <nuttx/init.h>
|
#include <nuttx/init.h>
|
||||||
#include <arch/irq.h>
|
#include <arch/irq.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
#include "nvic.h"
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
|
||||||
|
@ -56,10 +56,6 @@
|
|||||||
#include "xmc4_userspace.h"
|
#include "xmc4_userspace.h"
|
||||||
#include "xmc4_start.h"
|
#include "xmc4_start.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
|
||||||
# include "nvic.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Function prototypes
|
* Private Function prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user