1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/kinetis/dist
Marian Buschsieweke d1167d9d77
cpu/kinetis/dist-check-fcfield.sh: minor fixes
- `printf "%d" ""` triggers an "invalid number" warning on ash, so
  let's use `0` as portable default for zero
- add quotes where needed to make shellcheck happy
2024-05-01 14:05:36 +02:00
..
calc_spi_scalers treewide: Remove excessive newlines 2021-08-13 19:50:38 +02: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/dist-check-fcfield.sh: minor fixes 2024-05-01 14:05:36 +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.