/** * @file RTE/Device/GD32C103CB/regions_GD32C103CB.h * @brief GD32 RTE 外设库或运行时配置源文件 * @note 本文件仅补充 Doxygen 文档注释,不改变代码逻辑。 */ #ifndef REGIONS_GD32C103CB_H #define REGIONS_GD32C103CB_H //-------- <<< Use Configuration Wizard in Context Menu >>> -------------------- //------ With VS Code: Open Preview for Configuration Wizard ------------------- // Auto-generated using information from packs // Device Family Pack (DFP): GigaDevice::GD32C10x_DFP@1.0.1 // ROM Configuration // ======================= // __ROM0 (is rx memory: IROM1 from DFP) // Base address <0x0-0xFFFFFFFF:8> // Defines base address of memory region. Default: 0x08000000 // Contains Startup and Vector Table #define __ROM0_BASE 0x08012000 // Region size [bytes] <0x0-0xFFFFFFFF:8> // Defines size of memory region. Default: 0x00020000 #define __ROM0_SIZE 0x0000C000 // // __ROM1 (unused) // Base address <0x0-0xFFFFFFFF:8> // Defines base address of memory region. #define __ROM1_BASE 0x0 // Region size [bytes] <0x0-0xFFFFFFFF:8> // Defines size of memory region. #define __ROM1_SIZE 0x0 // // __ROM2 (unused) // Base address <0x0-0xFFFFFFFF:8> // Defines base address of memory region. #define __ROM2_BASE 0x0 // Region size [bytes] <0x0-0xFFFFFFFF:8> // Defines size of memory region. #define __ROM2_SIZE 0x0 // // __ROM3 (unused) // Base address <0x0-0xFFFFFFFF:8> // Defines base address of memory region. #define __ROM3_BASE 0x0 // Region size [bytes] <0x0-0xFFFFFFFF:8> // Defines size of memory region. #define __ROM3_SIZE 0x0 // // // RAM Configuration // ======================= // __RAM0 (is rwx memory: IRAM1 from DFP) // Base address <0x0-0xFFFFFFFF:8> // Defines base address of memory region. Default: 0x20000000 // Contains uninitialized RAM, Stack, and Heap #define __RAM0_BASE 0x20000000 // Region size [bytes] <0x0-0xFFFFFFFF:8> // Defines size of memory region. Default: 0x00008000 #define __RAM0_SIZE 0x00008000 // // __RAM1 (unused) // Base address <0x0-0xFFFFFFFF:8> // Defines base address of memory region. #define __RAM1_BASE 0x0 // Region size [bytes] <0x0-0xFFFFFFFF:8> // Defines size of memory region. #define __RAM1_SIZE 0x0 // // __RAM2 (unused) // Base address <0x0-0xFFFFFFFF:8> // Defines base address of memory region. #define __RAM2_BASE 0x0 // Region size [bytes] <0x0-0xFFFFFFFF:8> // Defines size of memory region. #define __RAM2_SIZE 0x0 // // __RAM3 (unused) // Base address <0x0-0xFFFFFFFF:8> // Defines base address of memory region. #define __RAM3_BASE 0x0 // Region size [bytes] <0x0-0xFFFFFFFF:8> // Defines size of memory region. #define __RAM3_SIZE 0x0 // // // Stack / Heap Configuration // Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> // Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> #define __STACK_SIZE 0x00000200 #define __HEAP_SIZE 0x00000C00 // #endif /* REGIONS_GD32C103CB_H */