summaryrefslogtreecommitdiff
path: root/fw
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-05-24 11:17:46 +0200
committerxengineering <me@xengineering.eu>2025-05-24 11:17:46 +0200
commitb1838d1c5b6bd27757d50d784543ea0ae16c1769 (patch)
treea40c216f88f13bba25442f7b07ae80696442a519 /fw
parentf38300b15627e5234f0f0a07c31c32135901dee7 (diff)
downloadiot-contact-b1838d1c5b6bd27757d50d784543ea0ae16c1769.tar
iot-contact-b1838d1c5b6bd27757d50d784543ea0ae16c1769.tar.zst
iot-contact-b1838d1c5b6bd27757d50d784543ea0ae16c1769.zip
Remove `st-flash`-based build targets
This was used since flashing was complex. Thus the build system should help making it easier. The new approach is more to provide artifacts by the build system which are easy to flash / remote-update. A `factory-image.bin` and `update-image.bin` should be provided.
Diffstat (limited to 'fw')
-rw-r--r--fw/app/meson.build14
-rw-r--r--fw/btl/meson.build14
-rw-r--r--fw/meson.build11
3 files changed, 0 insertions, 39 deletions
diff --git a/fw/app/meson.build b/fw/app/meson.build
index ddd5aa6..8d84209 100644
--- a/fw/app/meson.build
+++ b/fw/app/meson.build
@@ -43,17 +43,3 @@ application_signed = custom_target(
install: true,
install_dir: '/',
)
-
-flash_application = custom_target(
- build_always_stale: true,
- build_by_default: false,
- command: [
- 'st-flash',
- '--connect-under-reset',
- 'write',
- meson.current_build_dir() / 'application.signed.bin',
- '0x8040000',
- ],
- depends: application_signed,
- output: ['flash'],
-)
diff --git a/fw/btl/meson.build b/fw/btl/meson.build
index 8ca1eb3..c22ba3c 100644
--- a/fw/btl/meson.build
+++ b/fw/btl/meson.build
@@ -26,17 +26,3 @@ bootloader = custom_target('bootloader',
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'],
-)
diff --git a/fw/meson.build b/fw/meson.build
index f61058c..8194827 100644
--- a/fw/meson.build
+++ b/fw/meson.build
@@ -7,14 +7,3 @@ subdir('rtos')
subdir('app')
subdir('btl')
subdir('sim')
-
-erase = custom_target(
- build_always_stale: true,
- build_by_default: false,
- command: [
- 'st-flash',
- '--connect-under-reset',
- 'erase',
- ],
- output: ['erase'],
-)