stm32f103-minimum/src/: Fix newly introduced errors and warnings. Most cause by removing illegal inclusions from board.h.

This commit is contained in:
Gregory Nutt
2018-02-14 11:49:56 -06:00
parent 2c17bf21af
commit 1ee0f0518b
4 changed files with 12 additions and 7 deletions
@@ -46,6 +46,7 @@
#include <nuttx/board.h> #include <nuttx/board.h>
#include <arch/board/board.h> #include <arch/board/board.h>
#include "stm32_gpio.h"
#include "stm32f103_minimum.h" #include "stm32f103_minimum.h"
#if defined(CONFIG_ARCH_BUTTONS) #if defined(CONFIG_ARCH_BUTTONS)
+2 -1
View File
@@ -1,7 +1,7 @@
/************************************************************************************ /************************************************************************************
* configs/stm32f103-minimum/src/stm32_pwm.c * configs/stm32f103-minimum/src/stm32_pwm.c
* *
* Copyright (C) 2013, 2015, 2016 Gregory Nutt. All rights reserved. * Copyright (C) 2013, 2015, 2016, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* Alan Carvalho de Assis <acassis@gmail.com> * Alan Carvalho de Assis <acassis@gmail.com>
* *
@@ -40,6 +40,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/types.h>
#include <errno.h> #include <errno.h>
#include <debug.h> #include <debug.h>
+2 -1
View File
@@ -1,7 +1,7 @@
/************************************************************************************ /************************************************************************************
* configs/stm32f4discovery/src/stm32_rgbled.c * configs/stm32f4discovery/src/stm32_rgbled.c
* *
* Copyright (C) 2016 Gregory Nutt. All rights reserved. * Copyright (C) 2016, 2018 Gregory Nutt. All rights reserved.
* Author: Alan Carvalho de Assis <acassis@gmail.com> * Author: Alan Carvalho de Assis <acassis@gmail.com>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -39,6 +39,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/types.h>
#include <errno.h> #include <errno.h>
#include <debug.h> #include <debug.h>
@@ -1,7 +1,7 @@
/************************************************************************************ /************************************************************************************
* configs/stm32f103-minimum/src/stm32f103_minimum.h * configs/stm32f103-minimum/src/stm32f103_minimum.h
* *
* Copyright (C) 2016 Gregory Nutt. All rights reserved. * Copyright (C) 2016, 2018 Gregory Nutt. All rights reserved.
* Author: Laurent Latil <laurent@latil.nom.fr> * Author: Laurent Latil <laurent@latil.nom.fr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -44,6 +44,12 @@
#include <nuttx/compiler.h> #include <nuttx/compiler.h>
#include <stdint.h> #include <stdint.h>
#include <arch/chip/chip.h>
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
#define HAVE_AT24 1 #define HAVE_AT24 1
/* AT24 Serial EEPROM */ /* AT24 Serial EEPROM */
@@ -77,10 +83,6 @@
# undef HAVE_AT24 # undef HAVE_AT24
#endif #endif
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
/* How many SPI modules does this chip support? The LM3S6918 supports 2 SPI /* How many SPI modules does this chip support? The LM3S6918 supports 2 SPI
* modules (others may support more -- in such case, the following must be * modules (others may support more -- in such case, the following must be
* expanded). * expanded).