zephyr/cmake/modules
Sylvain Chouleur 4454734d12 scripts: code_relocate: support section filter
One might want to select the symbols to be relocated inside a file or
a library. To do this, one can use the FILTER argument of
zephyr_code_relocate which must contain a regular expression of the
section names to be selected for relocation.

The test_function_in_sram2 test case in
`tests/application_development/code_relocation` has been updated to
verify that only one function `function_in_sram()` is relocated to ram
and that the function `function_not_relocated()` is not being relocated
when using relocation filter.

Signed-off-by: Sylvain Chouleur <sylvain.chouleur@gmail.com>
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2025-02-14 03:02:56 +01:00
..
arch_v1.cmake
arch_v2.cmake
basic_settings.cmake
boards.cmake
ccache.cmake
configuration_files.cmake
doc.cmake
dts.cmake
extensions.cmake scripts: code_relocate: support section filter 2025-02-14 03:02:56 +01:00
Findarmclang.cmake
FindBabbleSim.cmake
FindDeprecated.cmake
FindDtc.cmake
FindGnuLd.cmake
FindHostTools.cmake
FindLlvmLld.cmake
FindoneApi.cmake
FindScaTools.cmake
FindTargetTools.cmake
FindThreads.cmake
FindZephyr-sdk.cmake
generated_file_directories.cmake
git.cmake
hwm_v2.cmake
kconfig.cmake
kernel.cmake
pre_dt.cmake
python.cmake
root.cmake
shields.cmake
snippets.cmake
soc_v1.cmake
soc_v2.cmake
unittest.cmake
user_cache.cmake
version.cmake
west.cmake
yaml.cmake
zephyr_default.cmake
zephyr_module.cmake