如题:移植完成了,但是运行到:
int LCD_X_DisplayDriver(unsigned LayerIndex, unsigned Cmd, void * pData) {
int r;
(void) LayerIndex;
(void) pData;
switch (Cmd) {
case LCD_X_INITCONTROLLER: {
//
// Called during the initialization process in order to set up the
// display controller and put it into operation. If the display
// controller is not initialized by any external routine this needs
// to be adapted by the customer...
//
// ...
Init_RA875();
return 0; //到这里,退出后进硬件错误中断。
}
default:
r = -1;
}
return r;
}
运行完 Init_RA875();
return 0; 进入:
void HardFault_Handler(void)
{
/* Go to infinite loop when Hard Fault exception occurs */
while (1)
{
}
}
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
开始处已经有了。
有没有这个,都是这样。
一周热门 更多>