初级会员

- 积分
- 166
- 金钱
- 166
- 注册时间
- 2012-11-20
- 在线时间
- 26 小时
|
1金钱
想直接取模后放到代码中const unsigned char gImage_bmp1[2457600] = { /* 0X00,0X20,0X00,0X04,0X58,0X02,0X00,0XE4, */
然后直接调用:
LCD_DispBmp(0,0,1024,600,(u32*)gImage_bmp1);
编译报错:
..\OBJ\STM32H750.axf: Error: L6220E: Load region LR_m_stmflash size (2465772 bytes) exceeds limit (131072 bytes). Region contains 17 bytes of padding and 180 bytes of veneers (total 197 bytes of linker generated content).
..\OBJ\STM32H750.axf: Error: L6220E: Execution region ER_m_stmflash size (2465708 bytes) exceeds limit (131072 bytes). Region contains 8 bytes of padding and 180 bytes of veneers (total 188 bytes of linker generated content).
板子上的W25Q256不是可以存储程序代码吗
是哪儿还需要设置吗
..\SCRIPT\qspi_code_scf.scf
这里是不是需要什么改动
|
最佳答案
查看完整内容[请看2#楼]
知道了,看了一下scf文件:
main.o是放在片内
lcd.o是放在片外
然后我是在main里面 include gImage_bmp1的
我将include图片数据移动到lcd.c
或者单独建立一个图片数据.c文件都可以
这样只要不在main.o里面都会放在片外flash
|