zephyr/samples/net/zperf/Kconfig
Daniel DeGrasse 68952095a5 samples: net: zperf: allow networking code to be relocated to RAM
Enable relocation of key networking stack functions to RAM when running
the zperf example. This will enable better performance on platforms with
fast code RAM.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-01-26 12:57:02 +01:00

23 lines
522 B
Plaintext

# Copyright 2023 NXP
# SPDX-License-Identifier: Apache-2.0
source "Kconfig.zephyr"
config NET_SAMPLE_CODE_RELOCATE
bool "Relocate networking code into RAM"
select CODE_DATA_RELOCATION
help
Relocate networking code into RAM when running the zperf
sample. Can improve performance on platforms with fast code
RAM.
if NET_SAMPLE_CODE_RELOCATE
config NET_SAMPLE_CODE_RAM_NAME
string "Networking code RAM location"
default "RAM"
help
Region to relocate networking code to
endif # NET_SAMPLE_CODE_RELOCATE