NodeMCU文档中文翻译 5 上传代码
一、译文
1、ESPlorer
2、nodemcu-uploader.py
一个简单的工具,能上传文件到NodeMCU开发板上ESP8266中的文件系统,还有一些有用的命令。
3、NodeMCU Studio
这是一个非常、非常、非常、非常早期的版本!
4、luatool
5、用电脑编译待上传的Lua脚本
在一个平台上编译源码却在另一平台上使用(比如说在Intel x38 Window上编译,在ESP8266平台上运行)被称为交叉编译。NodeMCU固件支持具备Lua5.1(Lua文件系统模块lfs)和必要GCC工具的*nix平台上的luac.cross编译脚本。简单地改变目录到固件根目录并且运行以下命令:
lua tools/cross-lua.lua
这将会摘你的根目录产生一个可执行的luac.cross文件,它在开发平台上用于编译和语法检测,在ESP8266平台上用于执行。
二、原文
As with flashing there are several ways to upload code from your computer to the device.
Note that the NodeMCU serial interface uses 115200bps at boot time. To change the speed after booting, issue uart.setup(0,9600,8,0,1,1)
. ESPlorer will do this automatically when changing the speed in the dropdown list. If the device panics and resets at any time, errors will be written to the serial interface at 115200 bps.
ESPlorer
The essential multiplatforms tools for any ESP8266 developer from luatool author’s, including Lua for NodeMCU and MicroPython. Also, all AT commands are supported. Requires Java (Standard Edition - SE ver 7 and above) installed.
Source: https://github.com/4refr0nt/ESPlorer
Supported platforms: OS X, Linux, Windows, anything that runs Java
nodemcu-uploader.py
A simple tool for uploading files to the filesystem of an ESP8266 running NodeMCU as well as some other useful commands.
Source: https://github.com/kmpm/nodemcu-uploader
Supported platforms: OS X, Linux, Windows, anything that runs Python
NodeMCU Studio
THIS TOOL IS IN REALLY REALLY REALLY REALLY EARLY STAGE!!!!!!!!!!!!!!!!!!!!!!!!!!!
Source: https://github.com/nodemcu/nodemcu-studio-csharp
Supported platforms: Windows
luatool
Allow easy uploading of any Lua-based script into the ESP8266 flash memory with NodeMcu firmware
Source: https://github.com/4refr0nt/luatool
Supported platforms: OS X, Linux, Windows, anything that runs Python
Compiling Lua on your PC for Uploading
If you install lua on your development PC or Laptop then you can use the standard Lua compiler to syntax check any Lua source before downloading it to the ESP8266 module. However, the nodemcu compiler output uses different data types (e.g. it supports ROMtables) so the compiled output cannot run on the ESP8266.
Compiling source on one platform for use on another (e.g. Intel x38 Window to ESP8266) is known as cross-compilation and the nodemcu firmware supports the compilation of luac.cross
on *nix patforms which have Lua 5.1, the Lua filesystem module (lfs), and the essential GCC tools. Simply change directory to the firmware root directoy and run the command:
lua tools/cross-lua.lua
This will generate a luac.cross
executable in your root directory which can be used to compile and to syntax-check Lua source on the Development machine for execution under nodemcu lua on the ESP8266.
NodeMCU文档中文翻译 5 上传代码相关推荐
- NodeMCU文档中文翻译 4 烧写固件
一.译文 Adafruit 提供了非常好的固件烧写教程 .下面你会发现两个流行的基本工具esptool和NodeMCU Flasher. 注意:记住ESP8266在烧写新固件前需要放入烧写模块. 1. ...
- NodeMCU文档中文翻译 7 DHT温湿度传感器模块
[转载请注明出处:http://blog.csdn.net/leytton/article/details/76178661] 一.序言 DHT11 温湿度模块传感器 资料下载:http://pan. ...
- Pushy入门文档中文翻译
本文为博主原创,允许转载,但请声明原文地址:http://www.coselding.cn/article/2016/12/01/Pushy入门文档中文翻译/ pushy 这是我自己的翻译版本,原文地 ...
- ReactiveX文档中文翻译
ReactiveX/RxJava文档中文版 项目地址:https://github.com/mcxiaoke/RxDocs,欢迎Star和帮忙改进. 有任何意见或建议,到这里提出 Create New ...
- uni-app uni-file-picker文件上传实现拍摄从相册选择获取图片上传文档服务器(H5上传-微信小程序上传)
前言 最近在使用uni-app写H5移动端,有一个从手机拍摄从相册选择获取图片上传到文档服务器功能. 查阅uni-app发现关于上传图片,uni-file-picker文件上传,uni.chooseI ...
- Word文档中文翻译成英文的方法
将Word文档在线翻译,有的时候我们在一些文档中放一些重要的内容,将这些内容放在文档中,然后通过在浏览器上进行搜索进入到在线翻译中,下面就让小编给大家简单介绍一下. 步骤一:首先我们需要在浏览器上进行 ...
- axios 文档中文翻译
axios中文文档(完全中文翻译) 由于使用网上一些翻译文档时发现,内容多被广告隔离成小块.用起来有点不方便同时夹杂部分英文.于是索性把 axios 自己翻译了一遍,贡献给大家便查. 原文档地址-- ...
- Next.js v4.1.4 文档中文翻译
最近想稍稍看下 React的 SSR框架 Next.js,因为不想看二手资料, 所以自己跑到 Github上看,Next.js的文档是英文的,看倒是大概也能看得懂, 但有些地方不太确定,而且英文看着毕 ...
- RFC文档(中文翻译版本)
RFC文档官方在线阅读地址:https://tools.ietf.org/rfc/index 以下是部分中文翻译的文档连接 RFC文档目录 RFC1 主机软件 RFC2 主机软件 RFC3 文档规范 ...
最新文章
- MATLAB从入门到精通系列之MATLAB常见问题集锦-(二)
- 超级封装RecyclerView的适配器Adapter 只需二三十行代码
- Py之Pandas:Python的pandas库简介、安装、使用方法详细攻略
- 生成UUID作为主键
- 安卓耗电监控app_Android系统十大耗电应用拍照APP排第一
- 【Verilog HDL】从逻辑电路图到门级建模——人工翻译的方法论
- 开发iOS百度地图大头针可以重复点击
- c++中static的全部用法
- STL 中的容器们(三)
- js 改变change方法_JS获取和设置元素的属性以及属性值
- 景观专业设计师必备SketchUp插件合集,你都用过吗?
- PLM与ERP的区别
- Scratch打气球游戏 电子学会图形化编程scratch等级考试三级真题答案2019-9
- 南京师范大学计算机学院师资,南京师范大学计算机与电子信息学院导师教师师资介绍简介-陈燚...
- 一个人的赛道——天数智芯在AI计算领域的突围
- qq三国挂机云服务器,云服务器挂机QQ三国游戏的流程和实际操作概况记录
- 基于python的时间序列分析_用Python进行时间序列分析的一些入门操作
- Java工程师需要掌握哪些知识呢?
- 计算机网络被限速,wifi被限速了怎么办,教您电脑怎么限制wifi网速
- 五杆机构正运动学公式、逆运动学公式MATLAB代码