如何自行编译ESP8266 ESPEasy 固件

有些东西总是要看看,要改改 想动动。。。

这个怎么动?

 

arduino标准环境?这个没搞定。。。。。

然后方法有二:

1。GIT 下源码后  /ESPEasy/tools/ 下有个 build_ESPeasy.sh 可以运行它。。。它会自己去下需要的各种编译插件,总之 凑合可以完成编译

2。使用VS CODE 安装  PlatformIO 的插件

这样好用一些

 

然后改改  ESPEasy/platformio.ini 把里面那些自己用不着的开发板都删除一下,否则每次都有全编译 时间太长

 

要想启用ESPEasy里那些测试的插件,需要修改

ESPEasy/src/ESPEasy-Globals.h

按照说明把前面的//去掉,默认只有 NORMAL 的 ,后面那些一个不如一个靠谱,谨慎使用

//Select which plugin sets you want to build.
//These are normally automaticly set via the Platformio build environment.
//If you use ArduinoIDE you might need to uncomment some of them, depending on your needs
//If you dont select any, a version with a minimal number of plugins will be biult for 512k versions.
//(512k is NOT finsihed or tested yet as of v2.0.0-dev6)

//build all the normal stable plugins (on by default)
 #define PLUGIN_BUILD_NORMAL

//build all plugins that are in test stadium
 #define PLUGIN_BUILD_TESTING

//build all plugins that still are being developed and are broken or incomplete
#define PLUGIN_BUILD_DEV

//add this if you want SD support (add 10k flash)
//#define FEATURE_SD

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值