mirror of https://github.com/ARMmbed/mbed-os.git
Adding documentation for MBED_APP_START and MBED_APP_SIZE in TARGET_CY8C62XX and TARGET_CY8CKIT_062_BLE linker scripts
parent
25be419d65
commit
2ac05a0ec0
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue