diff options
author | Astra <93453568+Astrrra@users.noreply.github.com> | 2022-07-12 22:38:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 22:38:40 +0300 |
commit | dbf1d9f33275c06c1d9dbe067fc42e79b681b087 (patch) | |
tree | aa7d7ef06e6a0c23c3d0cf3a0d562070775d9972 | |
parent | f707aa92bb6cfe59e0e8e79d84f6ce44f8f2b938 (diff) |
Add a FORCE=1 checker for flash (#1386)
-rw-r--r-- | SConstruct | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -145,6 +145,8 @@ distenv.Alias("copro_dist", copro_dist) firmware_flash = distenv.AddOpenOCDFlashTarget(firmware_env) distenv.Alias("flash", firmware_flash) +if distenv["FORCE"]: + distenv.AlwaysBuild(firmware_flash) firmware_bm_flash = distenv.PhonyTarget( "flash_blackmagic", |