[componnets][pin]add pin operate command in MSH (#5892)

* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get
2. 在MSH中增加了PIN的操作命令
3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
This commit is contained in:
xfwangqiang
2022-05-30 18:00:26 +08:00
committed by GitHub
parent 04a17d469a
commit e8d775f888
7 changed files with 403 additions and 29 deletions

View File

@@ -4,6 +4,7 @@ cwd = GetCurrentDir()
src = Split('''
shell.c
msh.c
msh_parse.c
''')
if GetDepend('MSH_USING_BUILT_IN_COMMANDS'):