This sample provides an example for using the code relocation feature. This example will place text,data,bss from 3 files to various parts in the SRAM. For this a custom linker file is used which is derived from include/arch/arm/cortex_m/scripts/linker.ld. Signed-off-by: Varun Sharma <varun.sharma@intel.com> Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
13 lines
277 B
YAML
13 lines
277 B
YAML
sample:
|
|
description: Code data relocation Sample
|
|
name: code relocation
|
|
tests:
|
|
test:
|
|
harness: console
|
|
harness_config:
|
|
type: one_line
|
|
regex:
|
|
- "Hello World! (.*)"
|
|
platform_whitelist: qemu_cortex_m3 mps2_an385 sam_e70_xplained
|
|
tags: linker
|