zephyr/tests/application_development/code_relocation
Daniel DeGrasse 47271ce8be treewide: update usage of zephyr_code_relocate
Update usage of zephyr_code_relocate to follow new API. The old method
of relocating a file was the following directive:

zephyr_code_relocate(file location)

The new API for zephyr_code_relocate uses the following directive:

zephyr_code_relocate(FILES file LOCATION location)

update in tree usage to follow this model. Also, update the NXP HAL SHA,
as NXP's HAL uses this macro as well.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-01-17 18:08:37 +01:00
..
src includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
CMakeLists.txt treewide: update usage of zephyr_code_relocate 2023-01-17 18:08:37 +01:00
custom-sections.ld
Kconfig arch/riscv: support CONFIG_CODE_DATA_RELOCATION 2022-08-24 10:08:06 +02:00
linker_arm_sram2.ld
linker_riscv_qemu_sram2.ld tests: remove incorrect comment from code_relocation for RISCV 2022-10-03 10:09:53 +02:00
linker_xtensa_qemu_sram2.ld arch/xtensa: Enable code relocation 2022-11-03 10:25:07 +01:00
prj_riscv.conf arch/riscv: support CONFIG_CODE_DATA_RELOCATION 2022-08-24 10:08:06 +02:00
prj_xtensa.conf arch/xtensa: Enable code relocation 2022-11-03 10:25:07 +01:00
prj.conf
README.rst
testcase.yaml yamllint: fix all yamllint line-length errors 2023-01-04 01:16:45 +09:00

.. _code_relocation:

Code relocation
#################

Overview
********
A simple example that demonstrates how relocation of code, data or bss sections
using a custom linker script.