summaryrefslogtreecommitdiff
path: root/fw/btl
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-05-24 11:31:11 +0200
committerxengineering <me@xengineering.eu>2025-05-24 11:31:11 +0200
commita82bdbbec681cec0c6f5304318b6010f1752dbf6 (patch)
tree539d4610508c1bb3069c5f11ee63977e534b2a68 /fw/btl
parentf38300b15627e5234f0f0a07c31c32135901dee7 (diff)
parentbf8d20fe4d8d3369dd7f63e95f53613dbbfa3603 (diff)
downloadiot-contact-a82bdbbec681cec0c6f5304318b6010f1752dbf6.tar
iot-contact-a82bdbbec681cec0c6f5304318b6010f1752dbf6.tar.zst
iot-contact-a82bdbbec681cec0c6f5304318b6010f1752dbf6.zip
Merge build system improvements
- remove flash targets (replaced by easy to flash `factory-image.bin`) - replaced installation step by copy targets - provide `factory-image.bin` and `update-image.bin`
Diffstat (limited to 'fw/btl')
-rw-r--r--fw/btl/meson.build19
1 files changed, 1 insertions, 18 deletions
diff --git a/fw/btl/meson.build b/fw/btl/meson.build
index 8ca1eb3..204fe20 100644
--- a/fw/btl/meson.build
+++ b/fw/btl/meson.build
@@ -14,7 +14,7 @@ external_project.add_project(
verbose: true,
)
-bootloader = custom_target('bootloader',
+bootloader = custom_target(
output: ['bootloader.bin'],
command: [
build_zephyr,
@@ -22,21 +22,4 @@ bootloader = custom_target('bootloader',
'--binary-name', 'zephyr.bin',
'--target-name', 'bootloader.bin',
],
- build_by_default: true,
- install: true,
- install_dir: '/',
-)
-
-flash_bootloader = custom_target(
- build_always_stale: true,
- build_by_default: false,
- command: [
- 'st-flash',
- '--connect-under-reset',
- 'write',
- meson.current_build_dir() / 'bootloader.bin',
- '0x8000000',
- ],
- depends: bootloader,
- output: ['flash'],
)