Update some platform includes

This commit is contained in:
Scott Lahteine 2019-07-20 22:19:48 -05:00
parent a38b9da672
commit 6899ed2026
4 changed files with 8 additions and 16 deletions

View file

@ -28,8 +28,8 @@
******************************************************************************* *******************************************************************************
* Automatically generated from STM32F407Z(E-G)Tx.xml * Automatically generated from STM32F407Z(E-G)Tx.xml
*/ */
#include "Arduino.h" #include <Arduino.h>
#include "PeripheralPins.h" #include <PeripheralPins.h>
/* ===== /* =====
* Note: Commented lines are alternative possibilities which are not used by default. * Note: Commented lines are alternative possibilities which are not used by default.

View file

@ -27,14 +27,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************* *******************************************************************************
*/ */
#pragma once
#ifndef _VARIANT_ARDUINO_STM32_
#define _VARIANT_ARDUINO_STM32_
/*---------------------------------------------------------------------------- /*----------------------------------------------------------------------------
* Headers * Headers
*----------------------------------------------------------------------------*/ *----------------------------------------------------------------------------*/
#include "PeripheralPins.h" #include <PeripheralPins.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -292,5 +290,3 @@ extern const PinName digitalPin[];
#define SERIAL_PORT_MONITOR Serial #define SERIAL_PORT_MONITOR Serial
#define SERIAL_PORT_HARDWARE Serial1 #define SERIAL_PORT_HARDWARE Serial1
#endif #endif
#endif /* _VARIANT_ARDUINO_STM32_ */

View file

@ -28,8 +28,8 @@
******************************************************************************* *******************************************************************************
* Automatically generated from STM32F407Z(E-G)Tx.xml * Automatically generated from STM32F407Z(E-G)Tx.xml
*/ */
#include "Arduino.h" #include <Arduino.h>
#include "PeripheralPins.h" #include <PeripheralPins.h>
/* ===== /* =====
* Note: Commented lines are alternative possibilities which are not used per default. * Note: Commented lines are alternative possibilities which are not used per default.

View file

@ -27,14 +27,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************* *******************************************************************************
*/ */
#pragma once
#ifndef _VARIANT_ARDUINO_STM32_
#define _VARIANT_ARDUINO_STM32_
/*---------------------------------------------------------------------------- /*----------------------------------------------------------------------------
* Headers * Headers
*----------------------------------------------------------------------------*/ *----------------------------------------------------------------------------*/
#include "PeripheralPins.h" #include <PeripheralPins.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -215,5 +213,3 @@ extern const PinName digitalPin[];
#define SERIAL_PORT_MONITOR Serial #define SERIAL_PORT_MONITOR Serial
#define SERIAL_PORT_HARDWARE Serial1 #define SERIAL_PORT_HARDWARE Serial1
#endif #endif
#endif /* _VARIANT_ARDUINO_STM32_ */