generated from hulk/gd32e23x_template_cmake_vscode
添加RTT支持并清理一些无效内容
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
/*********************************************************************
|
||||
* 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
|
||||
Reference in New Issue
Block a user