summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-03-07 17:59:06 +0100
committerGitHub <noreply@github.com>2022-03-07 08:59:06 -0800
commit2bface8f893f3f13ddb9a3e10c0f362819d09c5c (patch)
treec1f4eff97cc9c9665532cb1738b03cf9e5337347 /util
parent05b71936511402d91e345e615d074cf310cb4ece (diff)
Add flash target for UF2 bootloaders (#16525)
Diffstat (limited to 'util')
-rwxr-xr-xutil/uf2conv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/uf2conv.py b/util/uf2conv.py
index efc7263f83..fb82fd03ca 100755
--- a/util/uf2conv.py
+++ b/util/uf2conv.py
@@ -267,7 +267,7 @@ def load_families():
def main():
global appstartaddr, familyid
def error(msg):
- print(msg)
+ print(msg, file=sys.stderr)
sys.exit(1)
parser = argparse.ArgumentParser(description='Convert to UF2 or flash directly.')
parser.add_argument('input', metavar='INPUT', type=str, nargs='?',