Adding documentation for MBED_APP_START and MBED_APP_SIZE in TARGET_CY8C62XX and TARGET_CY8CKIT_062_BLE linker scripts

pull/10158/head
Yossi Levy 2019-03-13 15:46:26 +02:00 committed by Martin Kojtal
parent 25be419d65
commit 2ac05a0ec0
6 changed files with 48 additions and 1 deletions

View File

@ -46,6 +46,10 @@
#define MBED_ROM_START 0x10002000 #define MBED_ROM_START 0x10002000
#endif #endif
;* MBED_APP_START is being used by the bootloader build script and
;* will be calculate by the system. Without bootloader the MBED_APP_START
;* is equal to MBED_ROM_START
;*
#if !defined(MBED_APP_START) #if !defined(MBED_APP_START)
#define MBED_APP_START MBED_ROM_START #define MBED_APP_START MBED_ROM_START
#endif #endif
@ -54,6 +58,10 @@
#define MBED_ROM_SIZE 0x000FE000 #define MBED_ROM_SIZE 0x000FE000
#endif #endif
;* MBED_APP_SIZE is being used by the bootloader build script and
;* will be calculate by the system. Without bootloader the MBED_APP_SIZE
;* is equal to MBED_ROM_SIZE
;*
#if !defined(MBED_APP_SIZE) #if !defined(MBED_APP_SIZE)
#define MBED_APP_SIZE MBED_ROM_SIZE #define MBED_APP_SIZE MBED_ROM_SIZE
#endif #endif

View File

@ -44,6 +44,10 @@ ENTRY(Reset_Handler)
#define MBED_ROM_START 0x10002000 #define MBED_ROM_START 0x10002000
#endif #endif
/* MBED_APP_START is being used by the bootloader build script and
* will be calculate by the system. Without bootloader the MBED_APP_START
* is equal to MBED_ROM_START
*/
#if !defined(MBED_APP_START) #if !defined(MBED_APP_START)
#define MBED_APP_START MBED_ROM_START #define MBED_APP_START MBED_ROM_START
#endif #endif
@ -52,6 +56,10 @@ ENTRY(Reset_Handler)
#define MBED_ROM_SIZE 0x000FE000 #define MBED_ROM_SIZE 0x000FE000
#endif #endif
/* MBED_APP_SIZE is being used by the bootloader build script and
* will be calculate by the system. Without bootloader the MBED_APP_SIZE
* is equal to MBED_ROM_SIZE
*/
#if !defined(MBED_APP_SIZE) #if !defined(MBED_APP_SIZE)
#define MBED_APP_SIZE MBED_ROM_SIZE #define MBED_APP_SIZE MBED_ROM_SIZE
#endif #endif

View File

@ -45,6 +45,10 @@ if (!isdefinedsymbol(MBED_ROM_START)) {
define symbol MBED_ROM_START = 0x10002000; define symbol MBED_ROM_START = 0x10002000;
} }
/* MBED_APP_START is being used by the bootloader build script and
* will be calculate by the system. Without bootloader the MBED_APP_START
* is equal to MBED_ROM_START
*/
if (!isdefinedsymbol(MBED_APP_START)) { if (!isdefinedsymbol(MBED_APP_START)) {
define symbol MBED_APP_START = MBED_ROM_START; define symbol MBED_APP_START = MBED_ROM_START;
} }
@ -53,6 +57,10 @@ if (!isdefinedsymbol(MBED_ROM_SIZE)) {
define symbol MBED_ROM_SIZE = 0x000FE000; define symbol MBED_ROM_SIZE = 0x000FE000;
} }
/* MBED_APP_SIZE is being used by the bootloader build script and
* will be calculate by the system. Without bootloader the MBED_APP_SIZE
* is equal to MBED_ROM_SIZE
*/
if (!isdefinedsymbol(MBED_APP_SIZE)) { if (!isdefinedsymbol(MBED_APP_SIZE)) {
define symbol MBED_APP_SIZE = MBED_ROM_SIZE; define symbol MBED_APP_SIZE = MBED_ROM_SIZE;
} }

View File

@ -46,15 +46,22 @@
#define MBED_ROM_START 0x10002000 #define MBED_ROM_START 0x10002000
#endif #endif
;* MBED_APP_START is being used by the bootloader build script and
;* will be calculate by the system. Without bootloader the MBED_APP_START
;* is equal to MBED_ROM_START
;*
#if !defined(MBED_APP_START) #if !defined(MBED_APP_START)
#define MBED_APP_START MBED_ROM_START #define MBED_APP_START MBED_ROM_START
#endif #endif
#if !defined(MBED_ROM_SIZE) #if !defined(MBED_ROM_SIZE)
#define MBED_ROM_SIZE 0x000FE000 #define MBED_ROM_SIZE 0x000FE000
#endif #endif
;* MBED_APP_SIZE is being used by the bootloader build script and
;* will be calculate by the system. Without bootloader the MBED_APP_SIZE
;* is equal to MBED_ROM_SIZE
;*
#if !defined(MBED_APP_SIZE) #if !defined(MBED_APP_SIZE)
#define MBED_APP_SIZE MBED_ROM_SIZE #define MBED_APP_SIZE MBED_ROM_SIZE
#endif #endif

View File

@ -44,6 +44,10 @@ ENTRY(Reset_Handler)
#define MBED_ROM_START 0x10002000 #define MBED_ROM_START 0x10002000
#endif #endif
/* MBED_APP_START is being used by the bootloader build script and
* will be calculate by the system. Without bootloader the MBED_APP_START
* is equal to MBED_ROM_START
*/
#if !defined(MBED_APP_START) #if !defined(MBED_APP_START)
#define MBED_APP_START MBED_ROM_START #define MBED_APP_START MBED_ROM_START
#endif #endif
@ -52,6 +56,10 @@ ENTRY(Reset_Handler)
#define MBED_ROM_SIZE 0x000FE000 #define MBED_ROM_SIZE 0x000FE000
#endif #endif
/* MBED_APP_SIZE is being used by the bootloader build script and
* will be calculate by the system. Without bootloader the MBED_APP_SIZE
* is equal to MBED_ROM_SIZE
*/
#if !defined(MBED_APP_SIZE) #if !defined(MBED_APP_SIZE)
#define MBED_APP_SIZE MBED_ROM_SIZE #define MBED_APP_SIZE MBED_ROM_SIZE
#endif #endif

View File

@ -45,6 +45,10 @@ if (!isdefinedsymbol(MBED_ROM_START)) {
define symbol MBED_ROM_START = 0x10002000; define symbol MBED_ROM_START = 0x10002000;
} }
/* MBED_APP_START is being used by the bootloader build script and
* will be calculate by the system. Without bootloader the MBED_APP_START
* is equal to MBED_ROM_START
*/
if (!isdefinedsymbol(MBED_APP_START)) { if (!isdefinedsymbol(MBED_APP_START)) {
define symbol MBED_APP_START = MBED_ROM_START; define symbol MBED_APP_START = MBED_ROM_START;
} }
@ -53,6 +57,10 @@ if (!isdefinedsymbol(MBED_ROM_SIZE)) {
define symbol MBED_ROM_SIZE = 0x000FE000; define symbol MBED_ROM_SIZE = 0x000FE000;
} }
/* MBED_APP_SIZE is being used by the bootloader build script and
* will be calculate by the system. Without bootloader the MBED_APP_SIZE
* is equal to MBED_ROM_SIZE
*/
if (!isdefinedsymbol(MBED_APP_SIZE)) { if (!isdefinedsymbol(MBED_APP_SIZE)) {
define symbol MBED_APP_SIZE = MBED_ROM_SIZE; define symbol MBED_APP_SIZE = MBED_ROM_SIZE;
} }