mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
added env
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from subprocess import call
|
|
||||||
import os
|
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# see http://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#before-pre-and-after-post-actions
|
# see http://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#before-pre-and-after-post-actions
|
||||||
# env.Replace(PROGNAME="firmware_%s" % defines.get("VERSION"))
|
# env.Replace(PROGNAME="firmware_%s" % defines.get("VERSION"))
|
||||||
env.Replace(PROGNAME="firmware_%s" % env['BOARD'])
|
# print env.Dump()
|
||||||
|
env.Replace(PROGNAME="firmware_%s" % env['BOARD'] + "_" + env['PIOENV'])
|
||||||
|
|||||||
Reference in New Issue
Block a user