Skip to content

Commit d4f97aa

Browse files
authored
Merge pull request #15325 from deepak-shreshti/master
Updated System file and Scatter file
2 parents 48ae844 + 61e5a61 commit d4f97aa

File tree

3 files changed

+277
-130
lines changed

3 files changed

+277
-130
lines changed

targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/TMPM4KNA.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* $Date:: #$
88
*
99
* DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.
10-
*
10+
*
1111
* Copyright(C) Toshiba Electronic Device Solutions Corporation 2021
1212
* SPDX-License-Identifier: Apache-2.0
1313
*
@@ -1322,6 +1322,7 @@ typedef struct {
13221322

13231323
/* Clock Control and Operation Mode (CG) */
13241324
#define TSB_CG_OSCCR_IHOSC1EN (*((__IO uint32_t *)BITBAND_PERI(&TSB_CG->OSCCR,0)))
1325+
#define TSB_CG_OSCCR_IHOSC2EN (*((__IO uint32_t *)BITBAND_PERI(&TSB_CG->OSCCR,3)))
13251326
#define TSB_CG_OSCCR_OSCSEL (*((__IO uint32_t *)BITBAND_PERI(&TSB_CG->OSCCR,8)))
13261327
#define TSB_CG_OSCCR_OSCF (*((__I uint32_t *)BITBAND_PERI(&TSB_CG->OSCCR,9)))
13271328
#define TSB_CG_OSCCR_IHOSC1F (*((__I uint32_t *)BITBAND_PERI(&TSB_CG->OSCCR,16)))

targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/TOOLCHAIN_ARM_STD/tmpm4knfyafg.sct

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,13 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE ; load region size_region
6565
.ANY (+RW, +ZI)
6666
rda_flash512ud32_b.o(+RO)
6767
}
68+
69+
FLASH_CODE_RAM AlignExpr(+0, 16) (0x6000 - 0x238 - Stack_Size - Imagelength(RW_IRAM1))
70+
{
71+
system_TMPM4KyA.o(FLASH_ROM)
72+
}
6873

69-
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (0x20000000+0x6000 - MBED_CONF_TARGET_BOOT_STACK_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16)) { ; Heap growing up
74+
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (0x20000000+0x6000 - MBED_CONF_TARGET_BOOT_STACK_SIZE - AlignExpr(ImageLimit(FLASH_CODE_RAM), 16)) { ; Heap growing up
7075
}
7176

7277
ARM_LIB_STACK (0x20000000+0x6000) EMPTY -Stack_Size { ; stack

0 commit comments

Comments
 (0)