File tree Expand file tree Collapse file tree 5 files changed +10
-15
lines changed
targets/TARGET_ARM_SSG/TARGET_MPS2
TARGET_MPS2_M0P/device/TOOLCHAIN_ARM_STD
TARGET_MPS2_M0/device/TOOLCHAIN_ARM_STD
TARGET_MPS2_M3/device/TOOLCHAIN_ARM_STD
TARGET_MPS2_M4/device/TOOLCHAIN_ARM_STD
TARGET_MPS2_M7/device/TOOLCHAIN_ARM_STD Expand file tree Collapse file tree 5 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 58
58
# endif
59
59
#endif
60
60
61
- ; 8_byte_aligned(48 vect * 4 bytes) = 8_byte_aligned(0xC0) = 0xC0
61
+ ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
62
62
#define VECTOR_SIZE 0x100
63
63
64
64
#define RAM_FIXED_SIZE (MBED_CONF_TARGET_BOOT_STACK_SIZE + VECTOR_SIZE)
65
65
66
66
#define MBED_RAM1_START (MBED_RAM_START + VECTOR_SIZE)
67
- #define MBED_RAM1_SIZE (MBED_RAM_SIZE - VECTOR_SIZE)
67
+ #define MBED_RAM1_SIZE (MBED_RAM_SIZE - MBED_CONF_TARGET_BOOT_STACK_SIZE - VECTOR_SIZE)
68
68
69
69
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
70
70
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
@@ -73,7 +73,6 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
73
73
*(+RO)
74
74
}
75
75
76
- ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
77
76
RW_IRAM1 MBED_RAM1_START MBED_RAM1_SIZE { ; RW data
78
77
*(+RW +ZI)
79
78
}
Original file line number Diff line number Diff line change 58
58
# endif
59
59
#endif
60
60
61
- ; 8_byte_aligned(48 vect * 4 bytes) = 8_byte_aligned(0xC0) = 0xC0
61
+ ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
62
62
#define VECTOR_SIZE 0x100
63
63
64
64
#define RAM_FIXED_SIZE (MBED_CONF_TARGET_BOOT_STACK_SIZE + VECTOR_SIZE)
65
65
66
66
#define MBED_RAM1_START (MBED_RAM_START + VECTOR_SIZE)
67
- #define MBED_RAM1_SIZE (MBED_RAM_SIZE - VECTOR_SIZE)
67
+ #define MBED_RAM1_SIZE (MBED_RAM_SIZE - MBED_CONF_TARGET_BOOT_STACK_SIZE - VECTOR_SIZE)
68
68
69
69
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
70
70
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
@@ -73,7 +73,6 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
73
73
*(+RO)
74
74
}
75
75
76
- ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
77
76
RW_IRAM1 MBED_RAM1_START MBED_RAM1_SIZE { ; RW data
78
77
*(+RW +ZI)
79
78
}
Original file line number Diff line number Diff line change 59
59
# endif
60
60
#endif
61
61
62
- ; 8_byte_aligned(48 vect * 4 bytes) = 8_byte_aligned(0xC0) = 0xC0
62
+ ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
63
63
#define VECTOR_SIZE 0x100
64
64
65
65
#define RAM_FIXED_SIZE (MBED_CONF_TARGET_BOOT_STACK_SIZE + VECTOR_SIZE)
66
66
67
67
#define MBED_RAM1_START (MBED_RAM_START + VECTOR_SIZE)
68
- #define MBED_RAM1_SIZE (MBED_RAM_SIZE - VECTOR_SIZE)
68
+ #define MBED_RAM1_SIZE (MBED_RAM_SIZE - MBED_CONF_TARGET_BOOT_STACK_SIZE - VECTOR_SIZE)
69
69
70
70
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
71
71
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
@@ -74,7 +74,6 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
74
74
*(+RO)
75
75
}
76
76
77
- ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
78
77
RW_IRAM1 MBED_RAM1_START MBED_RAM1_SIZE { ; RW data
79
78
*(+RW +ZI)
80
79
}
Original file line number Diff line number Diff line change 59
59
# endif
60
60
#endif
61
61
62
- ; 8_byte_aligned(48 vect * 4 bytes) = 8_byte_aligned(0xC0) = 0xC0
62
+ ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
63
63
#define VECTOR_SIZE 0x100
64
64
65
65
#define RAM_FIXED_SIZE (MBED_CONF_TARGET_BOOT_STACK_SIZE + VECTOR_SIZE)
66
66
67
67
#define MBED_RAM1_START (MBED_RAM_START + VECTOR_SIZE)
68
- #define MBED_RAM1_SIZE (MBED_RAM_SIZE - VECTOR_SIZE)
68
+ #define MBED_RAM1_SIZE (MBED_RAM_SIZE - MBED_CONF_TARGET_BOOT_STACK_SIZE - VECTOR_SIZE)
69
69
70
70
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
71
71
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
@@ -74,7 +74,6 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
74
74
*(+RO)
75
75
}
76
76
77
- ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
78
77
RW_IRAM1 MBED_RAM1_START MBED_RAM1_SIZE { ; RW data
79
78
*(+RW +ZI)
80
79
}
Original file line number Diff line number Diff line change 60
60
# endif
61
61
#endif
62
62
63
- ; 8_byte_aligned(48 vect * 4 bytes) = 8_byte_aligned(0xC0) = 0xC0
63
+ ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
64
64
#define VECTOR_SIZE 0x100
65
65
66
66
#define RAM_FIXED_SIZE (MBED_CONF_TARGET_BOOT_STACK_SIZE + VECTOR_SIZE)
67
67
68
68
#define MBED_RAM1_START (MBED_RAM_START + VECTOR_SIZE)
69
- #define MBED_RAM1_SIZE (MBED_RAM_SIZE - VECTOR_SIZE)
69
+ #define MBED_RAM1_SIZE (MBED_RAM_SIZE - MBED_CONF_TARGET_BOOT_STACK_SIZE - VECTOR_SIZE)
70
70
71
71
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
72
72
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
@@ -75,7 +75,6 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
75
75
*(+RO)
76
76
}
77
77
78
- ; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
79
78
RW_IRAM1 MBED_RAM1_START MBED_RAM1_SIZE { ; RW data
80
79
*(+RW +ZI)
81
80
}
You can’t perform that action at this time.
0 commit comments