提交 b58defa3 编写于 作者: Thomas_Fly's avatar Thomas_Fly

add the fixed gcc version

上级 33a3f835
......@@ -199,7 +199,7 @@ Reset_Handler:
#else
ldr r0,=__libc_init_array
blx r0
ldr r0,=main
ldr r0,=entry
bx r0
#endif
.pool
......
{
"version": "0.2.0",
"configurations": [
{
"cwd": "${workspaceRoot}",
"executable": "rtthread.elf",
"name": "Debug",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"interface": "swd",
"device": "LPC55S69_M33_0",
"runToMain": true
},
]
}
\ No newline at end of file
......@@ -33,6 +33,7 @@
extern int Image$$ARM_LIB_HEAP$$ZI$$Base;
extern int Image$$ARM_LIB_STACK$$ZI$$Base;
#define HEAP_BEGIN ((void *)&Image$$ARM_LIB_HEAP$$ZI$$Base)
#define HEAP_END ((void*)&Image$$ARM_LIB_STACK$$ZI$$Base)
#elif defined(__ICCARM__)
#pragma section="HEAP"
#define HEAP_BEGIN (__segment_end("HEAP"))
......@@ -40,8 +41,8 @@ extern int Image$$ARM_LIB_STACK$$ZI$$Base;
extern int __HeapBase;
extern int __HeapLimit;
#define HEAP_BEGIN ((void *)&__HeapBase)
#define HEAP_END ((void *)&__HeapLimit)
#endif
#define HEAP_END ((void*)&Image$$ARM_LIB_STACK$$ZI$$Base)
void rt_hw_board_init(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册