RTT Debugger Library
Dependents: BREAK_SENSOR_LED MPU9250_simple MPU9250_tap_better Sensor_tap_BLE ... more
SEGGER_RTT_Conf.h
00001 /********************************************************************* 00002 * SEGGER MICROCONTROLLER SYSTEME GmbH * 00003 * Solutions for real time microcontroller applications * 00004 ********************************************************************** 00005 * * 00006 * (c) 1996-2014 SEGGER Microcontroller Systeme GmbH * 00007 * * 00008 * Internet: www.segger.com Support: support@segger.com * 00009 * * 00010 ********************************************************************** 00011 ---------------------------------------------------------------------- 00012 File : SEGGER_RTT_Conf.h 00013 Date : 17 Dec 2014 00014 Purpose : Implementation of SEGGER real-time terminal which allows 00015 real-time terminal communication on targets which support 00016 debugger memory accesses while the CPU is running. 00017 ---------------------------END-OF-HEADER------------------------------ 00018 */ 00019 00020 /********************************************************************* 00021 * 00022 * Defines, configurable 00023 * 00024 ********************************************************************** 00025 */ 00026 00027 #define SEGGER_RTT_MAX_NUM_UP_BUFFERS (2) // Max. number of up-buffers (T->H) available on this target (Default: 2) 00028 #define SEGGER_RTT_MAX_NUM_DOWN_BUFFERS (2) // Max. number of down-buffers (H->T) available on this target (Default: 2) 00029 00030 #define BUFFER_SIZE_UP (1024) // Size of the buffer for terminal output of target, up to host (Default: 1k) 00031 #define BUFFER_SIZE_DOWN (16) // Size of the buffer for terminal input to target from host (Usually keyboard input) (Default: 16) 00032 00033 #define SEGGER_RTT_PRINTF_BUFFER_SIZE (64) // Size of buffer for RTT printf to bulk-send chars via RTT (Default: 64) 00034 00035 // 00036 // Target is not allowed to perform other RTT operations while string still has not been stored completely. 00037 // Otherwise we would probably end up with a mixed string in the buffer. 00038 // If using RTT from within interrupts, multiple tasks or multi processors, define the SEGGER_RTT_LOCK() and SEGGER_RTT_UNLOCK() function here. 00039 // 00040 #define SEGGER_RTT_LOCK() 00041 #define SEGGER_RTT_UNLOCK() 00042 00043 // 00044 // Define SEGGER_RTT_IN_RAM as 1 00045 // when using RTT in RAM targets (init and data section both in RAM). 00046 // This prevents the host to falsly identify the RTT Callback Structure 00047 // in the init segment as the used Callback Structure. 00048 // 00049 // When defined as 1, 00050 // the first call to an RTT function will modify the ID of the RTT Callback Structure. 00051 // To speed up identifying on the host, 00052 // especially when RTT functions are not called at the beginning of execution, 00053 // SEGGER_RTT_Init() should be called at the start of the application. 00054 // 00055 #define SEGGER_RTT_IN_RAM (0) 00056 00057 /*************************** End of file ****************************/
Generated on Wed Jul 13 2022 19:38:22 by 1.7.2