Updates for CR6 Screen resume function

This commit is contained in:
InsanityAutomation
2021-08-13 13:32:46 -04:00
parent 6bf069d1ab
commit 57250c8340
8 changed files with 42 additions and 28 deletions
@@ -27,7 +27,7 @@ def add_cpu_freq():
if env.GetBuildType() == "debug" and env.get('UPLOAD_PROTOCOL') not in ['jlink', 'stlink']:
env['BUILD_DIR'] = '$PROJECT_BUILD_DIR/$PIOENV/debug'
env_name = str(env["PIOENV"])
env.Replace(PROGNAME="%s_DW7.4" % (env_name))
env.Replace(PROGNAME="%s_DW7.4.1" % (env_name))
print("Environment: %s" % (env_name))
# On some platform, F_CPU is a runtime variable. Since it's used to convert from ns
@@ -6,5 +6,5 @@ Import("env")
from datetime import datetime
env_name = str(env["PIOENV"])
env['PROGNAME'] = "firmware_%s_DW7.4" % (env_name)
env['PROGNAME'] = "firmware_%s_DW7.4.1" % (env_name)
#env['PROGNAME'] .= datetime.now().strftime("-%Y%m%d-%H%M%S")