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
3aef438a
Commit
3aef438a
authored
May 08, 2017
by
Frank Exoo
Committed by
Marcel Stör
May 08, 2017
Browse files
Documenting creating integer build (#1961)
parent
faefc095
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/en/build.md
View file @
3aef438a
...
@@ -55,6 +55,22 @@ editing `BIT_RATE_DEFAULT` in `app/include/user_config.h`:
...
@@ -55,6 +55,22 @@ editing `BIT_RATE_DEFAULT` in `app/include/user_config.h`:
Note that, by default, the firmware runs an auto-baudrate detection algorithm so that typing a few characters at boot time will cause
Note that, by default, the firmware runs an auto-baudrate detection algorithm so that typing a few characters at boot time will cause
the firmware to lock onto that baud rate (between 1200 and 230400).
the firmware to lock onto that baud rate (between 1200 and 230400).
### Integer build
By default a build will be generated supporting floating-point variables.
To reduce memory size an integer build can be created. You can change this
either by uncommenting
`LUA_NUMBER_INTEGRAL`
in
`app/include/user_config.h`
:
```
c
#define LUA_NUMBER_INTEGRAL
```
OR by overriding this with the
`make`
command as it's
[
done during the CI
build
](
https://github.com/nodemcu/nodemcu-firmware/blob/master/.travis.yml#L30
)
:
```
make EXTRA_CCFLAGS="-DLUA_NUMBER_INTEGRAL ....
```
### Tag Your Build
### Tag Your Build
Identify your firmware builds by editing
`app/include/user_version.h`
Identify your firmware builds by editing
`app/include/user_version.h`
...
...
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