mirror of https://github.com/ARMmbed/mbed-os.git
Add baremetal support to S1SBP6A
parent
26606218ad
commit
d09c4b1383
|
@ -69,6 +69,11 @@
|
||||||
#define STACK_SIZE MBED_CONF_TARGET_BOOT_STACK_SIZE
|
#define STACK_SIZE MBED_CONF_TARGET_BOOT_STACK_SIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define RAM_FIXED_SIZE (MBED_CONF_TARGET_BOOT_STACK_SIZE + NVIC_VECTORS_SIZE)
|
||||||
|
|
||||||
|
#define MBED_RAM1_START (MBED_RAM_START + NVIC_VECTORS_SIZE)
|
||||||
|
#define MBED_RAM1_SIZE (MBED_RAM_SIZE - NVIC_VECTORS_SIZE - STACK_SIZE)
|
||||||
|
|
||||||
; The vector table is loaded at address 0x00000000 in Flash memory region.
|
; The vector table is loaded at address 0x00000000 in Flash memory region.
|
||||||
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
|
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
|
||||||
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
|
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
|
||||||
|
@ -77,9 +82,11 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
|
||||||
*(+RO)
|
*(+RO)
|
||||||
}
|
}
|
||||||
; NVIC_VECTORS_SIZE Total
|
; NVIC_VECTORS_SIZE Total
|
||||||
RW_IRAM1 (MBED_RAM_START + NVIC_VECTORS_SIZE) (MBED_RAM_SIZE - NVIC_VECTORS_SIZE - STACK_SIZE) { ; RW data
|
RW_IRAM1 MBED_RAM1_START MBED_RAM1_SIZE { ; RW data
|
||||||
*(+RW +ZI)
|
*(+RW +ZI)
|
||||||
}
|
}
|
||||||
|
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_SIZE - RAM_FIXED_SIZE - (AlignExpr(ImageLimit(RW_IRAM1), 16) - MBED_RAM1_START)) { ; Heap growing up
|
||||||
|
}
|
||||||
ARM_LIB_STACK (MBED_RAM_START + MBED_RAM_SIZE) EMPTY - STACK_SIZE { ; Stack region growing down
|
ARM_LIB_STACK (MBED_RAM_START + MBED_RAM_SIZE) EMPTY - STACK_SIZE { ; Stack region growing down
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7503,7 +7503,6 @@
|
||||||
"core": "Cortex-M7",
|
"core": "Cortex-M7",
|
||||||
"supported_toolchains": [
|
"supported_toolchains": [
|
||||||
"GCC_ARM",
|
"GCC_ARM",
|
||||||
"IAR",
|
|
||||||
"ARMC6"
|
"ARMC6"
|
||||||
],
|
],
|
||||||
"default_toolchain": "GCC_ARM",
|
"default_toolchain": "GCC_ARM",
|
||||||
|
@ -7559,7 +7558,7 @@
|
||||||
"core": "Cortex-M4F",
|
"core": "Cortex-M4F",
|
||||||
"supported_toolchains": [
|
"supported_toolchains": [
|
||||||
"GCC_ARM",
|
"GCC_ARM",
|
||||||
"ARMC6"
|
"ARM"
|
||||||
],
|
],
|
||||||
"default_toolchain": "GCC_ARM",
|
"default_toolchain": "GCC_ARM",
|
||||||
"extra_labels": [
|
"extra_labels": [
|
||||||
|
@ -7579,7 +7578,20 @@
|
||||||
"WATCHDOG"
|
"WATCHDOG"
|
||||||
],
|
],
|
||||||
"release_versions": ["5"],
|
"release_versions": ["5"],
|
||||||
"detect_code": ["3703"]
|
"detect_code": ["3703"],
|
||||||
|
"supported_c_libs": {
|
||||||
|
"arm": [
|
||||||
|
"std",
|
||||||
|
"small"
|
||||||
|
],
|
||||||
|
"gcc_arm": [
|
||||||
|
"std",
|
||||||
|
"small"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"supported_application_profiles": [
|
||||||
|
"full", "bare-metal"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"FAMILY_Apollo3": {
|
"FAMILY_Apollo3": {
|
||||||
"inherits": ["Target"],
|
"inherits": ["Target"],
|
||||||
|
|
Loading…
Reference in New Issue