Skip to content

Commit 664e710

Browse files
danieldegrassehenrikbrixandersen
authored andcommitted
samples: net: zperf: relocate stack to RAM for iMX RT boards
Relocate network stack to RAM for iMX RT boards when running the zperf sample. Relocating the network stack to ITCM greatly improves performance on these platforms. Also, remove overlays for the RT1050 and RT1060 setting the system timer to systick. This is no longer required as this is the default timer for these boards. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 6895209 commit 664e710

File tree

6 files changed

+12
-28
lines changed

6 files changed

+12
-28
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Note: HW accleration does not support IPV6
22
CONFIG_ETH_MCUX_HW_ACCELERATION=y
3+
CONFIG_NET_SAMPLE_CODE_RELOCATE=y
4+
CONFIG_NET_SAMPLE_CODE_RAM_NAME="ITCM"

samples/net/zperf/boards/mimxrt1050_evk.overlay

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Note: HW accleration does not support IPV6
22
CONFIG_ETH_MCUX_HW_ACCELERATION=y
3+
CONFIG_NET_SAMPLE_CODE_RELOCATE=y
4+
CONFIG_NET_SAMPLE_CODE_RAM_NAME="ITCM"

samples/net/zperf/boards/mimxrt1060_evk.overlay

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Note: HW accleration does not support IPV6
2+
CONFIG_ETH_MCUX_HW_ACCELERATION=y
3+
CONFIG_NET_SAMPLE_CODE_RELOCATE=y
4+
CONFIG_NET_SAMPLE_CODE_RAM_NAME="ITCM"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Note: HW accleration does not support IPV6
2+
CONFIG_ETH_MCUX_HW_ACCELERATION=y
3+
CONFIG_NET_SAMPLE_CODE_RELOCATE=y
4+
CONFIG_NET_SAMPLE_CODE_RAM_NAME="ITCM"

0 commit comments

Comments
 (0)