docs(cplusplus): remove the limitation on IRAM_ATTR for templates

The issue has been fixed since GCC 14.

Related to https://github.com/espressif/esp-idf/issues/4542
This commit is contained in:
Ivan Grokhotkov
2025-07-18 14:16:25 +08:00
parent 4302fa1dc0
commit c172f56013
2 changed files with 0 additions and 2 deletions

View File

@@ -200,7 +200,6 @@ ESP-IDF 支持 ``iostream`` 功能,但应注意:
-----------
- 链接脚本生成器不支持将具有 C++ 链接的函数单独放置在内存的特定位置。
- 当与模板函数一起使用时,会忽略各种节属性(例如 ``IRAM_ATTR``)。
- vtable 位于 flash 中,在禁用 flash 缓存时无法访问。因此,在 :ref:`iram-safe-interrupt-handlers` 中应避免调用虚拟函数。目前尚无法使用链接器脚本生成器调整 vtable 的放置位置。