summaryrefslogtreecommitdiff
path: root/docs/source/quick_start/transplant.rst
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-03-04 18:54:30 +0800
committersakumisu <[email protected]>2025-03-04 18:54:30 +0800
commit44dc3c00f6987ff7de566da8fc69ce55578ff17d (patch)
treee72af604cb15cdacd66eee9d3eac530b53052e04 /docs/source/quick_start/transplant.rst
parent4d5aa30778756b369bcccce3513ddf48328850bb (diff)
docs: release v1.4.3v1.4.3release/v1.4
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'docs/source/quick_start/transplant.rst')
-rw-r--r--docs/source/quick_start/transplant.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/quick_start/transplant.rst b/docs/source/quick_start/transplant.rst
index 0f8e4b92..bde9d830 100644
--- a/docs/source/quick_start/transplant.rst
+++ b/docs/source/quick_start/transplant.rst
@@ -76,6 +76,8 @@ GCC 举例如下:
协议栈以及 port 中不会对 cache 区域的 ram 进行 clean 或者 invalid,所以需要使用一块非 cache 区域的 ram 来维护。 `USB_NOCACHE_RAM_SECTION` 宏表示将变量指定到非 cache ram上,
因此,用户需要在对应的链接脚本中添加 no cache ram 的 section。默认 `USB_NOCACHE_RAM_SECTION` 定义为 `__attribute__((section(".noncacheable")))`。
+.. note:: 需要注意,光指定 section 是不够的,还需要配置该 section 中的 ram 是真的 nocache,一般需要配置 mpu 属性(arm 的参考 stm32h7 demo)。
+
GCC:
.. code-block:: C