Initial commit: GD32F405RET6 CMake+VSCode template

This commit is contained in:
2026-10-09 17:26:37 +08:00
commit 96986b4444
212 changed files with 1046814 additions and 0 deletions
+32
View File
@@ -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