diff --git a/boards.txt b/boards.txt index 9011cb13..e36294ea 100644 --- a/boards.txt +++ b/boards.txt @@ -181,7 +181,7 @@ nano32.menu.UploadSpeed.512000.upload.speed=512000 ############################################################## -lolin32.name=WEMOS LoLin32 +lolin32.name=WEMOS LOLIN32 lolin32.upload.tool=esptool lolin32.upload.maximum_size=1044464 @@ -194,7 +194,7 @@ lolin32.serial.disableRTS=true lolin32.build.mcu=esp32 lolin32.build.core=esp32 lolin32.build.variant=lolin32 -lolin32.build.board=LoLin32 +lolin32.build.board=LOLIN32 lolin32.build.f_cpu=240000000L lolin32.build.flash_mode=dio diff --git a/variants/lolin32/pins_arduino.h b/variants/lolin32/pins_arduino.h index 3bb26f1e..274f5d23 100644 --- a/variants/lolin32/pins_arduino.h +++ b/variants/lolin32/pins_arduino.h @@ -11,10 +11,10 @@ #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinHasPWM(p) (p < 34) -static const uint8_t LED_BUILTIN = 2; +static const uint8_t LED_BUILTIN = 5; #define BUILTIN_LED LED_BUILTIN // backward compatibility -static const uint8_t KEY_BUILTIN = 0; + static const uint8_t TX = 1; static const uint8_t RX = 3;