add version comparison function and check for outdated versions before updates

This commit is contained in:
2025-03-01 12:18:21 +01:00
parent bec2c91331
commit eb2a8dc128
2 changed files with 41 additions and 0 deletions

View File

@ -10,6 +10,8 @@
[common]
version = "1.3.99"
to_old_version = "1.4.0"
##
[env:esp32dev]
platform = espressif32
@ -48,6 +50,7 @@ build_flags =
#-DNDEBUG
-mtext-section-literals
-DVERSION=\"${common.version}\"
-DTOOLDVERSION=\"${common.to_old_version}\"
-DASYNCWEBSERVER_REGEX
#-DCORE_DEBUG_LEVEL=3
-DCONFIG_ARDUHAL_LOG_COLORS=1