zephyr/boards/arm
Marti Bolivar e33ec242fd scripts: refactor flash/debug scripts to remove "shell"
The Python-based runners have replaced the old shell scripts. Refactor
the build system accordingly:

- FLASH_SCRIPT is now BOARD_FLASH_RUNNER
- DEBUG_SCRIPT is now BOARD_DEBUG_RUNNER

The values, rather than being the names of files, are now the names of
runners in scripts/support/runner. They are still short, descriptive
names like "openocd", "jlink", "em-starterkit", etc.

Adjust the zephyr_flash_debug.py call and runner internals
accordingly. Have each runner class report a name and the commands it
can handle. This lets us move some boilerplate from each do_run()
method into the common run() routine, and enables further improvements
in future patches.

The handles_command() method is temporary, and will be replaced by a
more general mechanism for describing runner capabilities in a
subsequent patch. The initial use case for extending this is to add
device tree awareness to the runners.

To try to avoid user confusion, abort the configuration if an
xxx_SCRIPT is defined.

Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com>
2017-12-15 09:57:30 -05:00
..
96b_carbon scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
96b_carbon_nrf51
96b_neonkey doc: fix misspellings in boards and samples docs 2017-11-15 12:59:22 -05:00
96b_nitrogen scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
arduino_101_ble scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
arduino_due scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
bbc_microbit scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
cc2650_sensortag
cc3220sf_launchxl boards: arm: cc3220sf_launchxl: doc: clarify external flash size 2017-12-05 11:31:55 -06:00
curie_ble
disco_l475_iot1 board: disco_l475_iot1: Use dts for sensor definition 2017-12-14 11:30:44 -06:00
efm32wg_stk3800 doc: fix broken notes directives 2017-12-04 15:00:17 -05:00
frdm_k64f scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
frdm_kl25z scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
frdm_kw41z scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
hexiwear_k64 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
hexiwear_kw40z scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
mimxrt1050_evk scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
mps2_an385
msp_exp432p401r_launchxl doc: fix misspellings in boards and samples docs 2017-11-15 12:59:22 -05:00
nrf51_blenano
nrf51_pca10028 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
nrf51_vbluno51 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
nrf52_blenano2 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
nrf52_pca10040 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
nrf52_vbluno52 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
nrf52840_pca10056 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
nucleo_f030r8
nucleo_f091rc boards: nucleo_f091rc: add i2c to documentation 2017-12-12 12:36:08 -06:00
nucleo_f103rb
nucleo_f334r8
nucleo_f401re
nucleo_f411re
nucleo_f412zg
nucleo_f413zh
nucleo_f429zi boards: add support for nucleo_f429zi 2017-12-12 12:36:08 -06:00
nucleo_l432kc boards: stm32: fix default HSI clock configuration 2017-12-14 08:52:20 -06:00
nucleo_l476rg boards: stm32: fix default HSI clock configuration 2017-12-14 08:52:20 -06:00
olimex_stm32_e407 boards: olimex stm32-e407, stm32f407g_disc1: Enable USB OTG Support 2017-12-12 12:36:08 -06:00
olimex_stm32_p405
olimexino_stm32 boards: olimexino_stm32: Use standard openocd.board.cmake 2017-11-15 10:46:37 -06:00
qemu_cortex_m3 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
quark_se_c1000_ble
sam_e70_xplained drivers: Add Atmel SAM I2S (SSC) driver 2017-11-30 10:30:33 -05:00
sam4s_xplained
stm32_min_dev
stm32_mini_a15
stm32f3_disco boards: stm32f3_disco: Use pins PA9/PA10 for I2C_2 2017-12-12 12:36:08 -06:00
stm32f4_disco boards: olimex stm32-e407, stm32f407g_disc1: Enable USB OTG Support 2017-12-12 12:36:08 -06:00
stm32f411e_disco
stm32f412g_disco
stm32f429i_disc1
stm32f469i_disco
stm32l476g_disco boards: stm32: fix default HSI clock configuration 2017-12-14 08:52:20 -06:00
stm32l496g_disco boards: stm32: fix default HSI clock configuration 2017-12-14 08:52:20 -06:00
stm3210c_eval
stm32373c_eval
usb_kw24d512 scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
v2m_beetle scripts: refactor flash/debug scripts to remove "shell" 2017-12-15 09:57:30 -05:00
index.rst