How to define "Type 1 image structure" in a ARMCC scatter file?


I am currently trying to execute a bare-metal environment on Cortex M0+ MCU sram (load via debugger, and set program counter to execute from it)

By studying the "ARM Linker user guide", it seems the mentioned "Type 1 image structure, one load region and contiguous execution regions" is suitable for my needs.

But in the linker user guide, it only describes how to create the image using command line

$ armlink --ro_base 0x8000

My question is:

How can I create this kind of image manually using a scatter file?
(I only see scatter file examples in the documents in the Scatter-Loading features section)


More questions in this forum