为ESP8266 烧录AT_Firmware_WiFi时报错-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1098|回复: 5

[已解答] 为ESP8266 烧录AT_Firmware_WiFi时报错

[复制链接]
发表于 2020-10-21 19:59 | 显示全部楼层 |阅读模式
Arduino:1.8.13 (Windows 10), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, All Flash Contents, 115200"

In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:10:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:116,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:48:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h: In member function 'virtual char* BlinkerMQTTAT::lastRead()':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:850:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     return "";

            ^

In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:90:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:116,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:48:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h: In member function 'char* BlinkerBridge_key::getName()':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h:196:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

                 else return "false";

                             ^

In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:91:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:116,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:48:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::deviceName()':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:104:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

             char * deviceName() { if (isInit) return conn->deviceName(); else return ""; }

                                                                                      ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::authKey()':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:105:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

             char * authKey()    { if (isInit) return conn->authKey(); else return "";  }

                                                                                   ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::dataParse()':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:251:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         char* dataParse()       { if (canParse) return conn->lastRead(); else return ""; }

                                                                                      ^

In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:116,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:48:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: At global scope:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:811:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         BlinkerWidgets_string _BUILTIN_SWITCH = BlinkerWidgets_string(BLINKER_CMD_BUILTIN_SWITCH);

                                                                                                 ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeKey(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7237:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         else return "";

                     ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeName(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7244:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         else return "false";

                     ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_str(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7873:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_joy(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7880:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

         else return "";

                     ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_rgb(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7887:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_int(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7893:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_tab(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7899:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^

In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:116:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:48:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h: At global scope:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:57:23: error: cannot declare field 'BlinkerESPMQTTAT::Transp' to be of abstract type 'BlinkerMQTTAT'

         BlinkerMQTTAT Transp;

                       ^

In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:10:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:116,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:48:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:34:7: note:   because the following virtual functions are pure within 'BlinkerMQTTAT':

class BlinkerMQTTAT : public BlinkerStream

       ^

In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:30:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:10,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:116,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:48:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/../Blinker/BlinkerStream.h:76:25: note:         virtual int BlinkerStream::toServer(char*)

             virtual int toServer(char * data) = 0;

                         ^

exit status 1

为开发板 Generic ESP8266 Module 编译时出错。






发表于 2020-10-21 21:55 | 显示全部楼层
你这不是at吧
 楼主| 发表于 2020-10-21 21:56 | 显示全部楼层
编译AT_Firmware_WiFi报错
 楼主| 发表于 2020-10-21 21:57 | 显示全部楼层
C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:57:23: error: cannot declare field 'BlinkerESPMQTTAT::Transp' to be of abstract type 'BlinkerMQTTAT'

         BlinkerMQTTAT Transp;


有个错误
 楼主| 发表于 2020-10-22 08:43 | 显示全部楼层
问题已解决,GitHub下载0.3.2版本的Blinker库就可以用,最新版本的库总报错
发表于 2020-10-28 08:51 | 显示全部楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 13:56 , Processed in 0.088915 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表