1 ### Meson cross-compilation config
3 Contains build settings for STM32 chips. Architectures to be added
15 Set up a new build directory:
19 https://dev.begriffs.com/git/meson-cross cross
22 --cross-file cross/armv7m/cortex-m4/st/nucleo-f411re/cross.ini \
23 --cross-file cross/armv7m/gcc.ini \
27 The architecture also provides two helper commands, `flash_cmd` and
28 `debug_cmd` so that your main meson.build file can be shorter:
31 subdir('cross/armv7m')
33 run_target('flash', command: [flash_cmd, /* image */])
34 run_target('debug', command: [debug_cmd, /* image */])