Lauchpad + MSP430G2553 + IAR 5.4
我用12864画图 , 怎样才能我图片生成的16进制数组存放到flash里面呢 , 用数组的话是存放在RAM里面会报错啊
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Lauchpad + MSP430G2553 + IAR 5.4
我用12864画图 , 怎样才能我图片生成的16进制数组存放到flash里面呢 , 用数组的话是存放在RAM里面会报错啊
使用这样的方法是最合适的,前提是你要知道自己代码大概容量,把图片存在指定的位置。
const unsigned char picc[1024] @0xf000
如果你并不关心图片保存的位置,你也可以去掉后面跟的@xxx,这样编译器会给你分配一段空间来保存图片信息。