Skip to content

Commit 38caf02

Browse files
andeyqimysterywolf
authored andcommitted
[BSP][FRDM-MCXN947]Add IAR9.60 project template.
1 parent 65e239d commit 38caf02

File tree

5 files changed

+8290
-3
lines changed

5 files changed

+8290
-3
lines changed

bsp/nxp/mcx/mcxn/frdm-mcxn947/board/board.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ extern int Image$$ARM_LIB_STACK$$ZI$$Base;
3636
#define HEAP_END ((void*)&Image$$ARM_LIB_STACK$$ZI$$Base)
3737
#elif defined(__ICCARM__)
3838
#pragma section="HEAP"
39-
#define HEAP_BEGIN (__segment_end("HEAP"))
40-
extern void __RTT_HEAP_END;
41-
#define HEAP_END (&__RTT_HEAP_END)
39+
#define HEAP_BEGIN (__section_begin("HEAP"))
40+
#define HEAP_END (__section_end("HEAP"))
4241
#elif defined(__GNUC__)
4342
extern int __HeapBase;
4443
extern int __HeapLimit;

0 commit comments

Comments
 (0)