Skip to content

Commit 2da3898

Browse files
committed
Rename 064B0S2 linker scripts names per common pattern
1 parent abe5579 commit 2da3898

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
; to pass a scatter file through a C preprocessor.
44

55
;*******************************************************************************
6-
;* \file cy8bc6xxa_cm4_dual.sct
6+
;* \file cyb06xxa_cm4_dual.sct
77
;* \version 2.80
88
;*
99
;* Linker file for the ARMCC.
@@ -99,7 +99,7 @@
9999
; Note that 2 KB of RAM (at the end of the SRAM) are reserved for system use.
100100
; Using this memory region for other purposes will lead to unexpected behavior.
101101
; Your changes must be aligned with the corresponding defines for CM0+ core in 'xx_cm0plus.scat',
102-
; where 'xx' is the device group; for example, 'cy8c6xx7_cm0plus.scat'.
102+
; where 'xx' is the device group; for example, 'cyb06xx7_cm0plus.scat'.
103103
; RAM
104104
#define RAM_START MBED_RAM_START
105105
#define RAM_SIZE MBED_RAM_SIZE
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/***************************************************************************//**
2-
* \file cy8c6xxa_cm4_dual.ld
2+
* \file cyb06xxa_cm4_dual.ld
33
* \version 2.80
44
*
55
* Linker file for the GNU C compiler.
@@ -40,13 +40,14 @@ SEARCH_DIR(.)
4040
GROUP(-lgcc -lc -lnosys)
4141
ENTRY(Reset_Handler)
4242

43-
/* By default, the COMPONENT_CM0P_SLEEP prebuilt image is used for the CM0p core.
43+
/* By default, the COMPONENT_CM0P_SECURE prebuilt image is used for the CM0p core.
4444
* More about CM0+ prebuilt images, see here:
4545
* https://github.com/cypresssemiconductorco/psoc6cm0p
4646
*/
4747
/* The size of the Cortex-M0+ application image at the start of FLASH */
4848
FLASH_CM0P_SIZE = 0x10000;
4949

50+
/* The size of the MCU boot header area at the start of FLASH */
5051
BOOT_HEADER_SIZE = 0x400;
5152

5253
#if !defined(MBED_ROM_START)
@@ -103,10 +104,9 @@ MEMORY
103104
{
104105
/* The ram and flash regions control RAM and flash memory allocation for the CM4 core.
105106
* You can change the memory allocation by editing the 'ram' and 'flash' regions.
106-
* Note that 2 KB of RAM (at the end of the SRAM) are reserved for system use.
107107
* Using this memory region for other purposes will lead to unexpected behavior.
108108
* Your changes must be aligned with the corresponding memory regions for CM0+ core in 'xx_cm0plus.ld',
109-
* where 'xx' is the device group; for example, 'cy8c6xx7_cm0plus.ld'.
109+
* where 'xx' is the device group; for example, 'cyb06xxa_cm0plus.ld'.
110110
*/
111111
ram (rwx) : ORIGIN = MBED_RAM_START, LENGTH = MBED_RAM_SIZE
112112
cm0p_image (rx) : ORIGIN = (MBED_ROM_START + BOOT_HEADER_SIZE), LENGTH = FLASH_CM0P_SIZE
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* \file cyb8c6xxa_cm4_dual.icf
2+
* \file cyb06xxa_cm4_dual.icf
33
* \version 2.80
44
*
55
* Linker file for the IAR compiler.
@@ -41,7 +41,7 @@
4141
/*-Specials-*/
4242
define symbol __ICFEDIT_intvec_start__ = 0x00000000;
4343

44-
/* By default, the COMPONENT_CM0P_SLEEP prebuilt image is used for the CM0p core.
44+
/* By default, the COMPONENT_CM0P_SECURE prebuilt image is used for the CM0p core.
4545
* More about CM0+ prebuilt images, see here:
4646
* https://github.com/cypresssemiconductorco/psoc6cm0p
4747
*/
@@ -103,7 +103,7 @@ define symbol __ICFEDIT_size_cstack__ = MBED_BOOT_STACK_SIZE;
103103
* Note that 2 KB of RAM (at the end of the SRAM) are reserved for system use.
104104
* Using this memory region for other purposes will lead to unexpected behavior.
105105
* Your changes must be aligned with the corresponding symbols for CM0+ core in 'xx_cm0plus.icf',
106-
* where 'xx' is the device group; for example, 'cy8c6xx7_cm0plus.icf'.
106+
* where 'xx' is the device group; for example, 'cyb06xx7_cm0plus.icf'.
107107
*/
108108
/* RAM */
109109
define symbol __ICFEDIT_region_IRAM1_start__ = MBED_RAM_START;

0 commit comments

Comments
 (0)