Fix missing directory
This commit is contained in:
@@ -591,6 +591,7 @@ class OpenSKInstaller:
|
|||||||
|
|
||||||
if self.args.programmer in ("pyocd", "nordicdfu", "none"):
|
if self.args.programmer in ("pyocd", "nordicdfu", "none"):
|
||||||
dest_file = "target/{}_merged.hex".format(self.args.board)
|
dest_file = "target/{}_merged.hex".format(self.args.board)
|
||||||
|
os.makedirs("target", exist_ok=True)
|
||||||
self.create_hex_file(dest_file)
|
self.create_hex_file(dest_file)
|
||||||
|
|
||||||
if self.args.programmer == "pyocd":
|
if self.args.programmer == "pyocd":
|
||||||
|
|||||||
Reference in New Issue
Block a user