zephyr/cmake
Marti Bolivar 461511e1fc cmake: fix 'ninja flash' et al with multiple boards plugged in
Fixes: 5958

Ninja by default will suppress command output and input. This is a
problem for the 'flash', 'debug', etc. targets, which may need to
interact with the user (and which display interactive output like
progress bars).

To fix this, add the USES_TERMINAL option to their target
definitions. This puts them in the console pool on Ninja, allowing the
commands to interact with the console.

References:

https://ninja-build.org/manual.html#_the_literal_console_literal_pool
https://cmake.org/cmake/help/v3.8/command/add_custom_target.html

Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com>
2018-02-02 19:04:00 +01:00
..
app cmake: Re-introduce support for CROSS_COMPILE 2018-01-12 08:37:41 -05:00
emu cmake: Use path-corrected version of ZEPHYR_BASE 2018-01-11 14:59:03 -05:00
flash cmake: fix 'ninja flash' et al with multiple boards plugged in 2018-02-02 19:04:00 +01:00
reports scripts: fix ram_reports and generate bin file if missing 2018-01-29 05:16:52 +05:30
usage cmake: Fix "make usage" regression from the ZEPHYR_BASE change 2018-01-18 10:44:19 -05:00
ccache.cmake
extensions.cmake cmake: Fix missing braces around interface 2018-01-23 17:42:05 +05:30
extra_flags.cmake cmake: Fix EXTRA_LDFLAGS feature 2017-12-05 08:39:43 -05:00
fpu-for-gcc-m-cpu.cmake
gcc-m-cpu.cmake
hex.cmake
host-tools-zephyr.cmake cmake: sdk: Improve error message when INSTALL_DIR is wrong 2018-01-11 06:39:12 -05:00
host-tools.cmake cmake: do not error on missing 'config' 2018-01-16 17:03:48 -05:00
kconfig.cmake kconfig: Revert back to old behaviour pre-kconfiglib.py 2018-01-17 07:39:28 -05:00
pristine.cmake
toolchain-cross-compile.cmake cmake: Re-introduce support for CROSS_COMPILE 2018-01-12 08:37:41 -05:00
toolchain-espressif.cmake
toolchain-gcc.cmake cmake: Improve error messages for detecting libgcc 2018-01-12 08:37:41 -05:00
toolchain-gccarmemb.cmake
toolchain-host-gcc.cmake cmake: toolchain: Misc. comment cleanups 2018-01-12 08:37:41 -05:00
toolchain-issm.cmake
toolchain-xtools.cmake
toolchain-zephyr.cmake arch: arc: use default optimization flag 2018-01-25 07:56:58 +05:30
toolchain.cmake cmake: give an assert a useful message 2018-01-29 14:32:01 +01:00
version.cmake cmake: Use path-corrected version of ZEPHYR_BASE 2018-01-11 14:59:03 -05:00