4293| 5
|
IAR编译器移植STemWin到STM32F407上,在GUI_Init出现Hard_Fault |
5金钱
最佳答案刚刚[mw_shl_code=c,true]//
// Set display driver and color conversion
pDevice = GUI_DEVICE_CreateAndLink(&GUIDRV_Template_API, GUICC_565, 0, 0);
//
// Display driver configuration, required for Lin-driver
//
LCD_SetSizeEx (0, t_lcddev.width , t_lcddev.height);
LCD_SetVSizeEx(0, t_lcddev.width , t_lcddev.height);[/mw_shl_code]看了一下 是在GUI_DEVICE_CreateAndLink个函数死掉的
| ||
| ||
| ||
| ||
发表于 2016-11-18 16:10:43
|
显示全部楼层
| ||
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-23 03:40
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网