summaryrefslogtreecommitdiff
path: root/fw/meson.build
blob: 8f45d5bf9389e0ce10e056aef882539736b02313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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,
  ],
)