Skip to content

Commit 80a5ec8

Browse files
committed
feat(iperf): Add minimum IRAM test config
1 parent f56cc82 commit 80a5ec8

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# ------------------------------------------------------------------------
2+
# LOW PERFORMANCE BASELINE: IRAM Optimizations Disabled for Validation
3+
# ------------------------------------------------------------------------
4+
# This configuration is intentionally set up to represent a *worst-case*
5+
# performance profile:
6+
# - All IRAM optimizations for lwIP and Ethernet are disabled
7+
# - The goal is NOT to optimize but to validate that the system still works
8+
# and to establish a functional baseline under poor performance conditions
9+
#
10+
# DO NOT USE THIS CONFIG FOR PERFORMANCE BENCHMARKING!
11+
# It exists to validate stability and functionality in low-IRAM scenarios.
12+
13+
CONFIG_IDF_TARGET="esp32c2"
14+
15+
# Increase main task stack size
16+
CONFIG_ESP_MAIN_TASK_STACK_SIZE=7168
17+
18+
# Enable filesystem for console commands history storage
19+
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
20+
CONFIG_PARTITION_TABLE_CUSTOM=y
21+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv"
22+
CONFIG_PARTITION_TABLE_FILENAME="partitions_example.csv"
23+
24+
# Enable FreeRTOS stats formatting functions, needed for 'tasks' command
25+
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
26+
CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y
27+
28+
# Disable watch dog
29+
CONFIG_ESP_INT_WDT=n
30+
CONFIG_ESP_TASK_WDT_EN=n
31+
32+
# Disable lwIP IRAM optimization
33+
CONFIG_LWIP_IRAM_OPTIMIZATION=n
34+
CONFIG_LWIP_EXTRA_IRAM_OPTIMIZATION=n
35+
36+
# Disable Ethernet IRAM optimization
37+
CONFIG_ETH_IRAM_OPTIMIZATION=n
38+
39+
# Choose w5500
40+
CONFIG_EXAMPLE_USE_SPI_ETHERNET=y
41+
CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=n
42+
CONFIG_EXAMPLE_SPI_ETHERNETS_NUM=1
43+
CONFIG_EXAMPLE_USE_W5500=y
44+
CONFIG_EXAMPLE_ETH_SPI_CLOCK_MHZ=20

0 commit comments

Comments
 (0)