/*********************************************************************
*                    SEGGER Microcontroller GmbH                     *
*                        The Embedded Experts                        *
**********************************************************************
---------------------------END-OF-HEADER------------------------------
File    : SEGGER_RTT_Conf.h
Purpose : RTT configuration for GD32E230 (8KB RAM, conservative buffers)
*/

#ifndef SEGGER_RTT_CONF_H
#define SEGGER_RTT_CONF_H

#ifdef __cplusplus
extern "C" {
#endif

#define BUFFER_SIZE_UP                        (512)
#define BUFFER_SIZE_DOWN                      (16)
#define SEGGER_RTT_MAX_NUM_UP_BUFFERS         (2)
#define SEGGER_RTT_MAX_NUM_DOWN_BUFFERS       (2)
#define SEGGER_RTT_PRINTF_BUFFER_SIZE         (64)
#define SEGGER_RTT_MODE_DEFAULT               SEGGER_RTT_MODE_NO_BLOCK_SKIP

// No RTOS, skip locking
#define SEGGER_RTT_LOCK()
#define SEGGER_RTT_UNLOCK()

#ifdef __cplusplus
}
#endif

#endif
