From 892ef3dc5bcb6e504629513b57ec4e1023a0d9d1 Mon Sep 17 00:00:00 2001 From: Yaochenger <75192526+Yaochenger@users.noreply.github.com> Date: Thu, 2 Mar 2023 10:34:35 +0800 Subject: [PATCH] =?UTF-8?q?[libcpu/risc-v]=E5=B0=86cv32e40p=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9=E4=B8=AD=E6=96=87=E4=BB=B6=E7=A7=BB=E8=87=B3?= =?UTF-8?q?BSP=20(#7002)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Libraries/core_v_hal_libraries/SConscript | 1 + .../bmsis/core-v-mcu/source}/trap_gcc.S | 0 libcpu/risc-v/cv32e40p/SConscript | 14 -------------- 3 files changed, 1 insertion(+), 14 deletions(-) rename {libcpu/risc-v/cv32e40p => bsp/core-v-mcu/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source}/trap_gcc.S (100%) delete mode 100644 libcpu/risc-v/cv32e40p/SConscript 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')