Files
Winden-Telemetry/extra_script.py
T
FCS 0d2ff764ea
build_release.yaml / Build (push) Successful in 6m19s
build_release.yaml / Release (push) Successful in 19s
Dokumentation um Webinterface, Einstellungen und OTA-Update erweitert
2026-08-28 18:07:57 +02:00

14 lines
398 B
Python

import os
Import("env")
# Access to global construction environment
build_tag = env['PIOENV']
version_tag = os.getenv("FIRMWARE_VERSION")
env.Replace(PROGNAME="firmware_%s_%s" % (build_tag, version_tag))
# include toolchain paths
env.Replace(COMPILATIONDB_INCLUDE_TOOLCHAIN=True)
# override compilation DB path
env.Replace(COMPILATIONDB_PATH=os.path.join("$BUILD_DIR", "compile_commands.json"))