mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
e40d569204
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.
573 B
573 B
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.