diff options
author | xengineering <me@xengineering.eu> | 2025-04-06 18:43:28 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-04-06 18:43:28 +0200 |
commit | 7fc6bc84609022992e1827a07b95c427208e7289 (patch) | |
tree | 882f62c869d4b41f9800ea07e7f44e4f3c81b9a3 /tools/build_zephyr.py | |
parent | 8350421e659e9273a94debdd6f29cd80979a63f1 (diff) | |
download | iot-contact-7fc6bc84609022992e1827a07b95c427208e7289.tar iot-contact-7fc6bc84609022992e1827a07b95c427208e7289.tar.zst iot-contact-7fc6bc84609022992e1827a07b95c427208e7289.zip |
fw: sim: Integrate into Meson build
This adds a build for the native_sim board of the application firmware
to the default Meson build.
The resulting Linux binary is also added to the webpage.
Diffstat (limited to 'tools/build_zephyr.py')
-rwxr-xr-x | tools/build_zephyr.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/build_zephyr.py b/tools/build_zephyr.py index e201bac..1d9e783 100755 --- a/tools/build_zephyr.py +++ b/tools/build_zephyr.py @@ -19,6 +19,7 @@ def main() -> None: ) parser.add_argument("-B", "--build-tree", required=True) + parser.add_argument("-b", "--binary-name", required=True) parser.add_argument("-n", "--target-name", required=True) args = parser.parse_args() @@ -38,7 +39,7 @@ def main() -> None: ) shutil.copy( - build_tree / "zephyr" / "zephyr.bin", + build_tree / "zephyr" / args.binary_name, output_dir / args.target_name ) |