boards/arm/stm32rl4: Remove inclusion of STM32 L4 header files from all board.h header files.

This commit is contained in:
Gregory Nutt 2019-09-29 11:37:46 -06:00
parent e34ee02929
commit c1c36db37e
12 changed files with 35 additions and 26 deletions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/b-l475e-iot01a/src/b-l475e-iot01a.h
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Copyright (C) 2017, 2019 Gregory Nutt. All rights reserved.
* Author: Simon Piriou <spiriou31@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
@ -42,8 +42,11 @@
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <arch/stm32l4/chip.h>
#include "stm32l4_gpio.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

View File

@ -1,7 +1,7 @@
/*******************************************************************************
* boards/arm/stm32l4/nucleo-l432kc/include/board.h
*
* Copyright (C) 2016, 2018 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2018-2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -45,9 +45,7 @@
# include <stdint.h>
#endif
#ifdef __KERNEL__
#include <stm32l4.h>
#endif
/* Do not include STM32L4 header files here */
/*******************************************************************************
* Pre-processor Definitions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/nucleo-l432kc/src/nucleo-l432kc.h
*
* Copyright (C) 2014, 2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2014, 2016, 2019 Gregory Nutt. All rights reserved.
* Authors: Frank Bennett
* Gregory Nutt <gnutt@nuttx.org>
* Sebastien Lorquet <sebastien@lorquet.fr>
@ -47,6 +47,8 @@
#include <stdint.h>
#include "stm32l4_gpio.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/nucleo-l476rg/include/board.h
*
* Copyright (C) 2016, 2018 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2018-2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -45,7 +45,7 @@
# include <stdint.h>
#endif
#include <stm32l4.h>
/* Do not include STM32 L4 header files here */
/****************************************************************************
* Pre-processor Definitions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/nucleo-l476rg/src/nucleo-l476rg.h
*
* Copyright (C) 2014, 2016, 2018 Gregory Nutt. All rights reserved.
* Copyright (C) 2014, 2016, 2018-2019 Gregory Nutt. All rights reserved.
* Authors: Frank Bennett
* Gregory Nutt <gnutt@nuttx.org>
* Sebastien Lorquet <sebastien@lorquet.fr>
@ -47,6 +47,8 @@
#include <stdint.h>
#include "stm32l4_gpio.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

View File

@ -1,10 +1,10 @@
/****************************************************************************
* boards/arm/stm32l4/nucleo-l496zg/include/board.h
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* Mark Olsson <post@markolsson.se>
* David Sidrane <david_s5@nscdg.com>
* Mark Olsson <post@markolsson.se>
* David Sidrane <david_s5@nscdg.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -48,12 +48,7 @@
# include <stdint.h>
#endif
#ifdef __KERNEL__
#include "stm32l4_rcc.h"
#ifdef CONFIG_STM32L4_SDMMC1
# include "stm32l4_sdmmc.h"
#endif
#endif
/* Do not include STM32 L4 header files here */
/****************************************************************************
* Pre-processor Definitions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/nucleo-l496zg/src/nucleo-144.h
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* Mark Olsson <post@markolsson.se>
* David Sidrane <david_s5@nscdg.com>
@ -44,8 +44,11 @@
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <stdint.h>
#include "stm32l4_gpio.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/stm32l476-mdk/src/stm32l476-mdk.h
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
* Authors: Frank Bennett
* Gregory Nutt <gnutt@nuttx.org>
* Sebastien Lorquet <sebastien@lorquet.fr>
@ -48,6 +48,8 @@
#include <stdint.h>
#include "stm32l4_gpio.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/stm32l476vg-disco/include/board.h
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
* Author: dev@ziggurat29.com
*
* Redistribution and use in source and binary forms, with or without
@ -45,7 +45,7 @@
# include <stdint.h>
#endif
#include <stm32l4.h>
/* Do not include STM32 L4 header files here */
/****************************************************************************
* Pre-processor Definitions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/stm32l476vg-disco/src/stm32l476vg-disco.h
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
* Authors: Frank Bennett
* Gregory Nutt <gnutt@nuttx.org>
* Sebastien Lorquet <sebastien@lorquet.fr>
@ -48,6 +48,8 @@
#include <stdint.h>
#include "stm32l4_gpio.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/stm32l4r9ai-disco/include/board.h
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -44,7 +44,7 @@
# include <stdint.h>
#endif
#include <stm32l4.h>
/* Do not include STM32 L4 header files here */
/****************************************************************************
* Pre-processor Definitions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* boards/arm/stm32l4/stm32l476vg-disco/src/stm32l476vg-disco.h
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
* Authors: Frank Bennett
* Gregory Nutt <gnutt@nuttx.org>
* Sebastien Lorquet <sebastien@lorquet.fr>
@ -48,6 +48,8 @@
#include <stdint.h>
#include "stm32l4_gpio.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/