Skip to content

Added #define LED_BUILTIN to all pins_arduino.h that need it. #4520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions variants/Microduino-esp32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = -1;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

#define MTDO 15
#define MTDI 12
Expand Down
1 change: 1 addition & 0 deletions variants/S_ODI_Ultra_v1/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
static const uint8_t LED_BUILTIN = 2;
static const uint8_t LED_BUILTINB = 4;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
#define BUILTIN_LED2 LED_BUILTINB

static const uint8_t TX = 1;
Expand Down
1 change: 1 addition & 0 deletions variants/alksesp32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

static const uint8_t LED_BUILTIN = 23;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/d1_mini32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static const uint8_t _VBAT = 35; // battery voltage

#define PIN_WIRE_SDA SDA // backward compatibility
Expand Down
1 change: 1 addition & 0 deletions variants/d32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static const uint8_t _VBAT = 35; // battery voltage

#endif /* Pins_Arduino_h */
1 change: 1 addition & 0 deletions variants/d32_pro/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static const uint8_t _VBAT = 35; // battery voltage


Expand Down
1 change: 1 addition & 0 deletions variants/doitESP32devkitV1/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/esp32-gateway/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

static const uint8_t LED_BUILTIN = 33;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 34;

Expand Down
1 change: 1 addition & 0 deletions variants/esp320/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/esp32thing/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/esp32thing_plus/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 13;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 17;
static const uint8_t RX = 16;
Expand Down
1 change: 1 addition & 0 deletions variants/espea32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/espectro32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

static const uint8_t LED_BUILTIN = 15;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/espino32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 16;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t BUILTIN_KEY = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/feather_esp32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 13;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 17;
static const uint8_t RX = 16;
Expand Down
1 change: 1 addition & 0 deletions variants/firebeetle32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ typedef unsigned char uint8_t;

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN



Expand Down
1 change: 1 addition & 0 deletions variants/gpy/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

static const uint8_t LED_BUILTIN = 0; // ->2812 RGB !!!
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

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

Expand Down
1 change: 1 addition & 0 deletions variants/healthypi4/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 15;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 17;

Expand Down
1 change: 1 addition & 0 deletions variants/heltec_wifi_kit_32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

static const uint8_t LED_BUILTIN = 25;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/heltec_wifi_lora_32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

static const uint8_t LED_BUILTIN = 25;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/heltec_wifi_lora_32_V2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

static const uint8_t LED_BUILTIN = 25;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/heltec_wireless_stick/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

static const uint8_t LED_BUILTIN = 25;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/honeylemon/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t BUILTIN_KEY = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/hornbill32dev/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 13;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/imbrios-logsens-v1p1/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/* LED_BUILTIN is kept for compatibility reason; mapped to LED2 on the LogSens V1.1 Board */
static const uint8_t LED_BUILTIN = 33;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

/* UART0: Serial Port for Programming and Debugging on the LogSens V1.1 Board */
static const uint8_t TX = 1;
Expand Down
1 change: 1 addition & 0 deletions variants/intorobot-fig/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 4;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t RGB_R_BUILTIN = 27;
static const uint8_t RGB_G_BUILTIN = 21;
Expand Down
1 change: 1 addition & 0 deletions variants/lolin32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN



Expand Down
1 change: 1 addition & 0 deletions variants/lopy/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

static const uint8_t LED_BUILTIN = 0; // ->2812 RGB !!!
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

#define ANT_SELECT 16 // GPIO16 - External Antenna Switch

Expand Down
1 change: 1 addition & 0 deletions variants/lopy4/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

static const uint8_t LED_BUILTIN = 0; // ->2812 RGB !!!
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

#define ANT_SELECT 21 // GPIO21 - External Antenna Switch

Expand Down
1 change: 1 addition & 0 deletions variants/metro_esp-32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/mgbot-iotik32a/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 4;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/mgbot-iotik32b/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 18;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

// IR receiver
static const uint8_t IR = 27;
Expand Down
1 change: 1 addition & 0 deletions variants/mhetesp32devkit/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/mhetesp32minikit/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/nano32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 16;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t BUILTIN_KEY = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/node32s/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/nodemcu-32s/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/odroid_esp32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/onehorse32dev/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/openkb/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 16;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/oroca_edubot/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 13;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 17;
static const uint8_t RX = 16;
Expand Down
1 change: 1 addition & 0 deletions variants/piranha_esp-32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/pocket_32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 16;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN



Expand Down
1 change: 1 addition & 0 deletions variants/tbeam/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ static const uint8_t KEY_BUILTIN = 39;

static const uint8_t LED_BUILTIN = 14;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/ttgo-lora32-v1/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/ttgo-lora32-v2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

static const uint8_t LED_BUILTIN = 22;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/ttgo-lora32-v21new/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

static const uint8_t LED_BUILTIN = 25 ;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

Expand Down
1 change: 1 addition & 0 deletions variants/ttgo-t1/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ static const uint8_t RX = 3;

static const uint8_t LED_BUILTIN = 22;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t SDA = 21;
// Despite the many diagrams from TTGO showing SCL on pin 22, due to the on-board LED
Expand Down
1 change: 1 addition & 0 deletions variants/turta_iot_node/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// LED
static const uint8_t LED_BUILTIN = 13;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

// UART
static const uint8_t TX = 10;
Expand Down
1 change: 1 addition & 0 deletions variants/vintlabsdevkitv1/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t TX = 1;
static const uint8_t RX = 3;
Expand Down
Loading