Skip to content

Commit 269587e

Browse files
authored
Update RAM savings values
1 parent 3fcdb25 commit 269587e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/components/esp32.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ LWIP (Lightweight IP) behavior. Some options improve performance while others sa
172172
the TCP/IP stack from multiple threads. This helps catch thread safety issues when core locking is enabled. Defaults to `true`.
173173

174174
- **disable_libc_locks_in_iram** (*Optional*, boolean): Disable placing libc lock functions in IRAM. This saves approximately
175-
1.6KB of IRAM by placing these functions in flash memory instead. This is safe for ESPHome since no IRAM interrupt service
175+
1.3 KB of IRAM by placing these functions in flash memory instead. This is safe for ESPHome since no IRAM interrupt service
176176
routines (ISRs that run while cache is disabled) use libc lock APIs. Defaults to `true` (IRAM placement disabled to save RAM).
177177

178178
Some options can be disabled to save flash memory without affecting typical ESPHome functionality. The performance
@@ -193,7 +193,7 @@ esp32:
193193
enable_lwip_check_thread_safety: true # Thread safety validation
194194
195195
# Memory saving options
196-
disable_libc_locks_in_iram: true # Enabled by default, saves 1.6KB IRAM
196+
disable_libc_locks_in_iram: true # Enabled by default, saves 1.3 KB IRAM
197197
enable_lwip_dhcp_server: false # Disabled by default, only needed for AP mode
198198
enable_lwip_mdns_queries: false # Enabled by default, can disable if not using .local hostnames
199199
enable_lwip_bridge_interface: false # Disabled by default

0 commit comments

Comments
 (0)