Skip to content

Conversation

@bdraco
Copy link
Member

@bdraco bdraco commented Nov 29, 2025

Description:

Document the new freertos_in_iram advanced configuration option for ESP32.

This option allows users to control whether FreeRTOS functions are placed in IRAM or flash. By default, non-ISR FreeRTOS functions are now placed in flash to save up to 8 KB of IRAM. Testing on ESP-IDF 5.5 with Bluetooth proxies shows no performance difference thanks to fast XIP (execute in place) from flash.

This change prepares for ESP-IDF 6.0 where this becomes the default behavior and CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is removed entirely.

Related issue (if applicable): fixes espressif/esp-idf#17052

Pull request in esphome with YAML changes (if applicable):

Checklist:

  • I am merging into next because this is new documentation that has a matching pull-request in esphome as linked above.
    or

  • I am merging into current because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.

  • Link added in /components/index.rst when creating new documents for new components or cookbook.

@netlify
Copy link

netlify bot commented Nov 29, 2025

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit a5b7cb8
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/692abb4a6974e2000899e122
😎 Deploy Preview https://deploy-preview-5693--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@bdraco bdraco marked this pull request as ready for review November 29, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants