Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ihbai
rt-thread
提交
fcab0f2c
R
rt-thread
项目概览
ihbai
/
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,发现更多精彩内容 >>
提交
fcab0f2c
编写于
8月 04, 2018
作者:
B
Bernard Xiong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[BSP] Fix the compiling issue with GCC6
上级
7cb670b2
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
41 addition
and
42 deletion
+41
-42
bsp/lm3s8962/Libraries/startup/gcc/start_gcc.S
bsp/lm3s8962/Libraries/startup/gcc/start_gcc.S
+5
-10
bsp/lm3s8962/lm3s_rom.ld
bsp/lm3s8962/lm3s_rom.ld
+8
-3
bsp/lm3s9b9x/Libraries/startup/gcc/start_gcc.S
bsp/lm3s9b9x/Libraries/startup/gcc/start_gcc.S
+5
-10
bsp/lm3s9b9x/lm3s_rom.ld
bsp/lm3s9b9x/lm3s_rom.ld
+8
-3
bsp/mb9bf500r/CMSIS/start_gcc.S
bsp/mb9bf500r/CMSIS/start_gcc.S
+7
-13
bsp/mb9bf500r/fm3_rom.ld
bsp/mb9bf500r/fm3_rom.ld
+8
-3
未找到文件。
bsp/lm3s8962/Libraries/startup/gcc/start_gcc.S
浏览文件 @
fcab0f2c
.
section
.
bss.init
.
equ
Stack_Size
,
0x00000200
.
space
Stack_Size
Initial_spTop
:
.
syntax
unified
.
syntax
unified
.
cpu
cortex
-
m3
.
fpu
softvfp
.
thumb
...
...
@@ -32,13 +27,13 @@ defined in linker script */
*
@
retval
:
None
*/
.
section
.
text
.
Reset_Handler
.
section
.
text
.
Reset_Handler
.
weak
Reset_Handler
.
type
Reset_Handler
,
%
function
Reset_Handler
:
/*
restore
original
stack
pointer
*/
LDR
r0
,
=
Initial_spTop
MSR
msp
,
r0
ldr
sp
,
=
_estack
/*
set
stack
pointer
*/
/*
Copy
the
data
segment
initializers
from
flash
to
SRAM
*/
movs
r1
,
#
0
b
LoopCopyDataInit
...
...
@@ -98,7 +93,7 @@ Infinite_Loop:
g_pfnVectors
:
.
word
Initial_spTop
.
word
_estack
.
word
Reset_Handler
.
word
Default_Handler
//
NMI_Handler
.
word
HardFault_Handler
...
...
bsp/lm3s8962/lm3s_rom.ld
浏览文件 @
fcab0f2c
...
...
@@ -10,6 +10,7 @@ MEMORY
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 0x00010000
}
ENTRY(Reset_Handler)
_system_stack_size = 0x200;
SECTIONS
{
...
...
@@ -72,6 +73,13 @@ SECTIONS
_edata = . ;
} >DATA
.stack :
{
. = . + _system_stack_size;
. = ALIGN(4);
_estack = .;
} >DATA
__bss_start = .;
.bss :
{
...
...
@@ -85,9 +93,6 @@ SECTIONS
. = ALIGN(4);
/* This is used by the startup in order to initialize the .bss secion */
_ebss = . ;
_estack = .;
*(.bss.init)
} > DATA
__bss_end = .;
...
...
bsp/lm3s9b9x/Libraries/startup/gcc/start_gcc.S
浏览文件 @
fcab0f2c
.
section
.
bss.init
.
equ
Stack_Size
,
0x00000200
.
space
Stack_Size
Initial_spTop
:
.
syntax
unified
.
syntax
unified
.
cpu
cortex
-
m3
.
fpu
softvfp
.
thumb
...
...
@@ -32,13 +27,13 @@ defined in linker script */
*
@
retval
:
None
*/
.
section
.
text
.
Reset_Handler
.
section
.
text
.
Reset_Handler
.
weak
Reset_Handler
.
type
Reset_Handler
,
%
function
Reset_Handler
:
/*
restore
original
stack
pointer
*/
LDR
r0
,
=
Initial_spTop
MSR
msp
,
r0
ldr
sp
,
=
_estack
/*
set
stack
pointer
*/
/*
Copy
the
data
segment
initializers
from
flash
to
SRAM
*/
movs
r1
,
#
0
b
LoopCopyDataInit
...
...
@@ -98,7 +93,7 @@ Infinite_Loop:
g_pfnVectors
:
.
word
Initial_spTop
.
word
_estack
.
word
Reset_Handler
.
word
Default_Handler
//
NMI_Handler
.
word
HardFault_Handler
...
...
bsp/lm3s9b9x/lm3s_rom.ld
浏览文件 @
fcab0f2c
...
...
@@ -10,6 +10,7 @@ MEMORY
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 0x00010000
}
ENTRY(Reset_Handler)
_system_stack_size = 0x200;
SECTIONS
{
...
...
@@ -72,6 +73,13 @@ SECTIONS
_edata = . ;
} >DATA
.stack :
{
. = . + _system_stack_size;
. = ALIGN(4);
_estack = .;
} >DATA
__bss_start = .;
.bss :
{
...
...
@@ -85,9 +93,6 @@ SECTIONS
. = ALIGN(4);
/* This is used by the startup in order to initialize the .bss secion */
_ebss = . ;
_estack = .;
*(.bss.init)
} > DATA
__bss_end = .;
...
...
bsp/mb9bf500r/CMSIS/start_gcc.S
浏览文件 @
fcab0f2c
...
...
@@ -12,12 +12,7 @@
*
2011
-
07
-
01
lgnq
first
version
*/
.
section
.
bss.init
.
equ
Stack_Size
,
0x00000200
.
space
Stack_Size
Initial_spTop
:
.
syntax
unified
.
syntax
unified
.
cpu
cortex
-
m3
.
fpu
softvfp
.
thumb
...
...
@@ -48,13 +43,13 @@ defined in linker script */
*
@
retval
:
None
*/
.
section
.
text
.
Reset_Handler
.
section
.
text
.
Reset_Handler
.
weak
Reset_Handler
.
type
Reset_Handler
,
%
function
Reset_Handler
:
/*
restore
original
stack
pointer
*/
LDR
r0
,
=
Initial_spTop
MSR
msp
,
r0
ldr
sp
,
=
_estack
/*
set
stack
pointer
*/
/*
Copy
the
data
segment
initializers
from
flash
to
SRAM
*/
movs
r1
,
#
0
b
LoopCopyDataInit
...
...
@@ -107,13 +102,12 @@ Infinite_Loop:
*
0
x0000.
0000.
*
******************************************************************************/
.
section
.
isr_vector
,
"a"
,%
progbits
.
section
.
isr_vector
,
"a"
,%
progbits
.
type
g_pfnVectors
,
%
object
.
size
g_pfnVectors
,
.
-
g_pfnVectors
g_pfnVectors
:
.
word
Initial_spTop
.
word
_estack
.
word
Reset_Handler
.
word
NMI_Handler
.
word
HardFault_Handler
...
...
bsp/mb9bf500r/fm3_rom.ld
浏览文件 @
fcab0f2c
...
...
@@ -5,6 +5,7 @@ MEMORY
DATA (rw) : ORIGIN = 0x1FFFC000, LENGTH = 0x0000C000
}
ENTRY(Reset_Handler)
_system_stack_size = 0x200;
SECTIONS
{
...
...
@@ -70,6 +71,13 @@ SECTIONS
_edata = . ;
} >DATA
.stack :
{
. = . + _system_stack_size;
. = ALIGN(4);
_estack = .;
} >DATA
__bss_start = .;
.bss :
{
...
...
@@ -84,9 +92,6 @@ SECTIONS
. = ALIGN(4);
/* This is used by the startup in order to initialize the .bss secion */
_ebss = . ;
_estack = .;
*(.bss.init)
} > DATA
__bss_end = .;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录