准备工作
1.NodeMCU模块
2.ESP8266Flasher.exe
3.EspTouch.apk
3.docker toolbox(win7系统) 或 docker(win10以上),本教程是在win7系统上开发,Win7安装Docker
选择构建固件方式
在NodeMCU入门(2):在线构建、刷入固件,上传代码 中提到固件编译有三种方式,官方说明,当时我们选择了Cloud Build Service。
Tools
Cloud Build Service
NodeMCU "application developers" just need a ready-made firmware. There's a cloud build servicewith a nice UI and configuration options for them.
Docker Image
Occasional NodeMCU firmware hackers don't need full control over the complete tool chain. They might not want to setup a Linux VM with the build environment. Docker to the rescue. Give Docker NodeMCU build