Skip to content

Commit a709541

Browse files
committed
Fix compilation issues is certain situations.
1 parent 01b2ef7 commit a709541

File tree

12 files changed

+23
-0
lines changed

12 files changed

+23
-0
lines changed

Diff for: libraries/SPI/src/SPI.h

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#define _SPI_H_INCLUDED
2323

2424
#include <stdlib.h>
25+
#include "pins_arduino.h"
2526
#include "esp32-hal-spi.h"
2627

2728
class SPISettings

Diff for: variants/esp32/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/esp320/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 11
57
#define NUM_DIGITAL_PINS 12
68
#define NUM_ANALOG_INPUTS 5

Diff for: variants/esp32thing/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/espea32/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/firebeetle32/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/hornbill32dev/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/hornbill32minima/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/lolin32/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/nano32/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 38
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/node32s/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

Diff for: variants/quantum/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef Pins_Arduino_h
22
#define Pins_Arduino_h
33

4+
#include <stdint.h>
5+
46
#define EXTERNAL_NUM_INTERRUPTS 16
57
#define NUM_DIGITAL_PINS 40
68
#define NUM_ANALOG_INPUTS 16

0 commit comments

Comments
 (0)