diff options
author | xengineering <me@xengineering.eu> | 2025-07-27 22:57:21 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-07-27 22:57:21 +0200 |
commit | ce098756d79d8e4240bedc2bd74ff9a3a77fcedb (patch) | |
tree | fe47b09086290159635809e935fb1755b890b74b | |
parent | 32ae5e2e0c2869f0ac778bb95a33a2219401c68c (diff) | |
download | iot-contact-ce098756d79d8e4240bedc2bd74ff9a3a77fcedb.tar iot-contact-ce098756d79d8e4240bedc2bd74ff9a3a77fcedb.tar.zst iot-contact-ce098756d79d8e4240bedc2bd74ff9a3a77fcedb.zip |
The bootloader and application firmware resulting in the factory- and
update-image are removed from the build.
The reason is a planned first release of this project with hardware
design files for a first `iot-contact` board. The release is required to
build this board with matching version specifiers.
Since the release should contain a consistent set of hardware and
firmware the firmware targeting the development board is removed.
Handling firmware for multiple boards is also an option but has no use
since the biggest part of the firmware features can be developed using
the simulation only which should stay in long term.
-rw-r--r-- | fw/app/meson.build | 59 | ||||
-rw-r--r-- | fw/meson.build | 20 | ||||
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | web/index.html | 2 |
4 files changed, 0 insertions, 83 deletions
diff --git a/fw/app/meson.build b/fw/app/meson.build index 6665fe4..63c3c01 100644 --- a/fw/app/meson.build +++ b/fw/app/meson.build @@ -1,60 +1 @@ -external_project = import('unstable-external_project') - application_source = meson.current_source_dir() - -external_project.add_project( - configure_zephyr, - configure_options: [ - '--source-tree', application_source, - '--build-tree', meson.current_build_dir() / 'build', - '--board', board, - '--zephyr-base', zephyr, - '--zephyr-modules', ';'.join(zephyr_modules), - ], - verbose: true, -) - -application = custom_target( - output: ['application.bin'], - command: [ - build_zephyr, - '--build-tree', meson.current_build_dir() / 'build', - '--binary-name', 'zephyr.bin', - '--target-name', 'application.bin', - ], -) - -version = '0.0.0' -header_size = '0x200' -slot_size = '0xc0000' - -update_image = custom_target( - output: ['update-image.bin'], - command: [ - imgtool, - 'sign', - '--version', version, - '--header-size', header_size, - '--slot-size', slot_size, - '--key', signing_key, - application, - '@OUTPUT@', - ], - depends: application, -) - -application_signed_confirmed = custom_target( - output: ['application.signed.confirmed.bin'], - command: [ - imgtool, - 'sign', - '--version', version, - '--header-size', header_size, - '--slot-size', slot_size, - '--key', signing_key, - '--confirm', - application, - '@OUTPUT@', - ], - depends: application, -) diff --git a/fw/meson.build b/fw/meson.build index 8f45d5b..bc70142 100644 --- a/fw/meson.build +++ b/fw/meson.build @@ -1,23 +1,3 @@ -board = 'nucleo_f767zi' - -fs = import('fs') -signing_key = fs.expanduser('~') / 'mcuboot' / 'key.pem' - subdir('rtos') subdir('app') -subdir('btl') subdir('sim') - -factory_image = custom_target( - output: ['factory-image.bin'], - command: [ - make_factory_image, - '--bootloader', bootloader, - '--application', application_signed_confirmed, - '--factory-image', '@OUTPUT@', - ], - depends: [ - bootloader, - application_signed_confirmed, - ], -) diff --git a/meson.build b/meson.build index 7549940..15b4883 100644 --- a/meson.build +++ b/meson.build @@ -22,8 +22,6 @@ artifacts = [ schematic, bom, simulation, - update_image, - factory_image, kicad_pcb, ] diff --git a/web/index.html b/web/index.html index d353cb7..e6c41e2 100644 --- a/web/index.html +++ b/web/index.html @@ -19,8 +19,6 @@ <h4>Firmware</h4> <ul> - <li><a href="fw/factory-image.bin">factory-image.bin</a></li> - <li><a href="fw/app/update-image.bin">update-image.bin</a></li> <li><a href="fw/sim/simulation-linux-amd64.exe">simulation-linux-amd64.exe</a></li> </ul> </main> |