Skip to content

Commit 0a5b355

Browse files
Yossi LevyYossi Levy
authored andcommitted
Adding documentation for MBED_APP_START and MBED_APP_SIZE in TARGET_CY8C62XX and TARGET_CY8CKIT_062_BLE linker scripts
1 parent 2fd7dc9 commit 0a5b355

File tree

6 files changed

+48
-1
lines changed

6 files changed

+48
-1
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8C62XX/TARGET_MCU_PSOC6_M4/device/TOOLCHAIN_ARM_STD/cy8c6xx7_cm4_dual.sct

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
#define MBED_ROM_START 0x10002000
4747
#endif
4848

49+
;* MBED_APP_START is being used by the bootloader build script and
50+
;* will be calculate by the system. Without bootloader the MBED_APP_START
51+
;* is equal to MBED_ROM_START
52+
;*
4953
#if !defined(MBED_APP_START)
5054
#define MBED_APP_START MBED_ROM_START
5155
#endif
@@ -54,6 +58,10 @@
5458
#define MBED_ROM_SIZE 0x000FE000
5559
#endif
5660

61+
;* MBED_APP_SIZE is being used by the bootloader build script and
62+
;* will be calculate by the system. Without bootloader the MBED_APP_SIZE
63+
;* is equal to MBED_ROM_SIZE
64+
;*
5765
#if !defined(MBED_APP_SIZE)
5866
#define MBED_APP_SIZE MBED_ROM_SIZE
5967
#endif

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8C62XX/TARGET_MCU_PSOC6_M4/device/TOOLCHAIN_GCC_ARM/cy8c6xx7_cm4_dual.ld

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ ENTRY(Reset_Handler)
4444
#define MBED_ROM_START 0x10002000
4545
#endif
4646

47+
/* MBED_APP_START is being used by the bootloader build script and
48+
* will be calculate by the system. Without bootloader the MBED_APP_START
49+
* is equal to MBED_ROM_START
50+
*/
4751
#if !defined(MBED_APP_START)
4852
#define MBED_APP_START MBED_ROM_START
4953
#endif
@@ -52,6 +56,10 @@ ENTRY(Reset_Handler)
5256
#define MBED_ROM_SIZE 0x000FE000
5357
#endif
5458

59+
/* MBED_APP_SIZE is being used by the bootloader build script and
60+
* will be calculate by the system. Without bootloader the MBED_APP_SIZE
61+
* is equal to MBED_ROM_SIZE
62+
*/
5563
#if !defined(MBED_APP_SIZE)
5664
#define MBED_APP_SIZE MBED_ROM_SIZE
5765
#endif

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8C62XX/TARGET_MCU_PSOC6_M4/device/TOOLCHAIN_IAR/cy8c6xx7_cm4_dual.icf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ if (!isdefinedsymbol(MBED_ROM_START)) {
4545
define symbol MBED_ROM_START = 0x10002000;
4646
}
4747

48+
/* MBED_APP_START is being used by the bootloader build script and
49+
* will be calculate by the system. Without bootloader the MBED_APP_START
50+
* is equal to MBED_ROM_START
51+
*/
4852
if (!isdefinedsymbol(MBED_APP_START)) {
4953
define symbol MBED_APP_START = MBED_ROM_START;
5054
}
@@ -53,6 +57,10 @@ if (!isdefinedsymbol(MBED_ROM_SIZE)) {
5357
define symbol MBED_ROM_SIZE = 0x000FE000;
5458
}
5559

60+
/* MBED_APP_SIZE is being used by the bootloader build script and
61+
* will be calculate by the system. Without bootloader the MBED_APP_SIZE
62+
* is equal to MBED_ROM_SIZE
63+
*/
5664
if (!isdefinedsymbol(MBED_APP_SIZE)) {
5765
define symbol MBED_APP_SIZE = MBED_ROM_SIZE;
5866
}

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_BLE/device/TOOLCHAIN_ARM_STD/cy8c6xx7_cm4_dual.sct

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,22 @@
4646
#define MBED_ROM_START 0x10002000
4747
#endif
4848

49+
;* MBED_APP_START is being used by the bootloader build script and
50+
;* will be calculate by the system. Without bootloader the MBED_APP_START
51+
;* is equal to MBED_ROM_START
52+
;*
4953
#if !defined(MBED_APP_START)
5054
#define MBED_APP_START MBED_ROM_START
5155
#endif
5256

53-
5457
#if !defined(MBED_ROM_SIZE)
5558
#define MBED_ROM_SIZE 0x000FE000
5659
#endif
5760

61+
;* MBED_APP_SIZE is being used by the bootloader build script and
62+
;* will be calculate by the system. Without bootloader the MBED_APP_SIZE
63+
;* is equal to MBED_ROM_SIZE
64+
;*
5865
#if !defined(MBED_APP_SIZE)
5966
#define MBED_APP_SIZE MBED_ROM_SIZE
6067
#endif

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_BLE/device/TOOLCHAIN_GCC_ARM/cy8c6xx7_cm4_dual.ld

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ ENTRY(Reset_Handler)
4444
#define MBED_ROM_START 0x10002000
4545
#endif
4646

47+
/* MBED_APP_START is being used by the bootloader build script and
48+
* will be calculate by the system. Without bootloader the MBED_APP_START
49+
* is equal to MBED_ROM_START
50+
*/
4751
#if !defined(MBED_APP_START)
4852
#define MBED_APP_START MBED_ROM_START
4953
#endif
@@ -52,6 +56,10 @@ ENTRY(Reset_Handler)
5256
#define MBED_ROM_SIZE 0x000FE000
5357
#endif
5458

59+
/* MBED_APP_SIZE is being used by the bootloader build script and
60+
* will be calculate by the system. Without bootloader the MBED_APP_SIZE
61+
* is equal to MBED_ROM_SIZE
62+
*/
5563
#if !defined(MBED_APP_SIZE)
5664
#define MBED_APP_SIZE MBED_ROM_SIZE
5765
#endif

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_BLE/device/TOOLCHAIN_IAR/cy8c6xx7_cm4_dual.icf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ if (!isdefinedsymbol(MBED_ROM_START)) {
4545
define symbol MBED_ROM_START = 0x10002000;
4646
}
4747

48+
/* MBED_APP_START is being used by the bootloader build script and
49+
* will be calculate by the system. Without bootloader the MBED_APP_START
50+
* is equal to MBED_ROM_START
51+
*/
4852
if (!isdefinedsymbol(MBED_APP_START)) {
4953
define symbol MBED_APP_START = MBED_ROM_START;
5054
}
@@ -53,6 +57,10 @@ if (!isdefinedsymbol(MBED_ROM_SIZE)) {
5357
define symbol MBED_ROM_SIZE = 0x000FE000;
5458
}
5559

60+
/* MBED_APP_SIZE is being used by the bootloader build script and
61+
* will be calculate by the system. Without bootloader the MBED_APP_SIZE
62+
* is equal to MBED_ROM_SIZE
63+
*/
5664
if (!isdefinedsymbol(MBED_APP_SIZE)) {
5765
define symbol MBED_APP_SIZE = MBED_ROM_SIZE;
5866
}

0 commit comments

Comments
 (0)