mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 21:01:40 +03:00
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)
|
firmware_flash = distenv.AddOpenOCDFlashTarget(firmware_env)
|
||||||
distenv.Alias("flash", firmware_flash)
|
distenv.Alias("flash", firmware_flash)
|
||||||
|
if distenv["FORCE"]:
|
||||||
|
distenv.AlwaysBuild(firmware_flash)
|
||||||
|
|
||||||
firmware_bm_flash = distenv.PhonyTarget(
|
firmware_bm_flash = distenv.PhonyTarget(
|
||||||
"flash_blackmagic",
|
"flash_blackmagic",
|
||||||
|
Loading…
Reference in New Issue
Block a user