summaryrefslogtreecommitdiff
path: root/fw/meson.build
blob: f61058c748a0ea57b272f9725ced0c78cd4a816d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
board = 'nucleo_f767zi'

fs = import('fs')
signing_key = fs.expanduser('~') / 'mcuboot' / 'key.pem'

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'],
)