Add a FORCE=1 checker for flash (#1386)
This commit is contained in:
parent
f707aa92bb
commit
dbf1d9f332
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user