Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
逝缘~
rt-thread
提交
7a1f8ee1
R
rt-thread
项目概览
逝缘~
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
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,发现更多精彩内容 >>
提交
7a1f8ee1
编写于
6月 04, 2018
作者:
A
ArdaFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libcpu][arm][arm926] Using C header file to define stack and heap size.
上级
7d6b7dc3
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
22 addition
and
140 deletion
+22
-140
bsp/asm9260t/platform/rt_low_level_gcc.inc
bsp/asm9260t/platform/rt_low_level_gcc.inc
+0
-31
bsp/asm9260t/platform/rt_low_level_init.h
bsp/asm9260t/platform/rt_low_level_init.h
+6
-2
bsp/asm9260t/platform/rt_low_level_keil.inc
bsp/asm9260t/platform/rt_low_level_keil.inc
+0
-33
bsp/at91sam9260/platform/rt_low_level_gcc.inc
bsp/at91sam9260/platform/rt_low_level_gcc.inc
+0
-31
bsp/at91sam9260/platform/rt_low_level_init.h
bsp/at91sam9260/platform/rt_low_level_init.h
+6
-2
bsp/at91sam9260/platform/rt_low_level_keil.inc
bsp/at91sam9260/platform/rt_low_level_keil.inc
+0
-32
libcpu/arm/arm926/start_gcc.S
libcpu/arm/arm926/start_gcc.S
+4
-3
libcpu/arm/arm926/start_iar.S
libcpu/arm/arm926/start_iar.S
+4
-3
libcpu/arm/arm926/start_rvds.S
libcpu/arm/arm926/start_rvds.S
+2
-3
未找到文件。
bsp/asm9260t/platform/rt_low_level_gcc.inc
已删除
100644 → 0
浏览文件 @
7d6b7dc3
/*
* File : rt_low_level_gcc.inc
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Change Logs:
* Date Author Notes
* 2015-04-14 ArdaFu first version
*/
/*--------- Stack size of CPU modes ------------------------------------------*/
.
equ
UND_STK_SIZE
,
2048
.
equ
SVC_STK_SIZE
,
4096
.
equ
ABT_STK_SIZE
,
2048
.
equ
IRQ_STK_SIZE
,
4096
.
equ
FIQ_STK_SIZE
,
4096
.
equ
SYS_STK_SIZE
,
2048
bsp/asm9260t/platform/rt_low_level_i
ar.inc
→
bsp/asm9260t/platform/rt_low_level_i
nit.h
浏览文件 @
7a1f8ee1
/*
* File : rt_low_level_i
ar.inc
* File : rt_low_level_i
nit.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
*
...
...
@@ -19,8 +19,10 @@
*
* Change Logs:
* Date Author Notes
* 201
5-04-1
4 ArdaFu first version
* 201
8-06-0
4 ArdaFu first version
*/
#ifndef __RT_LOW_LEVEL_INIT_H__
#define __RT_LOW_LEVEL_INIT_H__
/*-------- Stack size of CPU modes -------------------------------------------*/
#define UND_STK_SIZE 512
...
...
@@ -29,3 +31,5 @@
#define IRQ_STK_SIZE 1024
#define FIQ_STK_SIZE 1024
#define SYS_STK_SIZE 512
#define Heap_Size 512
#endif
bsp/asm9260t/platform/rt_low_level_keil.inc
已删除
100644 → 0
浏览文件 @
7d6b7dc3
;
/*
; * File : rt_low_level_keil.inc
; * This file is part of RT-Thread RTOS
; * COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
; *
; * This program is free software; you can redistribute it and/or modify
; * it under the terms of the GNU General Public License as published by
; * the Free Software Foundation; either version 2 of the License, or
; * (at your option) any later version.
; *
; * This program is distributed in the hope that it will be useful,
; * but WITHOUT ANY WARRANTY; without even the implied warranty of
; * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; * GNU General Public License for more details.
; *
; * You should have received a copy of the GNU General Public License along
; * with this program; if not, write to the Free Software Foundation, Inc.,
; * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
; *
; * Change Logs:
; * Date Author Notes
; * 2015-04-14 ArdaFu first version
; */
;
/*-------- Stack size of CPU modes ------------------------------------------*/
UND_STK_SIZE
EQU
512
SVC_STK_SIZE
EQU
4096
ABT_STK_SIZE
EQU
512
IRQ_STK_SIZE
EQU
1024
FIQ_STK_SIZE
EQU
1024
SYS_STK_SIZE
EQU
512
Heap_Size
EQU
512
END
bsp/at91sam9260/platform/rt_low_level_gcc.inc
已删除
100644 → 0
浏览文件 @
7d6b7dc3
/*
* File : rt_low_level_gcc.inc
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Change Logs:
* Date Author Notes
* 2015-04-14 ArdaFu first version
*/
/*--------- Stack size of CPU modes ------------------------------------------*/
.
equ
UND_STK_SIZE
,
2048
.
equ
SVC_STK_SIZE
,
4096
.
equ
ABT_STK_SIZE
,
2048
.
equ
IRQ_STK_SIZE
,
4096
.
equ
FIQ_STK_SIZE
,
4096
.
equ
SYS_STK_SIZE
,
2048
bsp/at91sam9260/platform/rt_low_level_i
ar.inc
→
bsp/at91sam9260/platform/rt_low_level_i
nit.h
浏览文件 @
7a1f8ee1
/*
* File : rt_low_level_i
ar.inc
* File : rt_low_level_i
nit.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
*
...
...
@@ -19,8 +19,10 @@
*
* Change Logs:
* Date Author Notes
* 201
5-04-1
4 ArdaFu first version
* 201
8-06-0
4 ArdaFu first version
*/
#ifndef __RT_LOW_LEVEL_INIT_H__
#define __RT_LOW_LEVEL_INIT_H__
/*-------- Stack size of CPU modes -------------------------------------------*/
#define UND_STK_SIZE 512
...
...
@@ -29,3 +31,5 @@
#define IRQ_STK_SIZE 1024
#define FIQ_STK_SIZE 1024
#define SYS_STK_SIZE 512
#define Heap_Size 512
#endif
bsp/at91sam9260/platform/rt_low_level_keil.inc
已删除
100644 → 0
浏览文件 @
7d6b7dc3
;
/*
; * File : rt_low_level_keil.inc
; * This file is part of RT-Thread RTOS
; * COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
; *
; * This program is free software; you can redistribute it and/or modify
; * it under the terms of the GNU General Public License as published by
; * the Free Software Foundation; either version 2 of the License, or
; * (at your option) any later version.
; *
; * This program is distributed in the hope that it will be useful,
; * but WITHOUT ANY WARRANTY; without even the implied warranty of
; * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; * GNU General Public License for more details.
; *
; * You should have received a copy of the GNU General Public License along
; * with this program; if not, write to the Free Software Foundation, Inc.,
; * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
; *
; * Change Logs:
; * Date Author Notes
; * 2015-04-14 ArdaFu first version
; */
;
/*-------- Stack size of CPU modes ------------------------------------------*/
UND_STK_SIZE
EQU
512
SVC_STK_SIZE
EQU
4096
ABT_STK_SIZE
EQU
512
IRQ_STK_SIZE
EQU
1024
FIQ_STK_SIZE
EQU
1024
SYS_STK_SIZE
EQU
512
END
libcpu/arm/arm926/start_gcc.S
浏览文件 @
7a1f8ee1
...
...
@@ -24,7 +24,9 @@
*
2015
-
04
-
21
ArdaFu
Remove
remap
code
.
Using
mmu
to
map
vector
table
*
2015
-
06
-
04
aozima
Align
stack
address
to
8
byte
.
*/
#include "rt_low_level_init.h"
#define S_FRAME_SIZE (18*4) //72
@#
define
S_SPSR
(
17
*
4
)
//
SPSR
...
...
@@ -54,9 +56,8 @@
#define MODE_ABT 0x17
#define MODE_UND 0x1B
#define MODEMASK 0x1F
#define NOINT 0xC0
.
include
"
rt_low_level_gcc
.
inc
"
#define NOINT 0xC0
@
;----------------------- Stack and Heap Definitions ---------------------------
.
section
.
nobss
,
"w"
...
...
libcpu/arm/arm926/start_iar.S
浏览文件 @
7a1f8ee1
...
...
@@ -24,7 +24,9 @@
; * 2015-04-21 ArdaFu Remove remap code. Using mmu to map vector table
; * 2015-06-04 aozima Align stack address to 8 byte.
; */
#include "rt_low_level_init.h"
#define S_FRAME_SIZE (18*4) ;72
;#define S_SPSR (17*4) ;SPSR
...
...
@@ -54,9 +56,8 @@
#define MODE_ABT 0x17
#define MODE_UND 0x1B
#define MODEMASK 0x1F
#define NOINT 0xC0
#
include "rt_low_level_iar.inc"
#
define NOINT 0xC0
;----------------------- Stack and Heap Definitions ----------------------------
MODULE
?
cstartup
...
...
libcpu/arm/arm926/start_rvds.S
浏览文件 @
7a1f8ee1
...
...
@@ -25,6 +25,8 @@
; * 2015-06-04 aozima Align stack address to 8 byte.
; */
#include "rt_low_level_init.h"
S_FRAME_SIZE
EQU
(
18
*
4
)
;72
;S_SPSR EQU (17*4) ;SPSR
;S_CPSR EQU (16*4) ;CPSR
...
...
@@ -46,7 +48,6 @@ S_PC EQU (15*4) ;R15
;S_R1 EQU (1*4)
;S_R0 EQU (0*4)
MODE_USR
EQU
0X10
MODE_FIQ
EQU
0X11
MODE_IRQ
EQU
0X12
...
...
@@ -57,8 +58,6 @@ MODE_SYS EQU 0X1F
MODEMASK
EQU
0X1F
NOINT
EQU
0xC0
GET
rt_low_level_keil.inc
;----------------------- Stack and Heap Definitions ----------------------------
AREA
STACK
,
NOINIT
,
READWRITE
,
ALIGN
=
3
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录