一、定义已初始化数据
1.1 变量定义
#pragma section r0_disp32 "USER1_RAM"
static ST_XX g_st1 = {0};/*data secetion */
#pragma section default
1.2 section定义增加
USER1_RAM.data/FEE05000
二、定义未初始化数据
2.1 变量定义
#pragma section r0_disp32 "USER1_RAM"
static ST_XX g_st1 ;/*bss secetion */
#pragma section default
2.2 section定义增加
USER1_RAM.bss/FEE05000
标签:定义,USER1,section,RAM,瑞萨,static,pragma,CS From: https://www.cnblogs.com/hkj8808/p/16911165.html