1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 13:52:44 +01:00
RIOT/cpu/kinetis/dist
Gaëtan Harter e40d569204
kinetis: save 'wdog-disable.bin' binary in the repository
Keep the compiled '.bin' file to remove the need to compile it when
flashing. This remove the need to have the toolchain when flashing so
allow compiling and flashing with `BUILD_IN_DOCKER=1` without a local
toolchain.

Even if it ends up storing a binary, the file is only 34 bytes.
2019-05-28 14:37:11 +02:00
..
calc_spi_scalers kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +01:00
generate-cpu-files kinetis: Add script for generating vendor header include lines 2017-11-10 10:42:59 +01:00
check-fcfield.sh cpu/kinetis/check-fcfield: use OBJDUMP 2019-05-28 14:36:37 +02:00
Makefile kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +01:00
README.md kinetis: save 'wdog-disable.bin' binary in the repository 2019-05-28 14:37:11 +02:00
wdog-disable.bin kinetis: save 'wdog-disable.bin' binary in the repository 2019-05-28 14:37:11 +02:00
wdog-disable.s kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +01:00

K60 tools

This directory contains tools for working with K60 CPUs.

Watchdog disable

wdog-disable.bin is a location-independent watchdog disable function with a breakpoint instruction at the end. Useful for disabling the watchdog directly from OpenOCD.

Usage:

openocd -c 'reset halt' \
  -c 'load_image wdog-disable.bin 0x20000000 bin' \
  -c 'resume 0x20000000' # watchdog is disabled and core halted

The file is saved generated in the repository to remove the need to have a compiler when flashing. It is only 34 bytes binary.