Skip to content

Help writing to a log file #333

Closed Answered by rokath
sidprice asked this question in Q&A
Discussion options

You must be logged in to vote

Inside the `triceConfig around line 48 you see this:

//#define TRICE_RTT_CHANNEL 0 //!< Enable and set channel number for SeggerRTT usage. Only channel 0 works right now for some reason.
#define TRICE_UART USART2 //!< Enable and set UART for serial output.

Proposal: Change that to:

//#define TRICE_RTT_CHANNEL 0 //!< Enable and set channel number for SeggerRTT usage. Only channel 0 works right now for some reason.
//#define TRICE_UART USART2 //!< Enable and set UART for serial output.
#define TRICE_LOCAL_BINARY_LOGFILE //!< Enable and set a local file as logfile for output.
#if defined( TRICE_LOCAL_BINARY_LOGFILE ) && !defined( TRICE_HALF_BUFFER_SIZE ) // direct out to local files system
#…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sidprice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants