#1 Програмування Arduino » Помилка коомпіляції esp8266 » 2022-08-11 20:01:15

ВладQq
відповідей: 2

Всім привіт
прошу допомоги з кодом esp
видає помилку при будь якому коді
ось помилка:

Arduino: 1.8.13 (Windows 10), Плата: "NodeMCU 1.0 (ESP-12E 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, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch,



In file included from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkWidgets.h:14,

                 from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkSimpleEsp8266.h:107,

                 from C:UsersВладікDesktopsketch_aug11asketch_aug11a.ino:1:

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/WidgetTimeInput.h: In constructor 'TimeInputParam::TimeInputParam(const BlynkParam&)':

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/WidgetTimeInput.h:45:43: warning: implicitly-declared 'constexpr BlynkTime& BlynkTime::operator=(const BlynkTime&)' is deprecated [-Wdeprecated-copy]

   45 |             mStart = BlynkTime(it.asLong());

      |                                           ^

In file included from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/WidgetTimeInput.h:15,

                 from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkWidgets.h:14,

                 from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkSimpleEsp8266.h:107,

                 from C:UsersВладікDesktopsketch_aug11asketch_aug11a.ino:1:

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/Blynk/BlynkDateTime.h:65:5: note: because 'BlynkTime' has user-provided 'BlynkTime::BlynkTime(const BlynkTime&)'

   65 |     BlynkTime(const BlynkTime& t) : mTime(t.mTime) {}

      |     ^~~~~~~~~

In file included from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkWidgets.h:14,

                 from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkSimpleEsp8266.h:107,

                 from C:UsersВладікDesktopsketch_aug11asketch_aug11a.ino:1:

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/WidgetTimeInput.h:59:42: warning: implicitly-declared 'constexpr BlynkTime& BlynkTime::operator=(const BlynkTime&)' is deprecated [-Wdeprecated-copy]

   59 |             mStop = BlynkTime(it.asLong());

      |                                          ^

In file included from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/WidgetTimeInput.h:15,

                 from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkWidgets.h:14,

                 from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkSimpleEsp8266.h:107,

                 from C:UsersВладікDesktopsketch_aug11asketch_aug11a.ino:1:

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/Blynk/BlynkDateTime.h:65:5: note: because 'BlynkTime' has user-provided 'BlynkTime::BlynkTime(const BlynkTime&)'

   65 |     BlynkTime(const BlynkTime& t) : mTime(t.mTime) {}

      |     ^~~~~~~~~

In file included from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/Blynk/BlynkProtocol.h:19,

                 from C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/BlynkSimpleEsp8266.h:25,

                 from C:UsersВладікDesktopsketch_aug11asketch_aug11a.ino:1:

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/Blynk/BlynkUtility.h: At global scope:

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/Blynk/BlynkUtility.h:96:6: warning: 'bool BlynkStrMatch(const char*, const char*)' defined but not used [-Wunused-function]

   96 | bool BlynkStrMatch(const char* pat, const char* txt) {

      |      ^~~~~~~~~~~~~

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/Blynk/BlynkUtility.h:81:10: warning: 'uint32_t BlynkCRC32(const void*, size_t, uint32_t)' defined but not used [-Wunused-function]

   81 | uint32_t BlynkCRC32(const void* data, size_t length, uint32_t previousCrc32 = 0)

      |          ^~~~~~~~~~

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/Blynk/BlynkUtility.h:70:5: warning: 'int BlynkSQ2RSSI(int)' defined but not used [-Wunused-function]

   70 | int BlynkSQ2RSSI(int quality) {

      |     ^~~~~~~~~~~~

C:Users\DocumentsArduinolibrariesblynk-library-mastersrc/Blynk/BlynkUtility.h:59:5: warning: 'int BlynkRSSI2SQ(int)' defined but not used [-Wunused-function]

   59 | int BlynkRSSI2SQ(int dBm) {

      |     ^~~~~~~~~~~~

Traceback (most recent call last):

  File "C:Users\AppDataLocalArduino15packagesesp8266hardwareesp82663.0.2/tools/elf2bin.py", line 211, in <module>

    sys.exit(main())

  File "C:Users\AppDataLocalArduino15packagesesp8266hardwareesp82663.0.2/tools/elf2bin.py", line 183, in main

    out=args.out, eboot=args.eboot, app=args.app))

  File "D:objWindows-Release37win32_Releasemsi_pythonzip_win32cp866.py", line 19, in encode

UnicodeEncodeError: 'charmap' codec can't encode character 'u0456' in position 118: character maps to <undefined>

exit status 1

Помилка компіляції для плати NodeMCU 1.0 (ESP-12E Module).
".
наперед дякую!

Підвал форуму