Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
13f22e1f
Commit
13f22e1f
authored
Jul 13, 2019
by
Gregor
Browse files
Also adapt documentation for building
parent
1c94629e
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/build.md
View file @
13f22e1f
...
...
@@ -93,12 +93,14 @@ make EXTRA_CCFLAGS="-DLUA_NUMBER_INTEGRAL ....
```
### Tag Your Build
Identify your firmware builds by editing
`app/include/user_version.h`
Identify your firmware builds by setting the environment variable
`USER_PROLOG`
.
You may also edit
`app/include/user_version.h`
. The variable
`USER_PROLOG`
will be included in
`NODE_VERSION_LONG`
.
```
c
#define NODE_VERSION "NodeMCU " ESP_SDK_VERSION_STRING "." NODE_VERSION_XSTR(NODE_VERSION_INTERNAL)
#define NODE_VERSION "NodeMCU " ESP_SDK_VERSION_STRING "." NODE_VERSION_XSTR(NODE_VERSION_INTERNAL) " " NODE_VERSION_LONG
#ifndef BUILD_DATE
#define BUILD_DATE "
YYYYMMDD
"
#define BUILD_DATE "
unspecified
"
#endif
```
...
...
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