File tree 18 files changed +39
-40
lines changed
18 files changed +39
-40
lines changed Original file line number Diff line number Diff line change 25
25
#ifndef Pins_Arduino_h
26
26
#define Pins_Arduino_h
27
27
28
- #include "../generic/common.h"
29
-
30
28
#define PIN_WIRE_SDA (4)
31
29
#define PIN_WIRE_SCL (5)
32
30
@@ -35,4 +33,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
35
33
36
34
#define LED_BUILTIN 16
37
35
36
+ #include "../generic/common.h"
37
+
38
38
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PIN_WIRE_SDA (4)
32
30
#define PIN_WIRE_SCL (5)
33
31
@@ -36,4 +34,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
36
34
37
35
#define LED_BUILTIN 0
38
36
37
+ #include "../generic/common.h"
38
+
39
39
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 31
31
#ifndef Pins_Arduino_h
32
32
#define Pins_Arduino_h
33
33
34
- #include "../generic/common.h"
35
-
36
34
#define LED_BUILTIN 2
37
35
36
+ #include "../generic/common.h"
37
+
38
38
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 31
31
#ifndef Pins_Arduino_h
32
32
#define Pins_Arduino_h
33
33
34
- #include "../generic/common.h"
35
-
36
34
#define LED_BUILTIN 14
37
35
36
+ #include "../generic/common.h"
37
+
38
38
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PIN_WIRE_SDA (4)
32
30
#define PIN_WIRE_SCL (5)
33
31
@@ -53,4 +51,6 @@ static const uint8_t D13 = 14;
53
51
static const uint8_t D14 = 4 ;
54
52
static const uint8_t D15 = 5 ;
55
53
54
+ #include "../generic/common.h"
55
+
56
56
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PIN_WIRE_SDA (4)
32
30
#define PIN_WIRE_SCL (5)
33
31
@@ -48,4 +46,6 @@ static const uint8_t D8 = 15;
48
46
static const uint8_t RX = 3 ;
49
47
static const uint8_t TX = 1 ;
50
48
49
+ #include "../generic/common.h"
50
+
51
51
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PIN_WIRE_SDA (4)
32
30
#define PIN_WIRE_SCL (5)
33
31
@@ -40,5 +38,6 @@ static const uint8_t LED_BUILTIN_G = 4;
40
38
static const uint8_t LED_BUILTIN_B = 5 ;
41
39
static const uint8_t BUTTON_BUILTIN = 0 ;
42
40
41
+ #include "../generic/common.h"
43
42
44
43
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PIN_WIRE_SDA (4)
32
30
#define PIN_WIRE_SCL (5)
33
31
@@ -36,4 +34,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
36
34
37
35
#define LED_BUILTIN 16
38
36
37
+ #include "../generic/common.h"
38
+
39
39
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define ESPRESSO_LITE_VERSION 1
32
30
33
31
#define PIN_WIRE_SDA (4)
@@ -38,4 +36,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
38
36
39
37
#define LED_BUILTIN 16
40
38
39
+ #include "../generic/common.h"
40
+
41
41
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define ESPRESSO_LITE_VERSION 2
32
30
33
31
#define PIN_WIRE_SDA (4)
@@ -38,4 +36,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
38
36
39
37
#define LED_BUILTIN 2
40
38
39
+ #include "../generic/common.h"
40
+
41
41
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "common.h"
30
-
31
29
#define PIN_WIRE_SDA (4)
32
30
#define PIN_WIRE_SCL (5)
33
31
@@ -38,4 +36,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
38
36
#define LED_BUILTIN 1
39
37
#endif
40
38
39
+ #include "common.h"
40
+
41
41
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PIN_WIRE_SDA (4)
32
30
#define PIN_WIRE_SCL (5)
33
31
@@ -48,4 +46,6 @@ static const uint8_t D8 = 15;
48
46
static const uint8_t D9 = 3 ;
49
47
static const uint8_t D10 = 1 ;
50
48
49
+ #include "../generic/common.h"
50
+
51
51
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PIN_WIRE_SDA (2)
32
30
#define PIN_WIRE_SCL (0)
33
31
@@ -47,13 +45,8 @@ static const uint8_t P11 = 17;
47
45
static const uint8_t SDA = PIN_WIRE_SDA ;
48
46
static const uint8_t SCL = PIN_WIRE_SCL ;
49
47
50
- static const uint8_t SS = 15 ;
51
- static const uint8_t MOSI = 13 ;
52
- static const uint8_t MISO = 12 ;
53
- static const uint8_t SCK = 14 ;
54
-
55
48
#define LED_BUILTIN 5
56
49
57
- static const uint8_t A0 = 17 ;
50
+ #include "../generic/common.h"
58
51
59
52
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PHOENIX_VERSION 1
32
30
33
31
#define PIN_WIRE_SDA (4)
@@ -38,4 +36,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
38
36
39
37
#define LED_BUILTIN 16
40
38
39
+ #include "../generic/common.h"
40
+
41
41
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PHOENIX_VERSION 2
32
30
33
31
#define PIN_WIRE_SDA (4)
@@ -38,4 +36,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
38
36
39
37
#define LED_BUILTIN 2
40
38
39
+ #include "../generic/common.h"
40
+
41
41
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 26
26
#ifndef Pins_Arduino_h
27
27
#define Pins_Arduino_h
28
28
29
- #include "../generic/common.h"
30
-
31
29
#define PIN_WIRE_SDA (2)
32
30
#define PIN_WIRE_SCL (14)
33
31
@@ -36,4 +34,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
36
34
37
35
#define LED_BUILTIN 5
38
36
37
+ #include "../generic/common.h"
38
+
39
39
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 31
31
#ifndef Pins_Arduino_h
32
32
#define Pins_Arduino_h
33
33
34
- #include "../generic/common.h"
35
-
36
34
#define PIN_WIRE_SDA (4)
37
35
#define PIN_WIRE_SCL (5)
38
36
@@ -53,4 +51,6 @@ static const uint8_t D8 = 15;
53
51
static const uint8_t D9 = 3 ;
54
52
static const uint8_t D10 = 1 ;
55
53
54
+ #include "../generic/common.h"
55
+
56
56
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change @@ -84,4 +84,11 @@ static const uint8_t E16 = ESP_PINS_OFFSET + 16;
84
84
#define SERIAL_PORT_HARDWARE Serial
85
85
#define SERIAL_PORT_HARDWARE_OPEN Serial
86
86
87
+ #ifdef LED_BUILTIN
88
+ #ifdef __cplusplus
89
+ extern "C"
90
+ #endif
91
+ const int BUILTIN_LED __attribute__((deprecated , weak )) = LED_BUILTIN ;
92
+ #endif
93
+
87
94
#endif /* Pins_Arduino_h */
You can’t perform that action at this time.
0 commit comments