Skip to content

Commit e7e9e07

Browse files
author
Deepika
committed
Update K64F linker files for general solution of 2-ram regions
1 parent f13a3e3 commit e7e9e07

File tree

2 files changed

+5
-94
lines changed
  • targets/TARGET_Freescale

2 files changed

+5
-94
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_ARM_STD/sys.cpp

Lines changed: 0 additions & 86 deletions
This file was deleted.

targets/TARGET_Freescale/mbed_rtx.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,13 @@
8989

9090
#ifndef INITIAL_SP
9191
#define INITIAL_SP (0x20030000UL)
92-
#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
92+
#endif
93+
94+
#if defined(__ARMCC_VERSION)
9395
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Base[];
9496
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Length[];
95-
extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Base[];
96-
extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Length[];
97-
#define HEAP_START ((unsigned char*) Image$$ARM_LIB_HEAP$$ZI$$Base)
98-
#define HEAP_SIZE ((uint32_t) Image$$ARM_LIB_HEAP$$ZI$$Length)
99-
#define ISR_STACK_START ((unsigned char*)Image$$ARM_LIB_STACK$$ZI$$Base)
100-
#define ISR_STACK_SIZE ((uint32_t)Image$$ARM_LIB_STACK$$ZI$$Length)
101-
#endif
97+
#define HEAP_START Image$$ARM_LIB_HEAP$$ZI$$Base
98+
#define HEAP_SIZE Image$$ARM_LIB_HEAP$$ZI$$Length
10299
#endif
103100

104101
#elif defined(TARGET_SDT64B)

0 commit comments

Comments
 (0)