### Meson cross-compilation config Contains build settings for STM32 chips. Architectures to be added as needed. Requires: * arm-none-eabi-gcc * arm-none-eabi-gdb * picolibc * openocd * ddd #### Usage Set up a new build directory: ```sh git submodule add \ https://dev.begriffs.com/git/meson-cross cross meson setup \ --cross-file cross/armv7m/cortex-m4/st/nucleo-f411re/cross.ini \ --cross-file cross/armv7m/gcc.ini \ build ``` The architecture also provides two helper commands, `flash_cmd` and `debug_cmd` so that your main meson.build file can be shorter: ```meson subdir('cross/armv7m') run_target('flash', command: [flash_cmd, /* image */]) run_target('debug', command: [debug_cmd, /* image */]) ```