1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-02-11 07:03:07 +01:00

add buildname to cibuild, use the firmware name for file names

This commit is contained in:
wellenvogel
2025-09-30 15:27:50 +02:00
parent 034a338a81
commit 5493c9695c
6 changed files with 54 additions and 8 deletions

View File

@@ -14,6 +14,9 @@
#define LOGLEVEL GwLog::DEBUG
#endif
#endif
#ifdef GWBUILD_NAME
#define FIRMWARE_TYPE GWSTRINGIFY(GWBUILD_NAME)
#else
#define FIRMWARE_TYPE GWSTRINGIFY(PIO_ENV_BUILD)
#endif
#define IDF_VERSION GWSTRINGIFY(ESP_IDF_VERSION_MAJOR) "." GWSTRINGIFY(ESP_IDF_VERSION_MINOR) "." GWSTRINGIFY(ESP_IDF_VERSION_PATCH)