zephyr/cmake
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
..
app
bintools cmake: bintools: add --strip-unneeded flag to elfconvert 2025-01-27 08:54:44 +01:00
compiler llext: arc: enforce bitness match 2025-02-05 21:01:01 +01:00
emu boards: intel: ish: Improve Simics support 2024-12-12 16:22:34 +01:00
flash cmake: flash: update cmake to support rtt target 2024-11-21 11:01:55 +00:00
ide build: namespace autoconf.h with zephyr/ 2024-05-28 22:03:55 +02:00
linker Revert "cmake: remove enforcement of DWARF v4" 2024-12-20 16:05:23 +01:00
linker_script cmake: linker_script: move ztest to ROM 2025-02-05 14:56:54 +01:00
makefile_exports
modules scripts: code_relocate: support section filter 2025-02-14 03:02:56 +01:00
reports cmake: reports: Add support for JSON prefix 2025-02-12 20:16:47 +01:00
sca sca: added support for Polyspace tool 2025-01-07 14:13:13 +01:00
toolchain cmake: toolchain: Remove deprecated 'xtools' toolchain variant 2025-01-17 10:50:07 +01:00
usage cmake: targets: usage: add missing custom targets 2024-08-31 06:46:44 -04:00
util
cfb.cmake
extra_flags.cmake
gcc-m-cpu.cmake arch: Add Cortex-R8 support 2024-10-01 09:58:22 +02:00
gcc-m-fpu.cmake arch: Add Cortex-R8 support 2024-10-01 09:58:22 +02:00
gen_version_h.cmake cmake: Create git module 2024-09-12 10:04:05 +02:00
kobj.cmake build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
llext-edk.cmake llext-edk: import data from build_info.yml and .config 2025-02-07 17:45:45 +01:00
mcuboot.cmake cmake: mcuboot: Set encrypted header flag when key is used 2025-02-13 16:43:40 +01:00
package_helper.cmake cmake: move script mode handling from package helper to extensions.cmake 2024-10-08 17:00:30 +02:00
pristine.cmake
target_toolchain_flags.cmake cmake: source dedicated linker library properties for native builds 2024-11-16 15:28:20 -05:00
verify-toolchain.cmake
vif.cmake
yaml-filter.cmake cmake: yaml: add support for generator expressions 2025-01-30 14:10:53 +01:00