gd32vf103 jump to task success

This commit is contained in:
acevest
2019-09-21 22:29:55 +08:00
parent 86e6f923d7
commit 2d9580cf78
47 changed files with 1892 additions and 7939 deletions

View File

@@ -108,6 +108,7 @@ KERNEL_INC = \
-I $(TOP_DIR)/kernel/hal/include \
-I $(TOP_DIR)/arch/risc-v/common/include \
-I $(TOP_DIR)/arch/risc-v/rv32i/gcc \
-I $(TOP_DIR)/platform/vendor_bsp/gd/GD32VF103_Firmware_Library/RISCV/drivers \
-I $(TOP_DIR)/board/QEMU_Spike/TOS-CONFIG
C_INCLUDES += $(KERNEL_INC)
CMSIS_INC =

View File

@@ -9,7 +9,7 @@ _start:
csrc mstatus, MSTATUS_MIE
csrw mie, 0
la t0, machine_trap_entry
la t0, trap_entry
csrw mtvec, t0
la sp, _stack_top