XF Test Bench 3.3

trace-config.h
1#ifndef TRACE_CONFIG_H
2#define TRACE_CONFIG_H
3
4#include "stm32f7xx_hal.h" // "mcu/mcu.h" not working here!
5
6 extern "C" UART_HandleTypeDef huart1; // Defined in main.c
7
8#define USE_PLATFORM_F7_DISCO_GCC_TRACE 1
9
10#define TRACE_UART_NUMBER 0
11#define TRACE_UART_HANDLE huart1
12#define TRACE_UART_BAUD_RATE /* 115200, but given by STM32CubeMX tool configuration */
13#define TRACE_UART_USE_TX_DMA false
14#define TRACE_UART_CONSTRUCTOR_PARAMETERS TRACE_UART_NUMBER, &TRACE_UART_HANDLE, TRACE_UART_USE_TX_DMA
15
16#define TRACE_ADD_CRLF_SEQU 1
17
18#endif // TRACE_CONFIG_H