From b702b3a403b6d58803ed2ac41d4b294073af3279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Wed, 29 Jun 2016 22:12:24 +0200 Subject: [PATCH] Fix a few typos --- docs/en/upload.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/upload.md b/docs/en/upload.md index d9590674..1fece5a5 100644 --- a/docs/en/upload.md +++ b/docs/en/upload.md @@ -79,19 +79,19 @@ Inspired by [https://github.com/ckuehnel/NodeMCU-applications](https://github.co # Compiling Lua on your PC for Uploading -If you install lua on your development PC or Laptop then you can use the standard Lua +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 +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` +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: +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 Lua on the ESP8266.