basic support for firmware metadata (upstream 0.15 backport)

This commit is contained in:
Frank
2026-03-10 17:42:18 +01:00
parent 427dc96239
commit a906432feb
7 changed files with 73 additions and 10 deletions

View File

@@ -230,6 +230,7 @@ using PSRAMDynamicJsonDocument = BasicJsonDocument<PSRAM_Allocator>;
#include "pin_manager.h"
#include "bus_manager.h"
#include "FX.h"
#include "wled_metadata.h"
#ifndef CLIENT_SSID
#define CLIENT_SSID DEFAULT_CLIENT_SSID
@@ -314,9 +315,9 @@ using PSRAMDynamicJsonDocument = BasicJsonDocument<PSRAM_Allocator>;
#endif
// Global Variable definitions
WLED_GLOBAL char versionString[] _INIT(TOSTRING(WLED_VERSION));
WLED_GLOBAL char releaseString[] _INIT_PROGMEM(TOSTRING(WLED_RELEASE_NAME)); //WLEDMM: to show on update page // somehow this will not work if using "const char releaseString[]
WLED_GLOBAL char repoString[] _INIT(WLED_REPO);
//WLED_GLOBAL char versionString[] _INIT(TOSTRING(WLED_VERSION));
//WLED_GLOBAL char releaseString[] _INIT_PROGMEM(TOSTRING(WLED_RELEASE_NAME)); //WLEDMM: to show on update page // somehow this will not work if using "const char releaseString[]
extern const __FlashStringHelper* repoString; // Github repository (if available)
#define WLED_CODENAME "Hoshi"
// AP and OTA default passwords (for maximum security change them!)