Skip to content

Commit b820432

Browse files
committed
【添加】新绑定函数自动补全提示信息
1 parent f4c2922 commit b820432

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/code-completion/rtthread.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ def is_preempt_thread() -> None:
1313
def stacks_analyze() -> None:
1414
"""返回当前系统线程和栈使用信息。"""
1515
...
16+
17+
def list_device() -> None:
18+
"""列出当前板卡上可使用的设备信息,包括设备名和设备类型。"""
19+
...

docs/code-completion/uos.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ def stat(path : str) -> None:
3737
def sync() -> None:
3838
"""同步所有的文件系统。"""
3939
...
40+
41+
def mkfs(fs_type : str, dev_name : str) -> None:
42+
"""在指定的设备上创建 fs_type 类型的文件系统。example: os.mkfs("elm", "fs")"""
43+
...

0 commit comments

Comments
 (0)