Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
b702b3a4
Commit
b702b3a4
authored
Jun 29, 2016
by
Marcel Stör
Browse files
Fix a few typos
parent
b31b2f8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/en/upload.md
View file @
b702b3a4
...
@@ -79,19 +79,19 @@ Inspired by [https://github.com/ckuehnel/NodeMCU-applications](https://github.co
...
@@ -79,19 +79,19 @@ Inspired by [https://github.com/ckuehnel/NodeMCU-applications](https://github.co
# Compiling Lua on your PC for Uploading
# 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,
compiler to syntax check any Lua source before downloading it to the ESP8266 module. However,
the
n
ode
mcu
compiler output uses different data types (e.g. it supports ROMtables) so the
the
N
ode
MCU
compiler output uses different data types (e.g. it supports ROMtables) so the
compiled output cannot run on the ESP8266.
compiled output cannot run on the ESP8266.
Compiling source on one platform for use on another (e.g. Intel x38 Window to ESP8266) is
Compiling source on one platform for use on another (e.g. Intel x38 Window to ESP8266) is
known as _cross-compilation_ and the
n
ode
mcu
firmware supports the compilation of
`luac.cross`
known as _cross-compilation_ and the
N
ode
MCU
firmware supports the compilation of
`luac.cross`
on
\*
nix patforms which have Lua 5.1, the Lua filesystem module (lfs), and the essential
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
lua tools/cross-lua.lua
This will generate a
`luac.cross`
executable in your root directory which can be used to
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
compile and to syntax-check Lua source on the Development machine for execution under
n
ode
mcu l
ua on the ESP8266.
N
ode
MCU L
ua on the ESP8266.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment