Skip to content

Commit 8816bb5

Browse files
authored
Added #define LED_BUILTIN to all pins_arduino.h that need it. (espressif#4520)
1 parent 3274602 commit 8816bb5

File tree

54 files changed

+54
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+54
-0
lines changed

variants/Microduino-esp32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = -1;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
#define MTDO 15
1819
#define MTDI 12

variants/S_ODI_Ultra_v1/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
static const uint8_t LED_BUILTIN = 2;
1515
static const uint8_t LED_BUILTINB = 4;
1616
#define BUILTIN_LED LED_BUILTIN // backward compatibility
17+
#define LED_BUILTIN LED_BUILTIN
1718
#define BUILTIN_LED2 LED_BUILTINB
1819

1920
static const uint8_t TX = 1;

variants/alksesp32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
static const uint8_t LED_BUILTIN = 23;
1717
#define BUILTIN_LED LED_BUILTIN // backward compatibility
18+
#define LED_BUILTIN LED_BUILTIN
1819

1920
static const uint8_t TX = 1;
2021
static const uint8_t RX = 3;

variants/d1_mini32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
static const uint8_t LED_BUILTIN = 2;
88
#define BUILTIN_LED LED_BUILTIN // backward compatibility
9+
#define LED_BUILTIN LED_BUILTIN
910
static const uint8_t _VBAT = 35; // battery voltage
1011

1112
#define PIN_WIRE_SDA SDA // backward compatibility

variants/d32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
static const uint8_t LED_BUILTIN = 5;
88
#define BUILTIN_LED LED_BUILTIN // backward compatibility
9+
#define LED_BUILTIN LED_BUILTIN
910
static const uint8_t _VBAT = 35; // battery voltage
1011

1112
#endif /* Pins_Arduino_h */

variants/d32_pro/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
static const uint8_t LED_BUILTIN = 5;
88
#define BUILTIN_LED LED_BUILTIN // backward compatibility
9+
#define LED_BUILTIN LED_BUILTIN
910
static const uint8_t _VBAT = 35; // battery voltage
1011

1112

variants/doitESP32devkitV1/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 1;
1819
static const uint8_t RX = 3;

variants/esp32-gateway/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
static const uint8_t LED_BUILTIN = 33;
2020
#define BUILTIN_LED LED_BUILTIN // backward compatibility
21+
#define LED_BUILTIN LED_BUILTIN
2122

2223
static const uint8_t KEY_BUILTIN = 34;
2324

variants/esp320/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 5;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 1;
1819
static const uint8_t RX = 3;

variants/esp32thing/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 5;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 0;
1819

variants/esp32thing_plus/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 13;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 17;
1819
static const uint8_t RX = 16;

variants/espea32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 5;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 0;
1819

variants/espectro32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
static const uint8_t LED_BUILTIN = 15;
1919
#define BUILTIN_LED LED_BUILTIN // backward compatibility
20+
#define LED_BUILTIN LED_BUILTIN
2021

2122
static const uint8_t TX = 1;
2223
static const uint8_t RX = 3;

variants/espino32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 16;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t BUILTIN_KEY = 0;
1819

variants/feather_esp32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 13;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 17;
1819
static const uint8_t RX = 16;

variants/firebeetle32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ typedef unsigned char uint8_t;
1515

1616
static const uint8_t LED_BUILTIN = 2;
1717
#define BUILTIN_LED LED_BUILTIN // backward compatibility
18+
#define LED_BUILTIN LED_BUILTIN
1819

1920

2021

variants/gpy/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
static const uint8_t LED_BUILTIN = 0; // ->2812 RGB !!!
2626
#define BUILTIN_LED LED_BUILTIN // backward compatibility
27+
#define LED_BUILTIN LED_BUILTIN
2728

2829
#define ANT_SELECT 21 // GPIO21 - WiFi external / internal antenna switch
2930

variants/healthypi4/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 15;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 17;
1819

variants/heltec_wifi_kit_32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
static const uint8_t LED_BUILTIN = 25;
1919
#define BUILTIN_LED LED_BUILTIN // backward compatibility
20+
#define LED_BUILTIN LED_BUILTIN
2021

2122
static const uint8_t KEY_BUILTIN = 0;
2223

variants/heltec_wifi_lora_32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
static const uint8_t LED_BUILTIN = 25;
1919
#define BUILTIN_LED LED_BUILTIN // backward compatibility
20+
#define LED_BUILTIN LED_BUILTIN
2021

2122
static const uint8_t KEY_BUILTIN = 0;
2223

variants/heltec_wifi_lora_32_V2/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
static const uint8_t LED_BUILTIN = 25;
1919
#define BUILTIN_LED LED_BUILTIN // backward compatibility
20+
#define LED_BUILTIN LED_BUILTIN
2021

2122
static const uint8_t KEY_BUILTIN = 0;
2223

variants/heltec_wireless_stick/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
static const uint8_t LED_BUILTIN = 25;
1919
#define BUILTIN_LED LED_BUILTIN // backward compatibility
20+
#define LED_BUILTIN LED_BUILTIN
2021

2122
static const uint8_t KEY_BUILTIN = 0;
2223

variants/honeylemon/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t BUILTIN_KEY = 0;
1819

variants/hornbill32dev/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 13;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 0;
1819

variants/imbrios-logsens-v1p1/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
/* LED_BUILTIN is kept for compatibility reason; mapped to LED2 on the LogSens V1.1 Board */
2424
static const uint8_t LED_BUILTIN = 33;
2525
#define BUILTIN_LED LED_BUILTIN // backward compatibility
26+
#define LED_BUILTIN LED_BUILTIN
2627

2728
/* UART0: Serial Port for Programming and Debugging on the LogSens V1.1 Board */
2829
static const uint8_t TX = 1;

variants/intorobot-fig/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 4;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t RGB_R_BUILTIN = 27;
1819
static const uint8_t RGB_G_BUILTIN = 21;

variants/lolin32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 5;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718

1819

variants/lopy/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
static const uint8_t LED_BUILTIN = 0; // ->2812 RGB !!!
2626
#define BUILTIN_LED LED_BUILTIN // backward compatibility
27+
#define LED_BUILTIN LED_BUILTIN
2728

2829
#define ANT_SELECT 16 // GPIO16 - External Antenna Switch
2930

variants/lopy4/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
static const uint8_t LED_BUILTIN = 0; // ->2812 RGB !!!
2626
#define BUILTIN_LED LED_BUILTIN // backward compatibility
27+
#define LED_BUILTIN LED_BUILTIN
2728

2829
#define ANT_SELECT 21 // GPIO21 - External Antenna Switch
2930

variants/metro_esp-32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 0;
1819

variants/mgbot-iotik32a/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 4;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 1;
1819
static const uint8_t RX = 3;

variants/mgbot-iotik32b/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 18;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
// IR receiver
1819
static const uint8_t IR = 27;

variants/mhetesp32devkit/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 1;
1819
static const uint8_t RX = 3;

variants/mhetesp32minikit/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 1;
1819
static const uint8_t RX = 3;

variants/nano32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 16;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t BUILTIN_KEY = 0;
1819

variants/node32s/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 0;
1819

variants/nodemcu-32s/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 0;
1819

variants/odroid_esp32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 1;
1819
static const uint8_t RX = 3;

variants/onehorse32dev/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 5;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 0;
1819

variants/openkb/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 16;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 1;
1819
static const uint8_t RX = 3;

variants/oroca_edubot/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 13;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 17;
1819
static const uint8_t RX = 16;

variants/piranha_esp-32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t KEY_BUILTIN = 0;
1819

variants/pocket_32/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 16;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718

1819

variants/tbeam/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ static const uint8_t KEY_BUILTIN = 39;
2626

2727
static const uint8_t LED_BUILTIN = 14;
2828
#define BUILTIN_LED LED_BUILTIN // backward compatibility
29+
#define LED_BUILTIN LED_BUILTIN
2930

3031
static const uint8_t TX = 1;
3132
static const uint8_t RX = 3;

variants/ttgo-lora32-v1/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
static const uint8_t LED_BUILTIN = 2;
2828
#define BUILTIN_LED LED_BUILTIN // backward compatibility
29+
#define LED_BUILTIN LED_BUILTIN
2930

3031
static const uint8_t KEY_BUILTIN = 0;
3132

variants/ttgo-lora32-v2/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
static const uint8_t LED_BUILTIN = 22;
3434
#define BUILTIN_LED LED_BUILTIN // backward compatibility
35+
#define LED_BUILTIN LED_BUILTIN
3536

3637
static const uint8_t KEY_BUILTIN = 0;
3738

variants/ttgo-lora32-v21new/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040

4141
static const uint8_t LED_BUILTIN = 25 ;
4242
#define BUILTIN_LED LED_BUILTIN // backward compatibility
43+
#define LED_BUILTIN LED_BUILTIN
4344

4445
static const uint8_t KEY_BUILTIN = 0;
4546

variants/ttgo-t1/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ static const uint8_t RX = 3;
1616

1717
static const uint8_t LED_BUILTIN = 22;
1818
#define BUILTIN_LED LED_BUILTIN // backward compatibility
19+
#define LED_BUILTIN LED_BUILTIN
1920

2021
static const uint8_t SDA = 21;
2122
// Despite the many diagrams from TTGO showing SCL on pin 22, due to the on-board LED

variants/turta_iot_node/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// LED
1515
static const uint8_t LED_BUILTIN = 13;
1616
#define BUILTIN_LED LED_BUILTIN // backward compatibility
17+
#define LED_BUILTIN LED_BUILTIN
1718

1819
// UART
1920
static const uint8_t TX = 10;

variants/vintlabsdevkitv1/pins_arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
static const uint8_t LED_BUILTIN = 2;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
1617

1718
static const uint8_t TX = 1;
1819
static const uint8_t RX = 3;

0 commit comments

Comments
 (0)