/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Settings to enable JTAG debugging */ #include "jtag.h" #include "registers.h" void jtag_pre_init(void) { /* stop TIM1-4 and watchdogs when the JTAG stops the CPU */ STM32_DBGMCU_CR |= 0x00003f00; }