|

楼主 |
发表于 2018-11-5 12:47:39
|
显示全部楼层
版主 你好
我也是用你們的V6版測試
當你 測試 bsp_DelayMS(50); 時,不會進入HardFault_Handler嗎?這樣就很恐怖了...
int main(void)
{
/* MCU Configuration----------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* Configure the system clock */
SystemClock_Config();
SystemCoreClockUpdate();
bsp_InitDWT();
/* Initialize all configured peripherals */
MX_GPIO_Init();
bsp_DelayMS(50); /* 下一步會進入HardFault_Handler,不知道為什麼? */
os_sys_init_user (AppTaskStart,
4,
&AppTaskStartStk,
sizeof(AppTaskStartStk));
while(1);
}
|
|