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
fd3f0dda
Commit
fd3f0dda
authored
Feb 09, 2020
by
sergio
Committed by
Marcel Stör
Jun 09, 2020
Browse files
Add flag to disable start-up banner (#3026)
parent
115d0f88
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/include/user_config.h
View file @
fd3f0dda
...
...
@@ -22,6 +22,26 @@
//#define BIT_RATE_AUTOBAUD
// At start-up firmware details like:
//
// NodeMCU 3.0.1.0
// branch:
// commit:
// release:
// release DTS:
// SSL: false
// build type: integer
// LFS: 0x0
// modules: file,gpio,net,node,rtctime,sntp,tmr,uart,wifi
// build 2020-01-27 17:39 powered by Lua 5.1.4 on SDK 3.0.2(824dc80)
//
// will be printed to serial console. While it's mandatory for bug reports
// and good for development, it may be unwanted for non-interactive serial
// devices.
//#define DISABLE_STARTUP_BANNER
// Three separate build variants are now supported. The main difference is in the
// processing of numeric data types. If LUA_NUMBER_INTEGRAL is defined, then
// all numeric calculations are done in integer, with divide being an integer
...
...
app/lua/lua.c
View file @
fd3f0dda
...
...
@@ -245,7 +245,9 @@ static int pmain (lua_State *L) {
input_setup
(
LUA_MAXINPUT
,
get_prompt
(
L
,
1
));
lua_input_string
(
"
\n
"
,
2
);
/* queue CR to issue first prompt */
#if !defined(DISABLE_STARTUP_BANNER)
print_version
(
L
);
#endif
/* and last of all, kick off application initialisation */
if
(
init
[
0
]
==
'@'
)
...
...
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