summaryrefslogtreecommitdiff
path: root/bsp/bluetrum/libraries/hal_libraries
diff options
context:
space:
mode:
authorgreedyhao <[email protected]>2021-11-05 17:16:44 +0800
committergreedyhao <[email protected]>2021-11-05 17:16:44 +0800
commitbae4de3b1b4ddefc3b9d5e1e6b98bfc2e9d2e5f6 (patch)
treec5c63841744af109b14212fda5cee77b6b5db849 /bsp/bluetrum/libraries/hal_libraries
parent9e7d7ae52544fd8e84f18734fd4216fc7659d9c9 (diff)
add ble support
Diffstat (limited to 'bsp/bluetrum/libraries/hal_libraries')
-rw-r--r--bsp/bluetrum/libraries/hal_libraries/ab32vg1_hal/SConscript4
-rw-r--r--bsp/bluetrum/libraries/hal_libraries/bmsis/source/startup.S5
2 files changed, 7 insertions, 2 deletions
diff --git a/bsp/bluetrum/libraries/hal_libraries/ab32vg1_hal/SConscript b/bsp/bluetrum/libraries/hal_libraries/ab32vg1_hal/SConscript
index e30f216093..3321a76d91 100644
--- a/bsp/bluetrum/libraries/hal_libraries/ab32vg1_hal/SConscript
+++ b/bsp/bluetrum/libraries/hal_libraries/ab32vg1_hal/SConscript
@@ -48,8 +48,8 @@ ASFLAGS = ""
CPPDEFINES = []
LOCAL_CPPDEFINES = []
-LIBS = ['hal']
-LIBPATH = [CWD]
+LIBS = []
+LIBPATH = []
LINKFLAGS = ""
diff --git a/bsp/bluetrum/libraries/hal_libraries/bmsis/source/startup.S b/bsp/bluetrum/libraries/hal_libraries/bmsis/source/startup.S
index 8ea645316e..7903c38381 100644
--- a/bsp/bluetrum/libraries/hal_libraries/bmsis/source/startup.S
+++ b/bsp/bluetrum/libraries/hal_libraries/bmsis/source/startup.S
@@ -96,6 +96,11 @@ __exception:
mret
#endif
+ .org 0x1e0
+ 1: j 1b
+ nop
+ mret
+
.global cpu_irq_comm
cpu_irq_comm:
la a5, __irq_stack