yulianjn
yulianjn
This guy hasn't written anything yet

注冊於 1 year ago

回答
1
文章
0
關注者
0

已經修改過了是這樣嗎?

include "wm_hal.h"

define readl(addr) ({unsigned int __v = ((volatile unsigned int ) (addr)); __v;})

__attribute__((isr)) void CORET_IRQHandler(void)
{

readl(0xE000E010);
HAL_IncTick();

}

extern UART_HandleTypeDef huart2;

__attribute__((isr)) void UART2_4_IRQHandler(void)
{

HAL_UART_IRQHandler(&huart2);

}

發布
問題