Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_46254178
rt-thread
提交
4f53743e
R
rt-thread
项目概览
weixin_46254178
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
4f53743e
编写于
3月 29, 2022
作者:
G
guo
提交者:
GitHub
3月 29, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #5734 from Guozhanxin/finsh
[finsh] Fixed RT-Thread spelling
上级
be892de3
8763d8b7
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
21 addition
and
12 deletion
+21
-12
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction.h
...raries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction.h
+1
-1
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_config.h
...MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_config.h
+1
-1
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_rtthread.c
...MXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_rtthread.c
+5
-5
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_rtthread.h
...MXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_rtthread.h
+1
-1
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/generic_list.c
...rt/libraries/MIMXRT1050/MIMXRT1052/drivers/generic_list.c
+1
-1
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/generic_list.h
...rt/libraries/MIMXRT1050/MIMXRT1052/drivers/generic_list.h
+1
-1
components/finsh/cmd.c
components/finsh/cmd.c
+1
-1
components/finsh/msh.c
components/finsh/msh.c
+1
-1
tools/keil.py
tools/keil.py
+9
-0
未找到文件。
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction.h
浏览文件 @
4f53743e
...
...
@@ -809,4 +809,4 @@ void OSA_InstallIntHandler(uint32_t IRQNumber, void (*handler)(void));
}
#endif
/*! @}*/
#endif
\ No newline at end of file
#endif
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_config.h
浏览文件 @
4f53743e
...
...
@@ -33,4 +33,4 @@
#define FSL_OSA_TASK_ENABLE 1U
#endif
/* OSA_USED */
#endif
/* _FSL_OS_ABSTRACTION_CONFIG_H_ */
\ No newline at end of file
#endif
/* _FSL_OS_ABSTRACTION_CONFIG_H_ */
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_rtthread.c
浏览文件 @
4f53743e
...
...
@@ -379,7 +379,7 @@ osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle)
*END**************************************************************************/
osa_status_t
OSA_SemaphoreWait
(
osa_semaphore_handle_t
semaphoreHandle
,
uint32_t
millisec
)
{
u
int32_t
timeoutTicks
;
int32_t
timeoutTicks
;
assert
(
semaphoreHandle
);
rt_sem_t
sem
=
(
rt_sem_t
)(
void
*
)(
uint32_t
*
)(
*
(
uint32_t
*
)
semaphoreHandle
);
...
...
@@ -460,7 +460,7 @@ osa_status_t OSA_MutexCreate(osa_mutex_handle_t mutexHandle)
osa_status_t
OSA_MutexLock
(
osa_mutex_handle_t
mutexHandle
,
uint32_t
millisec
)
{
assert
(
mutexHandle
);
u
int32_t
timeoutTicks
;
int32_t
timeoutTicks
;
rt_mutex_t
mutex
=
(
rt_mutex_t
)(
void
*
)(
uint32_t
*
)(
*
(
uint32_t
*
)
mutexHandle
);
/* Convert timeout from millisecond to tick. */
...
...
@@ -642,7 +642,7 @@ osa_status_t OSA_EventWait(osa_event_handle_t eventHandle,
{
assert
(
eventHandle
);
rt_uint8_t
option
=
0
;
rt_
u
int32_t
timeoutTicks
;
rt_int32_t
timeoutTicks
;
rt_uint32_t
flagsSave
;
osa_event_struct_t
*
pEventStruct
=
(
osa_event_struct_t
*
)
eventHandle
;
...
...
@@ -778,7 +778,7 @@ osa_status_t OSA_MsgQGet(osa_msgq_handle_t msgqHandle, osa_msg_handle_t pMessage
assert
(
msgqHandle
);
rt_mq_t
handler
=
(
rt_mq_t
)(
void
*
)(
uint32_t
*
)(
*
(
uint32_t
*
)
msgqHandle
);
u
int32_t
timeoutTicks
;
int32_t
timeoutTicks
;
if
(
millisec
==
osaWaitForever_c
)
{
...
...
@@ -914,4 +914,4 @@ int main(void)
vTaskStartScheduler
();
return
0
;
}
#endif
/* FSL_OSA_TASK_ENABLE */
\ No newline at end of file
#endif
/* FSL_OSA_TASK_ENABLE */
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction_rtthread.h
浏览文件 @
4f53743e
...
...
@@ -127,4 +127,4 @@ extern void DefaultISR(void);
/*! @}*/
/*! @}*/
#endif // __FSL_OS_ABSTRACTION_RTTHREAD_H__
\ No newline at end of file
#endif // __FSL_OS_ABSTRACTION_RTTHREAD_H__
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/generic_list.c
浏览文件 @
4f53743e
...
...
@@ -472,4 +472,4 @@ uint32_t LIST_GetSize(list_handle_t list)
uint32_t
LIST_GetAvailableSize
(
list_handle_t
list
)
{
return
((
uint32_t
)
list
->
max
-
(
uint32_t
)
list
->
size
);
/*Gets the number of free places in the list*/
}
\ No newline at end of file
}
bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/generic_list.h
浏览文件 @
4f53743e
...
...
@@ -200,4 +200,4 @@ uint32_t LIST_GetAvailableSize(list_handle_t list);
}
#endif
/*! @}*/
#endif
/*_GENERIC_LIST_H_*/
\ No newline at end of file
#endif
/*_GENERIC_LIST_H_*/
components/finsh/cmd.c
浏览文件 @
4f53743e
...
...
@@ -55,7 +55,7 @@ long version(void)
return
0
;
}
MSH_CMD_EXPORT
(
version
,
show
RT
-
Thread
version
information
);
MSH_CMD_EXPORT
(
version
,
show
RT
-
Thread
version
information
);
rt_inline
void
object_split
(
int
len
)
{
...
...
components/finsh/msh.c
浏览文件 @
4f53743e
...
...
@@ -52,7 +52,7 @@ int msh_help(int argc, char **argv)
return
0
;
}
MSH_CMD_EXPORT_ALIAS
(
msh_help
,
help
,
RT
-
Thread
shell
help
.);
MSH_CMD_EXPORT_ALIAS
(
msh_help
,
help
,
RT
-
Thread
shell
help
.);
#ifdef MSH_USING_BUILT_IN_COMMANDS
int
cmd_ps
(
int
argc
,
char
**
argv
)
...
...
tools/keil.py
浏览文件 @
4f53743e
...
...
@@ -281,6 +281,11 @@ def MDK45Project(tree, target, script):
out
.
close
()
def
MDK4Project
(
target
,
script
):
if
os
.
path
.
isfile
(
'template.uvproj'
)
is
False
:
print
(
'Warning: The template project file [template.uvproj] not found!'
)
return
template_tree
=
etree
.
parse
(
'template.uvproj'
)
MDK45Project
(
template_tree
,
target
,
script
)
...
...
@@ -297,6 +302,10 @@ def MDK4Project(target, script):
def
MDK5Project
(
target
,
script
):
if
os
.
path
.
isfile
(
'template.uvprojx'
)
is
False
:
print
(
'Warning: The template project file [template.uvprojx] not found!'
)
return
template_tree
=
etree
.
parse
(
'template.uvprojx'
)
MDK45Project
(
template_tree
,
target
,
script
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录