chore: sync from actuator_ctrl as new template baseline

- Add SEGGER_RTT support
- Revert .vscode/ to gitignore (project-specific IDE config)
- Updated CMakeLists.txt, board_config.h, main.c from actuator_ctrl
This commit is contained in:
Nova
2026-07-27 22:12:38 +08:00
parent 58c0cf7460
commit 1f35ffd288
14 changed files with 3573 additions and 185 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