请问大家一下,我下载了ESP8266相关源码和库,怎么编译不能通过呢,出现下面的错误:
rduino-1.6.5\libraries\BaoZhai\src\BaoZhai.cpp:129:51: error: 'pvPortZalloc' was not declared in this scope
*out_sen = (char*)os_zalloc(len+1);
^
D:\sougouxiazai\arduino-1.6.5\libraries\BaoZhai\src\BaoZhai.cpp:141:51: error: 'pvPortZalloc' was not declared in this scope
*out_val = (char*)os_zalloc(len+1);
^
D:\sougouxiazai\arduino-1.6.5\libraries\BaoZhai\src\BaoZhai.cpp: In function 'void mqttDataCb(uint32_t*, const char*, uint32_t, const char*, uint32_t)':
D:\sougouxiazai\arduino-1.6.5\libraries\BaoZhai\src\BaoZhai.cpp:153:50: error: 'pvPortZalloc' was not declared in this scope
char *topicBuf = (char*)os_zalloc(topic_len+1),
^
D:\sougouxiazai\arduino-1.6.5\libraries\BaoZhai\src\BaoZhai.cpp:160:15: error: 'dataBuf' was not declared in this scope |