Skip to content

Commit 3d9b7df

Browse files
committed
Fix the build failed issue of MPS2 targets with ARMC6.
Change-Id: I0205d381de331a827435d667c16297aaf5bb609e Signed-off-by: Shawn Shan <[email protected]>
1 parent 6374790 commit 3d9b7df

File tree

6 files changed

+20
-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

6 files changed

+20
-15
lines changed

targets/TARGET_ARM_SSG/TARGET_MPS2/TARGET_MPS2_M0/device/TOOLCHAIN_ARM_STD/MPS2.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ LR_IROM1 0x00000000 0x00400000 { ; load region size_region
4444
ER_IROM1 0x00000000 0x00400000 { ; load address = execution address
4545
*.o (RESET, +First)
4646
*(InRoot$$Sections)
47-
.ANY (+RO)
47+
*(+RO)
4848
}
4949
; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
5050
RW_IRAM1 (0x20000000+0x100) (0x400000-0x100-Stack_Size) { ; RW data
51-
.ANY (+RW +ZI)
51+
*(+RW +ZI)
5252
}
5353
ARM_LIB_STACK 0x20000000+0x400000 EMPTY -Stack_Size { ; Stack region growing down
5454
}

targets/TARGET_ARM_SSG/TARGET_MPS2/TARGET_MPS2_M0P/device/TOOLCHAIN_ARM_STD/MPS2.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ LR_IROM1 0x00000000 0x00400000 { ; load region size_region
4444
ER_IROM1 0x00000000 0x00400000 { ; load address = execution address
4545
*.o (RESET, +First)
4646
*(InRoot$$Sections)
47-
.ANY (+RO)
47+
*(+RO)
4848
}
4949
; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
5050
RW_IRAM1 (0x20000000+0x100) (0x400000-0x100-Stack_Size) { ; RW data
51-
.ANY (+RW +ZI)
51+
*(+RW +ZI)
5252
}
5353
ARM_LIB_STACK 0x20000000+0x400000 EMPTY -Stack_Size { ; Stack region growing down
5454
}

targets/TARGET_ARM_SSG/TARGET_MPS2/TARGET_MPS2_M3/device/TOOLCHAIN_ARM_STD/MPS2.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ LR_IROM1 0x00000000 0x00400000 { ; load region size_region
4444
ER_IROM1 0x00000000 0x00400000 { ; load address = execution address
4545
*.o (RESET, +First)
4646
*(InRoot$$Sections)
47-
.ANY (+RO)
47+
*(+RO)
4848
}
4949
; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
5050
RW_IRAM1 (0x20000000+0x100) (0x400000-0x100-Stack_Size) { ; RW data
51-
.ANY (+RW +ZI)
51+
*(+RW +ZI)
5252
}
5353
ARM_LIB_STACK 0x20000000+0x400000 EMPTY -Stack_Size { ; Stack region growing down
5454
}

targets/TARGET_ARM_SSG/TARGET_MPS2/TARGET_MPS2_M4/device/TOOLCHAIN_ARM_STD/MPS2.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ LR_IROM1 0x00000000 0x00400000 { ; load region size_region
4545
ER_IROM1 0x00000000 0x00400000 { ; load address = execution address
4646
*.o (RESET, +First)
4747
*(InRoot$$Sections)
48-
.ANY (+RO)
48+
*(+RO)
4949
}
5050
; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
5151
RW_IRAM1 (0x20000000+0x100) (0x400000-0x100-Stack_Size) { ; RW data
52-
.ANY (+RW +ZI)
52+
*(+RW +ZI)
5353
}
5454
ARM_LIB_STACK 0x20000000+0x400000 EMPTY -Stack_Size { ; Stack region growing down
5555
}

targets/TARGET_ARM_SSG/TARGET_MPS2/TARGET_MPS2_M7/device/TOOLCHAIN_ARM_STD/MPS2.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ LR_IROM1 0x00000000 0x00400000 { ; load region size_region
4545
ER_IROM1 0x00000000 0x00400000 { ; load address = execution address
4646
*.o (RESET, +First)
4747
*(InRoot$$Sections)
48-
.ANY (+RO)
48+
*(+RO)
4949
}
5050
; Total: 64 vectors = 256 bytes (0x100) to be reserved in RAM
5151
RW_IRAM1 (0x20000000+0x100) (0x400000-0x100-Stack_Size) { ; RW data
52-
.ANY (+RW +ZI)
52+
*(+RW +ZI)
5353
}
5454
ARM_LIB_STACK 0x20000000+0x400000 EMPTY -Stack_Size { ; Stack region growing down
5555
}

targets/targets.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5225,7 +5225,8 @@
52255225
"SERIAL",
52265226
"SPI",
52275227
"SPISLAVE",
5228-
"TSC"
5228+
"TSC",
5229+
"USTICKER"
52295230
],
52305231
"release_versions": ["2", "5"],
52315232
"copy_method": "mps2",
@@ -5250,7 +5251,8 @@
52505251
"SERIAL",
52515252
"SPI",
52525253
"SPISLAVE",
5253-
"TSC"
5254+
"TSC",
5255+
"USTICKER"
52545256
],
52555257
"release_versions": ["2", "5"],
52565258
"copy_method": "mps2",
@@ -5276,7 +5278,8 @@
52765278
"SPI",
52775279
"SPISLAVE",
52785280
"TSC",
5279-
"MPU"
5281+
"MPU",
5282+
"USTICKER"
52805283
],
52815284
"release_versions": ["2", "5"],
52825285
"copy_method": "mps2",
@@ -5302,7 +5305,8 @@
53025305
"SPI",
53035306
"SPISLAVE",
53045307
"TSC",
5305-
"MPU"
5308+
"MPU",
5309+
"USTICKER"
53065310
],
53075311
"release_versions": ["2", "5"],
53085312
"copy_method": "mps2",
@@ -5328,7 +5332,8 @@
53285332
"SPI",
53295333
"SPISLAVE",
53305334
"TSC",
5331-
"MPU"
5335+
"MPU",
5336+
"USTICKER"
53325337
],
53335338
"release_versions": ["2", "5"],
53345339
"copy_method": "mps2",

0 commit comments

Comments
 (0)