STM32將常量數(shù)組定義到FLASH固定地址
方法:static const uint8_t s_acBmpLogo030[len] __attribute__((at(0X800F000)))={0x80,0xC0,0xC0,0xC0,0xC0,0x80,xxxxxxx}
編譯之后可在.map文件看到其分配到的地址
0x0800f000 0x0000005c Data RO 4013 .ARM.__AT_0x0800F000 main.o
這是從調(diào)試窗口查看的flash數(shù)據(jù)