Updates FreeRTOS-Plus-Trace to a submodule pointer (#1082)

This PR updates FreeRTOS-Plus-Trace to a submodule pointer and
updates the relevant project files.  Percepio recommends to use
streaming to ring buffer on a 64-bit system instead of snapshot
and therefore, POSIX demo is updated to use streaming to ring
buffer.
This commit is contained in:
Anubhav Rawal 2023-10-12 22:34:55 -07:00 committed by GitHub
parent d3575643b8
commit ddb6e58d0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
124 changed files with 71 additions and 26137 deletions

View file

@ -305,8 +305,9 @@ static void prvSaveTraceFile( void )
if( pxOutputFile != NULL )
{
{
extern TraceRingBuffer_t * RecorderDataPtr;
xTraceDisable();
fwrite( RecorderDataPtr, sizeof( RecorderDataType ), 1, pxOutputFile );
fwrite( RecorderDataPtr, sizeof( TraceRingBuffer_t ), 1, pxOutputFile );
fclose( pxOutputFile );
printf( "\r\nTrace output saved to Trace.dump\r\n" );
xTraceEnable( TRC_START );