diff --git a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/SConscript b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/SConscript index ee0ab6bb49..98d5fe70f6 100644 --- a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/SConscript +++ b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/SConscript @@ -20,6 +20,7 @@ core_v_hal/source/hal_timer_irq.c bmsis/core-v-mcu/source/core-v-mcu.c bmsis/core-v-mcu/source/crt0.S bmsis/core-v-mcu/source/vectors.S +bmsis/core-v-mcu/source/trap_gcc.S core_v_udma_driver/source/udma_uart_driver.c core_v_udma_driver/source/udma_cam_driver.c core_v_udma_driver/source/udma_i2cm_driver.c diff --git a/libcpu/risc-v/cv32e40p/trap_gcc.S b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/trap_gcc.S similarity index 100% rename from libcpu/risc-v/cv32e40p/trap_gcc.S rename to bsp/core-v-mcu/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/trap_gcc.S diff --git a/libcpu/risc-v/cv32e40p/SConscript b/libcpu/risc-v/cv32e40p/SConscript deleted file mode 100644 index 20f325b692..0000000000 --- a/libcpu/risc-v/cv32e40p/SConscript +++ /dev/null @@ -1,14 +0,0 @@ -# RT-Thread building script for component - -from building import * - -Import('rtconfig') - -cwd = GetCurrentDir() -src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S') -CPPPATH = [cwd] -ASFLAGS = '' - -group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH, ASFLAGS = ASFLAGS) - -Return('group')