Open Tech1k opened 3 years ago
Thank you for the details, it is worked, the only thing that did not work is to download the zip file, I download ad update the library but did not works, so I choose to update the library directly from tools, I go to (tools), and from the list I choose (Manage Libraries), from the windows I write (JSON), the list opened, and I find 2 Jason, I install Arduino Jason from the list and after that, I manage to update my ESP8266 and worked, the picture below as proof
Closing due to inactivity/solved in the latest versions Edit: didnt mean to close that one!! sorry :P
Closing due to inactivity/solved in the latest versions Edit: didnt mean to close that one!! sorry :P
It happens lmao xD
Arduino:1.8.15 (Windows 10), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, no dtr (aka ck), 26 MHz, 40MHz, QIO (fast), 512KB (FS:none OTA:~246KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
c:/users/lenovo/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\lenovo\AppData\Local\Temp\arduino_cache_798067\core\core_7ef3789270309d957822bd1371abb5e5.a(core_esp8266_main.cpp.o): in function `__loop_end':
C:\Users\lenovo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/core_esp8266_main.cpp:189: undefined reference to `setup'
c:/users/lenovo/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\lenovo\AppData\Local\Temp\arduino_cache_798067\core\core_7ef3789270309d957822bd1371abb5e5.a(core_esp8266_main.cpp.o):(.text._ZL12loop_wrapperv+0xc): undefined reference to `loop'
c:/users/lenovo/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\lenovo\AppData\Local\Temp\arduino_cache_798067\core\core_7ef3789270309d957822bd1371abb5e5.a(core_esp8266_main.cpp.o): in function `_ZL12loop_wrapperv':
C:\Users\lenovo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/core_esp8266_main.cpp:193: undefined reference to `setup'
c:/users/lenovo/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\lenovo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/core_esp8266_main.cpp:196: undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
exit status 1
为开发板 Generic ESP8266 Module 编译时出错。
在文件 -> 首选项开启 “编译过程中显示详细输出”选项 这份报告会包含更多信息。
Good evening, I have had problems when compiling the program, the version I use is the most current and this is what I get
C:\Users\adria\OneDrive\Documentos\DuinoCoin\duino-coin-3.0\ESP8266_Code\ESP8266_Code.ino:291: warning: "LED_BUILTIN" redefined 291 | #define LED_BUILTIN 2 |
---|
I am using an ESP8266
Try to update the ino file. Get the latest one in this repo.
The newest update for ESP boards (2.6.3) requires ArduinoJSON library that's needed to parse the data coming from the Duino-Coin
/getPool
API to automatically connect to the least loaded node.If you do not have the ArduinoJSON library installed, you will get an error during compilation.
To install it, we recommend using the Arduino library manager:
Open your Arduino IDE > Sketch > Attach libraries > Manage libraries > Type
ArduinoJson
and install the newest version (6.18.13
).After doing this you should have no problems related to JSON with compiling the code.
Alternatively you can install the library manually (won't auto-update):
Download the https://github.com/bblanchon/ArduinoJson library and unzip in your Arduino libraries folder (see https://www.arduino.cc/reference/en/libraries/)
(written by @joaquinbvw on the Duinocoin Discord, corrected by @revoxhere)