如何将C编译器用于ESP8266
我已经与Platformio合作了几个星期,并且能够为我的微控制器(Atmega328p)创建很多。我一直试图摆脱Arduino结构。因此,没有“ void设置”或“ void循环”,而是简单的。 现在我得到了ESP8266,我想在C环境中进行编译。 现在(对于12E)创建项目时,它询问我应该使用哪个框架。我已经通过用int main(){}函数替换Arduino设置和循环来尝试所有这些,但是总是会出现错误。有人知道如何在ESP8266中使用纯C环境吗?
i have been working with platformio for a few weeks now and have been able to create quite a bit for my microcontroller (atmega328p). I have always tried to get away from the Arduino structure. So no “void setup” or “void loop” but simple C.
Now I got a ESP8266, which I would like to compile with a C environment.
When I create the project now (for the 12E) it asks which framework I should use. I have tried them all by replacing the Arduino setup and loop with the int main(){} function, however it always came up with errors. Does anyone know how I can use a pure C environment for the ESP8266?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论