Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wwsmg1
rt-thread
提交
2d62a953
R
rt-thread
项目概览
wwsmg1
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2d62a953
编写于
5月 31, 2022
作者:
L
liuhy
提交者:
guo
6月 06, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp][essemi] update es32f36xx libraries.
上级
093793df
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
31 deletion
+8
-31
bsp/essemi/es32f369x/libraries/CMSIS/Device/EastSoft/ES32F36xx/Startup/gcc/startup_es32f36xx.S
...Device/EastSoft/ES32F36xx/Startup/gcc/startup_es32f36xx.S
+5
-13
bsp/essemi/es32f369x/libraries/CMSIS/Device/EastSoft/ES32F36xx/Startup/iar/startup_es32f36xx.s
...Device/EastSoft/ES32F36xx/Startup/iar/startup_es32f36xx.s
+1
-9
bsp/essemi/es32f369x/libraries/CMSIS/Device/EastSoft/ES32F36xx/Startup/keil/startup_es32f36xx.s
...evice/EastSoft/ES32F36xx/Startup/keil/startup_es32f36xx.s
+0
-8
bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_acmp.c
...ibraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_acmp.c
+2
-0
bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_adc.c
...libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_adc.c
+0
-1
未找到文件。
bsp/essemi/es32f369x/libraries/CMSIS/Device/EastSoft/ES32F36xx/Startup/gcc/startup_es32f36xx.S
浏览文件 @
2d62a953
/**
*****************************************************************************
*
*
@
file
startup_es32f36xx
.
s
*
@
author
AE
Team
*
@
brief
ES32F36xx
devices
vector
table
for
GCC
toolchain
.
*
This
module
performs
:
*
-
Set
the
initial
SP
*
-
Set
the
initial
PC
==
Reset_Handler
,
*
-
Set
the
vector
table
entries
with
the
exceptions
ISR
addres
s
*
-
Set
the
vector
table
entries
with
the
exceptions
ISR
address
*
-
Branches
to
main
in
the
C
library
(
which
eventually
*
calls
main
())
.
*
After
Reset
the
Cortex
-
M3
processor
is
in
Thread
mode
,
...
...
@@ -18,8 +16,7 @@ s
*
Date
Author
Notes
*
23
Jan
2019
AE
Team
The
first
version
*
*
Copyright
(
C
)
Shanghai
Eastsoft
Microelectronics
Co
.
Ltd
.
All
rights
reserve
d
.
*
Copyright
(
C
)
Shanghai
Eastsoft
Microelectronics
Co
.
Ltd
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
...
...
@@ -34,8 +31,7 @@ d.
*
WARRANTIES
OR
CONDITIONS
OF
ANY
KIND
,
either
express
or
implied
.
*
See
the
License
for
the
specific
language
governing
permissions
and
*
limitations
under
the
License
.
*****************************************************************************
*
****
*********************************************************************************
*
*/
.
syntax
unified
...
...
@@ -139,13 +135,9 @@ LoopFillZerobss:
cmp
r2
,
r4
bcc
FillZerobss
bl
sys_config
bl
adc_config
/*
bl
__libc_init_array
bl
__libc_init_array
bl
main
*/
bl
entry
bl
main
LoopForever
:
b
LoopForever
...
...
bsp/essemi/es32f369x/libraries/CMSIS/Device/EastSoft/ES32F36xx/Startup/iar/startup_es32f36xx.s
浏览文件 @
2d62a953
...
...
@@ -30,9 +30,7 @@
;; Forward declaration of sections.
SECTION
CSTACK
:
DATA
:
NOROOT
(
3
)
SECTION
.
intvec
:
CODE
:
NOROOT
(
2
)
EXTERN
sys_config
EXTERN
adc_config
EXTERN
__iar_program_start
PUBLIC
__vector_table
...
...
@@ -179,12 +177,6 @@ RESET_Handler
ldr
r1
,
=
0x40080000
str
r0
,
[
r1
]
LDR
R0
,
=
sys_config
BLX
R0
LDR
R0
,
=
adc_config
BLX
R0
LDR
R0
,
=
__iar_program_start
BX
R0
...
...
bsp/essemi/es32f369x/libraries/CMSIS/Device/EastSoft/ES32F36xx/Startup/keil/startup_es32f36xx.s
浏览文件 @
2d62a953
...
...
@@ -184,14 +184,6 @@ RESET_Handler PROC
ldr
r0
,
=
0x123456
ldr
r1
,
=
0x40080000
str
r0
,
[
r1
]
IMPORT
sys_config
LDR
R0
,
=
sys_config
BLX
R0
IMPORT
adc_config
LDR
R0
,
=
adc_config
BLX
R0
IMPORT
__main
LDR
R0
,
=
__main
...
...
bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_acmp.c
浏览文件 @
2d62a953
...
...
@@ -78,6 +78,8 @@ ald_status_t ald_acmp_init(acmp_handle_t *hperh)
(
hperh
->
init
.
inactval
<<
ACMP_CON_INACTV_POS
)
|
(
hperh
->
init
.
hystsel
<<
ACMP_CON_HYSTSEL_POSS
));
hperh
->
perh
->
CON
=
tmp
;
tmp
=
0
;
tmp
|=
((
hperh
->
init
.
p_port
<<
ACMP_INPUTSEL_PSEL_POSS
)
|
(
hperh
->
init
.
n_port
<<
ACMP_INPUTSEL_NSEL_POSS
)
|
(
hperh
->
init
.
vdd_level
<<
ACMP_INPUTSEL_VDDLVL_POSS
));
...
...
bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_adc.c
浏览文件 @
2d62a953
...
...
@@ -160,7 +160,6 @@ ald_status_t ald_adc_init(adc_handle_t *hperh)
SET_BIT
(
ADC1
->
CCR
,
ADC_CCR_TRMEN_MSK
);
MODIFY_REG
(
hperh
->
perh
->
CON1
,
ADC_CON1_NCHESEL_MSK
,
hperh
->
init
.
nche_sel
<<
ADC_CON1_NCHESEL_POS
);
ald_adc_interrupt_config
(
hperh
,
ADC_IT_OVR
,
ENABLE
);
ADC_ENABLE
(
hperh
);
hperh
->
error_code
=
ADC_ERROR_NONE
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录