add the fixed gcc version
This commit is contained in:
parent
33a3f835ad
commit
b58defa307
|
@ -199,7 +199,7 @@ Reset_Handler:
|
|||
#else
|
||||
ldr r0,=__libc_init_array
|
||||
blx r0
|
||||
ldr r0,=main
|
||||
ldr r0,=entry
|
||||
bx r0
|
||||
#endif
|
||||
.pool
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"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
|
||||
},
|
||||
]
|
||||
}
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue