How to compile their own firmware ESP8266 ESPEasy

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qadzhangc/article/details/89520064

Some things always have to look to change that want to move move. . .

How this move?

 

arduino standard environment? This did not get. . . . .

Then there are two methods:

1. There build_ESPeasy.sh GIT can run it after the source / ESPEasy / tools / lower. . . It will need to compile their own variety of plug-ins, in short, can make do compile

2. Use VS CODE install  PlatformIO plug

Some so easy to use

 

Then change to change ESPEasy / platformio.ini to those inside their own development board need not have to delete it, or else each time a full compilation time is too long

 

ESPEasy in those tests To enable plug-ins need to be amended

ESPEasy/src/ESPEasy-Globals.h

Follow the instructions to remove the front of the // default only NORMAL, followed by a not as good as those of a fly, use caution

//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

 

Guess you like

Origin blog.csdn.net/qadzhangc/article/details/89520064