/******************************************************************************/ /* STM32_SWO.ini: STM32 Debugger Initialization File */ /******************************************************************************/ // <<< Use Configuration Wizard in Context Menu >>> // /******************************************************************************/ /* This file is part of the uVision/ARM development tools. */ /* Copyright (c) 2004-2013 Keil Software. All rights reserved. */ /* This software may only be used under the terms of a valid, current, */ /* end user licence from KEIL for a compatible version of KEIL software */ /* development tools. Nothing else gives you the right to use this software. */ /******************************************************************************/ FUNC void DebugSetup (void) { // Debug MCU Configuration // DBG_SLEEP Debug Sleep Mode // DBG_STOP Debug Stop Mode // DBG_STANDBY Debug Standby Mode // TRACE_IOEN Trace I/O Enable // TRACE_MODE Trace Mode // <0=> Asynchronous // <1=> Synchronous: TRACEDATA Size 1 // <2=> Synchronous: TRACEDATA Size 2 // <3=> Synchronous: TRACEDATA Size 4 // DBG_IWDG_STOP Independant Watchdog Stopped when Core is halted // DBG_WWDG_STOP Window Watchdog Stopped when Core is halted // DBG_TIM1_STOP Timer 1 Stopped when Core is halted // DBG_TIM2_STOP Timer 2 Stopped when Core is halted // DBG_TIM3_STOP Timer 3 Stopped when Core is halted // DBG_TIM4_STOP Timer 4 Stopped when Core is halted // DBG_CAN_STOP CAN Stopped when Core is halted // _WDWORD(0xE0042004, 0x00000027); // DBGMCU_CR } DebugSetup(); // Debugger Setup