You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the documentation at readthedocs and the issue is not addressed there.
I have tested that the issue is present in current master branch (aka latest git).
I have searched the issue tracker for a similar issue.
If there is a stack dump, I have decoded it.
I have filled out all fields below.
Platform
Hardware: ESP-12E
Core Version: 2.6.1
Development Env: Sloeber (as an Eclipse plugin)
Operating System: Devuan
Settings in IDE
Module: NodeMcu 1.0 (ESP-12E Module)
Flash Mode: don't konw
Flash Size: 4MB
lwip Variant: v2 Lower Memory
Reset Method: don't know
Flash Frequency: don't know
CPU Frequency: 160MHz
Upload Using: SERIAL
Upload Speed: 460800
Problem Description
NodeMCU v1.0 board configuration option "Builtin Led" (since v2.6.1) has no effect because LED_BUILTIN is overwritten by variants/nodemcu/pins_arduino.h. A compiler warning also thrown (more than once).
...
Building file: /home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/cores/esp8266/uart.cpp
Starting C++ compile
"/home/erdem/eclipse/ide-latest-released/eclipse//arduinoPlugin/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I/home/erdem/eclipse/ide-latest-released/eclipse//arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/tools/sdk/include" "-I/home/erdem/eclipse/ide-latest-released/eclipse//arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/tools/sdk/lwip2/include" "-I/home/erdem/eclipse/ide-latest-released/eclipse//arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/tools/sdk/libc/xtensa-lx106-elf/include" "-I/home/erdem/workspace/priv/Arduino/SandboxESP8266/Release/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNEW_OOM_ABORT -DNONOSDK22x_191024=1 -DF_CPU=160000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10802 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="\"ESP8266_NODEMCU\"" -DLED_BUILTIN=16 -DFLASHMODE_DIO -DESP8266 -I"/home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/cores/esp8266" -I"/home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/variants/nodemcu" -I"/home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/libraries/simplot/1.0.2" -MMD -MP -MF"core/core/uart.cpp.d" -MT"core/core/uart.cpp.o" -D__IN_ECLIPSE__=1 -x c++ "/home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/cores/esp8266/uart.cpp" -o "core/core/uart.cpp.o"
In file included from /home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/cores/esp8266/Arduino.h:286:0,
from /home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/cores/esp8266/uart.cpp:43:
/home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/variants/nodemcu/pins_arduino.h:36:0: warning: "LED_BUILTIN" redefined [enabled by default]
#define LED_BUILTIN 2
^
<command-line>:0:0: note: this is the location of the previous definition
Finished building: /home/erdem/eclipse/ide-latest-released/eclipse/arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.1/cores/esp8266/uart.cpp
...
Basic Infos
Platform
Settings in IDE
Problem Description
NodeMCU v1.0 board configuration option "Builtin Led" (since v2.6.1) has no effect because
LED_BUILTIN
is overwritten byvariants/nodemcu/pins_arduino.h
. A compiler warning also thrown (more than once).I'm also opening a pull request for this issue.
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: