File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ extern "C" {
11
11
12
12
#include < rt_misc.h>
13
13
#include < stdint.h>
14
+ #include " sys_helper.h"
14
15
15
16
extern char Image$$RW_IRAM1$$ZI$$Limit[];
16
17
@@ -22,7 +23,7 @@ extern __value_in_regs struct __initial_stackheap __user_setup_stackheap(uint32_
22
23
23
24
struct __initial_stackheap r;
24
25
r.heap_base = zi_limit;
25
- r.heap_limit = sp_limit;
26
+ r.heap_limit = sp_limit - __reserved_stack_size () ;
26
27
return r;
27
28
}
28
29
Original file line number Diff line number Diff line change 21
21
</DaveTm >
22
22
23
23
<Target >
24
- <TargetName >mbed NXP LPC1768 </TargetName >
24
+ <TargetName >mbed NXP LPC4088 </TargetName >
25
25
<ToolsetNumber >0x4</ToolsetNumber >
26
26
<ToolsetName >ARM-ADS</ToolsetName >
27
27
<TargetOption >
You can’t perform that action at this time.
0 commit comments