[riot-commits] [RIOT-OS/RIOT] 7713be: openocd: Refactor openocd.sh script

Francisco Acosta fco.ja.ac at gmail.com
Wed Oct 18 17:22:41 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 7713bede996a1fb45894ab9e852e38c4fa1809f3
      https://github.com/RIOT-OS/RIOT/commit/7713bede996a1fb45894ab9e852e38c4fa1809f3
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-10-18 (Wed, 18 Oct 2017)

  Changed paths:
    M boards/frdm-common/Makefile.include
    M boards/pba-d-01-kw2x/Makefile.include
    M dist/tools/openocd/openocd.sh
    M makefiles/toolchain/gnu.inc.mk
    M makefiles/toolchain/llvm.inc.mk

  Log Message:
  -----------
  openocd: Refactor openocd.sh script

- Merge flash and flash-elf commands since they were identical except
  for the file name of the image
- Split GDB command from DBG environment variable to allow more easily
  configure front-ends for GDB via environment variables.
- Remove verbose tests of empty variables and replace by `: ${VAR:=default}`
- Remove passed command line arguments to sub-functions, they were
  unused in the functions anyway.
- Remove TUI variable, use `export DBG_EXTRA_FLAGS=-tui` to get the same
  result.


  Commit: 0ad0a39a40e63ab3293114c08ba477d0a66dc398
      https://github.com/RIOT-OS/RIOT/commit/0ad0a39a40e63ab3293114c08ba477d0a66dc398
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-10-18 (Wed, 18 Oct 2017)

  Changed paths:
    M makefiles/toolchain/gnu.inc.mk
    M makefiles/toolchain/llvm.inc.mk
    A makefiles/tools/gdb.inc.mk

  Log Message:
  -----------
  makefiles: Split GDB settings from toolchain


  Commit: dd95f593a05d75a01ba181e3e037ccb45885b944
      https://github.com/RIOT-OS/RIOT/commit/dd95f593a05d75a01ba181e3e037ccb45885b944
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-10-18 (Wed, 18 Oct 2017)

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

  Log Message:
  -----------
  openocd: Run verify after write without intermediate reset

Fixes problems with the watchdog interfering on Kinetis K devices
when USE_OLD_OPENOCD=0.


  Commit: 887ddcec69eb0ed5d8989d423600e35bf16411df
      https://github.com/RIOT-OS/RIOT/commit/887ddcec69eb0ed5d8989d423600e35bf16411df
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2017-10-18 (Wed, 18 Oct 2017)

  Changed paths:
    M boards/mulle/Makefile.include

  Log Message:
  -----------
  mulle: Update flash verify script to use ELF version


  Commit: d1f128e245ef282ef06760b9b22d12366152b081
      https://github.com/RIOT-OS/RIOT/commit/d1f128e245ef282ef06760b9b22d12366152b081
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2017-10-18 (Wed, 18 Oct 2017)

  Changed paths:
    M boards/frdm-common/Makefile.include
    M boards/mulle/Makefile.include
    M boards/pba-d-01-kw2x/Makefile.include
    M dist/tools/openocd/openocd.sh
    M makefiles/toolchain/gnu.inc.mk
    M makefiles/toolchain/llvm.inc.mk
    A makefiles/tools/gdb.inc.mk

  Log Message:
  -----------
  Merge pull request #7685 from gebart/pr/openocd-refactor

openocd: Refactor openocd.sh script


Compare: https://github.com/RIOT-OS/RIOT/compare/213f0447a65f...d1f128e245ef


More information about the commits mailing list