I have ported the FreeRTOS Example to Linux Makefile. It builds, but it enters the HardFault handler on portDISABLE_INTERRUPTS(). Any ideas?
我已将 FreeRTOS 示例移植到 Linux Makefile。它构建,但它进入 portDISABLE_INTERRUPTS() 上的 HardFault 处理程序。有任何想法吗?
#define portDISABLE_INTERRUPTS() __asm volatile( "csrw mstatus,%0" ::"r"(0x7800) )
热门产品 :
CH32V317: 互联型青稞RISC-V MCU