EasyManua.ls Logo

Segger J-Link - Configuration Defines

Segger J-Link
480 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
J-Link / J-Trace (UM08001) © 2004-2017 SEGGER Microcontroller GmbH & Co. KG
367
13.4.2 Configuration defines
13.4.2.1 RTT configuration
SEGGER_RTT_MAX_NUM_DOWN_BUFFERS
Maximum number of down (to target) channels.
SEGGER_RTT_MAX_NUM_UP_BUFFERS
Maximum number of up (to host) channels.
BUFFER_SIZE_DOWN
Size of the buffer for default down channel 0.
BUFFER_SIZE_UP
Size of the buffer for default up channel 0.
SEGGER_RTT_PRINT_BUFFER_SIZE
Size of the buffer for SEGGER_RTT_printf to bulk-send chars.
SEGGER_RTT_LOCK()
Locking routine to prevent interrupts and task switches from within an RTT operation.
SEGGER_RTT_UNLOCK()
Unlocking routine to allow interrupts and task switches after an RTT operation.
SEGGER_RTT_IN_RAM
Indicate the whole application is in RAM to prevent falsly identifying the RTT Control
Block in the init segment by defining as 1.
13.4.2.2 Channel buffer configuration
SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL
A call to a writing function will block, if the up buffer is full.
SEGGER_RTT_NO_BLOCK_SKIP
If the up buffer has not enough space to hold all of the incoming data, nothing is
written to the buffer.
SEGGER_RTT_NO_BLOCK_TRIM
If the up buffer has not enough space to hold all of the incoming data, the available
space is filled up with the incoming data while discarding any excess data.
Note:
SEGGER_RTT_TerminalOut ensures that implicit terminal switching commands are
always sent out, even while using the non-blocking modes.
13.4.2.3 Color control sequences
RTT_CTRL_RESET
Reset the text color and background color.
RTT_CTRL_TEXT_*
Set the text color to one of the following colors.
•BLACK
•RED
GREEN
YELLOW

Table of Contents

Other manuals for Segger J-Link

Related product manuals