851c3db56e
- 删除冗余文件:main_backup/main_minimal/main_full、GD32F4xx_AddOn_Temp/、GD32F4xx_Custom_Backup/、GD32F4xx_Official/ - 删除无关工具:read_pdf.py、openocd_test.txt、version.txt - 重构 main.cpp:去除 STEP 机制,简化为线性启动流程 - 清理 CMakeLists.txt:移除 usart0.c 引用、死代码、冗余 REMOVE_ITEM - 修正 config.h SystemCoreClock 为 168MHz - 修复 gd32f4xx_it.cpp 中已删除的 main.h 引用
48 lines
440 B
C++
48 lines
440 B
C++
#include "gd32f4xx_it.h"
|
|
#include "systick.h"
|
|
|
|
void NMI_Handler(void)
|
|
{
|
|
}
|
|
|
|
void HardFault_Handler(void)
|
|
{
|
|
while(1) {
|
|
}
|
|
}
|
|
|
|
void MemManage_Handler(void)
|
|
{
|
|
while(1) {
|
|
}
|
|
}
|
|
|
|
void BusFault_Handler(void)
|
|
{
|
|
while(1) {
|
|
}
|
|
}
|
|
|
|
void UsageFault_Handler(void)
|
|
{
|
|
while(1) {
|
|
}
|
|
}
|
|
|
|
void SVC_Handler(void)
|
|
{
|
|
}
|
|
|
|
void DebugMon_Handler(void)
|
|
{
|
|
}
|
|
|
|
void PendSV_Handler(void)
|
|
{
|
|
}
|
|
|
|
void SysTick_Handler(void)
|
|
{
|
|
delay_decrement();
|
|
}
|