Skip to content

Commit e5d970d

Browse files
committed
FUTURE SEQUANA: Fixed linker scripts for ARMC6
Also enabled ARMC6 compiler for FUTURE_SEQUANA family of targets.
1 parent 48d12c3 commit e5d970d

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_CY8C63XX/TARGET_MCU_PSOC6_M0/device/TOOLCHAIN_ARM_STD/cy8c6xx7_cm0plus.sct

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@ LR_IROM1 FLASH_START (FLASH_SIZE - 0x8000)
142142
* (.noinit)
143143
}
144144

145-
ARM_LIB_STACK RAM_START+RAM_SIZE EMPTY -Stack_Size
145+
; Application heap area (HEAP)
146+
ARM_LIB_HEAP +0
147+
{
148+
* (HEAP)
149+
}
150+
151+
ARM_LIB_STACK RAM_START + RAM_SIZE EMPTY - Stack_Size
146152
{ ; Stack region growing down
147153
}
148154
}

targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_CY8C63XX/TARGET_MCU_PSOC6_M4/device/TOOLCHAIN_ARM_STD/cy8c6xx7_cm4_dual.sct

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,23 @@ LR_IROM1 FLASH_START FLASH_SIZE
132132
.ANY (+RW, +ZI)
133133
}
134134

135-
ARM_LIB_STACK RAM_START+RAM_SIZE EMPTY -Stack_Size
136-
{ ; Stack region growing down
137-
}
138-
139135
; Place variables in the section that should not be initialized during the
140136
; device startup.
141137
RW_IRAM1 +0 UNINIT
142138
{
143139
* (.noinit)
144140
}
145141

142+
; Application heap area (HEAP)
143+
ARM_LIB_HEAP +0
144+
{
145+
* (HEAP)
146+
}
147+
148+
ARM_LIB_STACK RAM_START + RAM_SIZE EMPTY - Stack_Size
149+
{ ; Stack region growing down
150+
}
151+
146152
; Used for the digital signature of the secure application and the
147153
; Bootloader SDK appication. The size of the section depends on the required
148154
; data size.

targets/targets.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8328,6 +8328,7 @@
83288328
},
83298329
"FUTURE_SEQUANA_M0": {
83308330
"inherits": ["MCU_PSOC6_M0"],
8331+
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
83318332
"supported_form_factors": ["ARDUINO"],
83328333
"extra_labels_add": ["PSOC6_FUTURE", "CY8C63XX", "FUTURE_SEQUANA"],
83338334
"extra_labels_remove": ["PSOC6"],
@@ -8357,6 +8358,7 @@
83578358
},
83588359
"FUTURE_SEQUANA": {
83598360
"inherits": ["MCU_PSOC6_M4"],
8361+
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
83608362
"supported_form_factors": ["ARDUINO"],
83618363
"extra_labels_add": ["PSOC6_FUTURE", "CY8C63XX", "CORDIO"],
83628364
"extra_labels_remove": ["PSOC6"],

0 commit comments

Comments
 (0)