Update some platform includes

2.0.x
Scott Lahteine 5 years ago
parent a38b9da672
commit 6899ed2026

@ -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.

@ -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_ */

@ -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.

@ -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_ */

Loading…
Cancel
Save