u32 ltdc_lcd_framebuf[1280][800] __attribute__((section(".ARM.__AT_0xC0000000")));
u32 ltdc_lcd_framebuf[1280][800] __attribute__((at(0xC0000000)));
Keil AC6编译器 需要使用__attribute__((section(".ARM.__AT_0xC0000000")));
AC5编译器 使用 __attribute__((at(0xC0000000)));
GCC 如下
//E.g. int RAM_D1_DATA g_Initialized = 1;
#define RAM_D1_DATA __attribute__((section(".ram_d1_data")))
//E.g. int RAM_D1_BSS g_Uninitialized;
#define RAM_D1_BSS __attribute__((section(".ram_d1_bss")))
//E.g. int RAM_D2_DATA g_Initialized = 1;
#define RAM_D2_DATA __attribute__((section(".ram_d2_data")))
//E.g. int RAM_D2_BSS g_Uninitialized;
#define RAM_D2_BSS __attribute__((section(".ram_d2_bss")))
//E.g. int RAM_D3_DATA g_Initialized = 1;
#define RAM_D3_DATA __attribute__((section(".ram_d3_data")))
//E.g. int RAM_D3_BSS g_Uninitialized;
#define RAM_D3_BSS __attribute__((section(".ram_d3_bss")))
//E.g. int SDRAM_DATA g_Initialized = 1;
#define SDRAM_DATA __attribute__((section(".sdram_data")))
//E.g. int SDRAM_BSS g_Uninitialized;
#define SDRAM_BSS __attribute__((section(".sdram_bss")))
//E.g. void QSPI_TEXT func();
#define QSPI_TEXT __attribute__((section(".qspi_text")))
//E.g. int QSPI_DATA g_Initialized = 1;
#define QSPI_DATA __attribute__((section(".qspi_data")))
//E.g. int QSPI_BSS g_Uninitialized;
#define QSPI_BSS __attribute__((section(".qspi_bss")))
时段 | 个数 |
---|---|
{{f.startingTime}}点 - {{f.endTime}}点 | {{f.fileCount}} |