[riot-commits] [RIOT-OS/RIOT] 900875: dist/tools/openocd: add OPENOCD_EXTRA_INIT_RESET

MrKevinWeiss noreply at github.com
Mon Sep 2 15:54:26 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 900875c6036ec91c2ecd9f03bf3295fb297d64b6
      https://github.com/RIOT-OS/RIOT/commit/900875c6036ec91c2ecd9f03bf3295fb297d64b6
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2019-09-02 (Mon, 02 Sep 2019)

  Changed paths:
    M dist/tools/openocd/openocd.sh

  Log Message:
  -----------
  dist/tools/openocd: add OPENOCD_EXTRA_INIT_RESET

- Add a variable to add extra openocd commands before resetting
  a board. These will not be called when `debug`, in contrast
  to OPENOCD_CONFIG, OPENOCD_EXTRA_INIT and OPENOCD_ADAPTER_INIT.
- Add connect_assert_srst to reset config if
  OPENOCD_RESET_USE_CONNECT_ASSERT_SRST=1


  Commit: 06c830e8cda61e4f25f2dd2ff692be972726f087
      https://github.com/RIOT-OS/RIOT/commit/06c830e8cda61e4f25f2dd2ff692be972726f087
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2019-09-02 (Mon, 02 Sep 2019)

  Changed paths:
    M boards/nucleo-f091rc/Makefile.include

  Log Message:
  -----------
  boards/nucleo-f091rc: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST

- Nucleo-f091rc can become unflashable when hardfaults occure.
  To make sure flashing succeeds `connect_assert_srst` is called
  before connecting to flash threw openocd.


  Commit: d9b0db0d616ead227214c435242d9912755e0274
      https://github.com/RIOT-OS/RIOT/commit/d9b0db0d616ead227214c435242d9912755e0274
  Author: Kevin "Tristate Tom" Weiss <weiss.kevin604 at gmail.com>
  Date:   2019-09-02 (Mon, 02 Sep 2019)

  Changed paths:
    M boards/nucleo-f091rc/Makefile.include
    M dist/tools/openocd/openocd.sh

  Log Message:
  -----------
  Merge pull request #11976 from fjmolinas/pr_stm32f0x_extra_flash

dist/tools/openocd: add OPENOCD_EXTRA_INIT_RESET use for nucleo-f091rc


Compare: https://github.com/RIOT-OS/RIOT/compare/f74381c77b58...d9b0db0d616e


More information about the commits mailing list