Browse Source

Update some platform includes

pull/1/head
Scott Lahteine 5 years ago
parent
commit
6899ed2026
  1. 4
      buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/PeripheralPins.c
  2. 8
      buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/variant.h
  3. 4
      buildroot/share/PlatformIO/variants/MARLIN_F407VE/PeripheralPins.c
  4. 8
      buildroot/share/PlatformIO/variants/MARLIN_F407VE/variant.h

4
buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/PeripheralPins.c

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

8
buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/variant.h

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

4
buildroot/share/PlatformIO/variants/MARLIN_F407VE/PeripheralPins.c

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

8
buildroot/share/PlatformIO/variants/MARLIN_F407VE/variant.h

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

Loading…
Cancel
Save