]> git.sur5r.net Git - freertos/blob - FreeRTOS-Labs/Source/FreeRTOS-Plus-Trace/streamports/USB_CDC/Readme-Streamport.txt
Add the Labs projects provided in the V10.2.1_191129 zip file.
[freertos] / FreeRTOS-Labs / Source / FreeRTOS-Plus-Trace / streamports / USB_CDC / Readme-Streamport.txt
1 Tracealyzer Stream Port for USB CDC (STM32 example)\r
2 ---------------------------------------------------\r
3 \r
4 This directory contains a "stream port" for the Tracealyzer recorder library,\r
5 i.e., the specific code needed to use a particular interface for streaming a\r
6 Tracealyzer RTOS trace. The stream port is defined by a set of macros in\r
7 trcStreamingPort.h, found in the "include" directory.\r
8 \r
9 This particular stream port targets USB CDC. This is an example for the STM32 USB\r
10 stack (from the STM32CubeMX code generation tool, v1.4.1) and has been tested on\r
11 a STM32F767ZI device on a Nucleo board. See this blog post:\r
12 \r
13 http://percepio.com/2017/02/03/usb-trace-streaming-st-nucleo-f767zi-board/\r
14 \r
15 However, it should be straight-forward to modify this for other USB stacks.\r
16 \r
17 To use this stream port, make sure that include/trcStreamingPort.h is found\r
18 by the compiler (i.e., add this folder to your project's include paths) and\r
19 add all included source files to your build. Make sure no other versions of\r
20 trcStreamingPort.h are included by mistake!\r
21 \r
22 Note that the USB stack not included, but assumed to exist in the project already.\r
23 \r
24 See also http://percepio.com/2016/10/05/rtos-tracing.\r
25 \r
26 Percepio AB\r
27 www.percepio.com