tweal the startup message a bit

This commit is contained in:
Gregor 2019-07-12 20:59:59 +02:00
parent e6c2f4cb55
commit ad90e8dd51
2 changed files with 9 additions and 9 deletions

View File

@ -12,7 +12,7 @@
#define NODE_VERSION_STR(x) #x
#define NODE_VERSION_XSTR(x) NODE_VERSION_STR(x)
#define NODE_VERSION "NodeMCU " ESP_SDK_VERSION_STRING "." NODE_VERSION_XSTR(NODE_VERSION_INTERNAL) "\n" NODE_VERSION_LONG
# define NODE_VERSION "NodeMCU " ESP_SDK_VERSION_STRING "." NODE_VERSION_XSTR(NODE_VERSION_INTERNAL) " " NODE_VERSION_LONG
#ifndef BUILD_DATE
#define BUILD_DATE "unspecified"

View File

@ -59,14 +59,14 @@ echo "#define BUILDINFO_MODULES \""$MODULES"\"" >> $TEMPFILE
cat >> $TEMPFILE << EndOfMessage2
#define NODE_VERSION_LONG \\
"$USER_PROLOG_LINE" \\
"\tbranch: '" BUILDINFO_BRANCH "'\n" \\
"\tcommit: '" BUILDINFO_COMMIT_ID "'\n" \\
"\trelease: '" BUILDINFO_RELEASE "'\n" \\
"\trelease DTS: '" BUILDINFO_RELEASE_DTS_STR "'\n" \\
"\tSSL: '" BUILDINFO_SSL_STR "'\n" \\
"\tBuild type: '" BUILDINFO_BUILD_TYPE "'\n" \\
"\tLFS: '" BUILDINFO_LFS "'\n" \\
"\tmodules: '" BUILDINFO_MODULES "'\n"
"\tbranch: " BUILDINFO_BRANCH "\n" \\
"\tcommit: " BUILDINFO_COMMIT_ID "\n" \\
"\trelease: " BUILDINFO_RELEASE "\n" \\
"\trelease DTS: " BUILDINFO_RELEASE_DTS_STR "\n" \\
"\tSSL: " BUILDINFO_SSL_STR "\n" \\
"\tBuild type: " BUILDINFO_BUILD_TYPE "\n" \\
"\tLFS: " BUILDINFO_LFS "\n" \\
"\tmodules: " BUILDINFO_MODULES "\n"
EndOfMessage2