初级会员

- 积分
- 71
- 金钱
- 71
- 注册时间
- 2016-8-10
- 在线时间
- 15 小时
|

楼主 |
发表于 2016-8-10 17:01:36
|
显示全部楼层
static u8 test[10*1024]={0};
static u8 test2[5*1024]={0};
static u8 test3[5*1024]={0};
int main(void)
{
SystemInit();
delay_init(72);
NVIC_Configuration();
uart1_init(9600);
LCD_Init();
delay_ms(1500);
POINT_COLOR=RED;
LCD_ShowString(40,0,"QR_ENCODE TEST");
USART1_SendArray("hello world\n",strlen("hello world\n"));
//DISPLAY_RENCODE_TO_TFT((u8 *)codetest);
test[0]=1;
test2[2]=1;
test3[3]=3;
while (1)
{
;
}
} 其实是为了DISPLAY_RENCODE_TO_TFT函数,该函数中使用了许多全局大数组;报错,所以注掉后直接在main.c中定义超大数组测试,果然也报错; |
|