Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
/ mm32_sct Public archive

MM32 Scatter Files for Keil µVision at Link Phase.

Notifications You must be signed in to change notification settings

iclite/mm32_sct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

MM32_SCT

MM32 Scatter Files for Keil µVision at Link Phase (for armlink).

Scatter File

A scatter file contains one or more load regions. Each load region can contain one or more execution regions.

Arm Compiler 5

#!armcc -E

Arm Compiler for Embedded 6

#!armclang -E --target=arm-arm-none-eabi -mcpu=cortex-m3 -xc

Description

The option -E makes armclang only execute the preprocessor step. See -E

The mandatory option --target specifies the target state, either AArch32 state, as shown in this example, or AArch64 state. aarch64-arm-none-eabi or arm-arm-none-eabi. aarch64-arm-none-eabi, generates A64 instructions for AArch64 state. Implies -march=armv8-a unless -mcpu or -march is specified. arm-arm-none-eabi, generates A32/T32 instructions for AArch32 state. Must be used in conjunction with -march (to target an architecture) or -mcpu (to target a processor).

The option -mcpu specifies a processor, Cortex-M3 in this example. Alternatively, you can use -march to specify an architecture. See -mcpu and -march

The option -x specifies the source language. -xc is c language. See -x

See Preprocessing a scatter file when linking with armlink.

Usage

Project -> Options for 'XXXX' -> Linker -> Scatter File -> ... (File Picker) to open *.scat.

About

MM32 Scatter Files for Keil µVision at Link Phase.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published