Skip to content

Commit 3b86e0c

Browse files
wemosme-no-dev
authored andcommitted
Update LED_BUILTIN pin for LOLIN32 (espressif#362)
* Add ESP.getChipId() function to get ESP32's ChipID. * change getChipId() to getEfuseMac() * * Change board:Lolin32 to LOLIN32 * Update LED_BUILTIN pin for LOLIN32
1 parent 376961d commit 3b86e0c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

boards.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ nano32.menu.UploadSpeed.512000.upload.speed=512000
181181

182182
##############################################################
183183

184-
lolin32.name=WEMOS LoLin32
184+
lolin32.name=WEMOS LOLIN32
185185

186186
lolin32.upload.tool=esptool
187187
lolin32.upload.maximum_size=1044464
@@ -194,7 +194,7 @@ lolin32.serial.disableRTS=true
194194
lolin32.build.mcu=esp32
195195
lolin32.build.core=esp32
196196
lolin32.build.variant=lolin32
197-
lolin32.build.board=LoLin32
197+
lolin32.build.board=LOLIN32
198198

199199
lolin32.build.f_cpu=240000000L
200200
lolin32.build.flash_mode=dio

variants/lolin32/pins_arduino.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
1212
#define digitalPinHasPWM(p) (p < 34)
1313

14-
static const uint8_t LED_BUILTIN = 2;
14+
static const uint8_t LED_BUILTIN = 5;
1515
#define BUILTIN_LED LED_BUILTIN // backward compatibility
1616

17-
static const uint8_t KEY_BUILTIN = 0;
17+
1818

1919
static const uint8_t TX = 1;
2020
static const uint8_t RX = 3;

0 commit comments

Comments
 (0)