From ad90e8dd5101ebff8ee5213691ef85d6177865d0 Mon Sep 17 00:00:00 2001 From: Gregor Date: Fri, 12 Jul 2019 20:59:59 +0200 Subject: [PATCH] tweal the startup message a bit --- app/include/user_version.h | 2 +- tools/update_buildinfo.sh | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/include/user_version.h b/app/include/user_version.h index 51221395..20048c67 100644 --- a/app/include/user_version.h +++ b/app/include/user_version.h @@ -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" diff --git a/tools/update_buildinfo.sh b/tools/update_buildinfo.sh index ba846d4b..dad660a1 100644 --- a/tools/update_buildinfo.sh +++ b/tools/update_buildinfo.sh @@ -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