Skip to content

Commit a5d53fc

Browse files
committed
Merge branch 'doc/remove_cpp_section_placement_limitation' into 'master'
docs(cplusplus): remove the limitation on IRAM_ATTR for templates See merge request espressif/esp-idf!40688
2 parents 61ccbbe + 5b71cc2 commit a5d53fc

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

docs/en/api-guides/cplusplus.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ Limitations
200200
-----------
201201

202202
- Linker script generator does not support function level placements for functions with C++ linkage.
203-
- Various section attributes (such as ``IRAM_ATTR``) are ignored when used with template functions.
204203
- Vtables are placed into Flash and are not accessible when the flash cache is disabled. Therefore, virtual function calls should be avoided in :ref:`iram-safe-interrupt-handlers`. Placement of Vtables cannot be adjusted using the linker script generator, yet.
205204

206205

docs/zh_CN/api-guides/cplusplus.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ ESP-IDF 支持 ``iostream`` 功能,但应注意:
200200
-----------
201201

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

206205

0 commit comments

Comments
 (0)