mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 02:47:06 +08:00
[libcpu/arm/cortex-m33]fix syscall_iar.S compiler error (#5719)
* 1. 新增了i2c/spi/rtc/crypto等驱动;2. 删除了部分文件中的未使用到的头文件包含; 3. 修改keil编译时pm文件atoi的头文件stdlib未包含的警告 * 修改文件格式 * BSP 1. 修改f4系列bsp的readme文件与工程文件 2. 修改f0系列源文件的版权信息、删除目前没有的库文件。 3. 其他 * 修改IAR环境下arm cortex-m33内核的syscall_iar.S文件编译错误 * 还原.gitignore文件 Co-authored-by: aisino2200 <90822414+aisino2200@users.noreply.github.com>
This commit is contained in:
parent
2ad6e28237
commit
9779963c6d
2302
bsp/acm32f4xx-nucleo/project.ewp
Normal file
2302
bsp/acm32f4xx-nucleo/project.ewp
Normal file
File diff suppressed because it is too large
Load Diff
10
bsp/acm32f4xx-nucleo/project.eww
Normal file
10
bsp/acm32f4xx-nucleo/project.eww
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
|
||||||
|
<workspace>
|
||||||
|
<project>
|
||||||
|
<path>$WS_DIR$\project.ewp</path>
|
||||||
|
</project>
|
||||||
|
<batchBuild/>
|
||||||
|
</workspace>
|
||||||
|
|
||||||
|
|
2074
bsp/acm32f4xx-nucleo/template.ewp
Normal file
2074
bsp/acm32f4xx-nucleo/template.ewp
Normal file
File diff suppressed because it is too large
Load Diff
10
bsp/acm32f4xx-nucleo/template.eww
Normal file
10
bsp/acm32f4xx-nucleo/template.eww
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
|
||||||
|
<workspace>
|
||||||
|
<project>
|
||||||
|
<path>$WS_DIR$\template.ewp</path>
|
||||||
|
</project>
|
||||||
|
<batchBuild/>
|
||||||
|
</workspace>
|
||||||
|
|
||||||
|
|
@ -6,22 +6,25 @@
|
|||||||
; * Change Logs:
|
; * Change Logs:
|
||||||
; * Date Author Notes
|
; * Date Author Notes
|
||||||
; * 2019-10-25 tyx first version
|
; * 2019-10-25 tyx first version
|
||||||
|
; * 2021-03-26 lxf modify bad instruction
|
||||||
; */
|
; */
|
||||||
|
|
||||||
;/*
|
;/*
|
||||||
; * @addtogroup cortex-m33
|
; * @addtogroup cortex-m33
|
||||||
; */
|
; */
|
||||||
|
|
||||||
|
|
||||||
SECTION .text:CODE(2)
|
SECTION .text:CODE(2)
|
||||||
THUMB
|
THUMB
|
||||||
REQUIRE8
|
REQUIRE8
|
||||||
PRESERVE8
|
PRESERVE8
|
||||||
|
|
||||||
|
IMPORT rt_secure_svc_handle
|
||||||
|
|
||||||
;/*
|
;/*
|
||||||
; * int tzcall(int id, rt_ubase_t arg0, rt_ubase_t arg1, rt_ubase_t arg2);
|
; * int tzcall(int id, rt_ubase_t arg0, rt_ubase_t arg1, rt_ubase_t arg2);
|
||||||
; */
|
; */
|
||||||
.global tzcall
|
EXPORT tzcall
|
||||||
.type tzcall, %function
|
|
||||||
tzcall:
|
tzcall:
|
||||||
SVC 1 ;/* call SVC 1 */
|
SVC 1 ;/* call SVC 1 */
|
||||||
BX LR
|
BX LR
|
||||||
@ -39,8 +42,7 @@ tzcall_entry:
|
|||||||
syscall_entry:
|
syscall_entry:
|
||||||
BX LR ;/* return to user app */
|
BX LR ;/* return to user app */
|
||||||
|
|
||||||
.global SVC_Handler
|
EXPORT SVC_Handler
|
||||||
.type SVC_Handler, %function
|
|
||||||
SVC_Handler:
|
SVC_Handler:
|
||||||
|
|
||||||
;/* get SP, save to R1 */
|
;/* get SP, save to R1 */
|
||||||
@ -61,3 +63,5 @@ get_sp_done:
|
|||||||
;/* if svc == 1, do TrustZone call */
|
;/* if svc == 1, do TrustZone call */
|
||||||
CMP R0, #0x1
|
CMP R0, #0x1
|
||||||
BEQ tzcall_entry
|
BEQ tzcall_entry
|
||||||
|
|
||||||
|
END
|
||||||
|
Loading…
x
Reference in New Issue
Block a user