1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/kinetis/dist
Koen Zandberg c2a7d23277
kinetis/spi_scalar: Add local ARRAY_SIZE define
The spi scalar calculation tool for the kinetis family is stand-alone
and doesn't use the RIOT headers. It doesn't include the ARRAY_SIZE
macro from the RIOT headers. This commit adds a local definition of the
ARRAY_SIZE macro
2020-06-21 17:09:32 +02:00
..
calc_spi_scalers kinetis/spi_scalar: Add local ARRAY_SIZE define 2020-06-21 17:09:32 +02:00
generate-cpu-files
check-fcfield.sh
Makefile
README.md
wdog-disable.bin
wdog-disable.s

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.