1 /***************************************************************************//**
\r
3 * @brief Provide SWO/ETM TRACE configuration parameters.
\r
5 *******************************************************************************
\r
7 * <b>(C) Copyright 2014 Silicon Labs, http://www.silabs.com</b>
\r
8 *******************************************************************************
\r
10 * This file is licensed under the Silabs License Agreement. See the file
\r
11 * "Silabs_License_Agreement.txt" for details. Before using this software for
\r
12 * any purpose, you must agree to the terms of that agreement.
\r
14 ******************************************************************************/
\r
16 #ifndef __SILICON_LABS_TRACECONFIG_H__
\r
17 #define __SILICON_LABS_TRACECONFIG_H__
\r
19 #define BSP_TRACE_SWO_LOCATION GPIO_ROUTELOC0_SWVLOC_LOC0
\r
21 /* Enable output on pin - GPIO Port F, Pin 2. */
\r
22 #define TRACE_ENABLE_PINS() \
\r
23 GPIO->P[5].MODEL &= ~(_GPIO_P_MODEL_MODE2_MASK); \
\r
24 GPIO->P[5].MODEL |= GPIO_P_MODEL_MODE2_PUSHPULL
\r
26 /* No ETM trace support on this WSTK. */
\r