Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
SummerGao.
rt-thread
提交
840f6b99
R
rt-thread
项目概览
SummerGao.
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
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,发现更多精彩内容 >>
未验证
提交
840f6b99
编写于
8月 17, 2022
作者:
o777788
提交者:
GitHub
8月 17, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[nxp][imxrt1170]Fix building problem (#6297)
上级
7d469384
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
3 deletion
+5
-3
bsp/imxrt/libraries/drivers/drv_mdio.c
bsp/imxrt/libraries/drivers/drv_mdio.c
+1
-1
bsp/imxrt/libraries/drivers/drv_sdram.c
bsp/imxrt/libraries/drivers/drv_sdram.c
+1
-1
components/drivers/include/drivers/phy.h
components/drivers/include/drivers/phy.h
+3
-1
未找到文件。
bsp/imxrt/libraries/drivers/drv_mdio.c
浏览文件 @
840f6b99
...
...
@@ -35,7 +35,7 @@ extern uint32_t ENET_GetInstance(ENET_Type *base);
#if !(defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL)
/*! @brief Pointers to enet clocks for each instance. */
extern
clock_ip_name_t
s_enetClock
[
FSL_FEATURE_SOC_ENET_COUNT
];
extern
c
onst
c
lock_ip_name_t
s_enetClock
[
FSL_FEATURE_SOC_ENET_COUNT
];
#endif
/* FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL */
static
rt_bool_t
rt_hw_mdio_init
(
void
*
bus
,
rt_uint32_t
src_clock_hz
)
...
...
bsp/imxrt/libraries/drivers/drv_sdram.c
浏览文件 @
840f6b99
...
...
@@ -26,7 +26,7 @@ int rt_hw_sdram_init(void)
int
result
=
RT_EOK
;
semc_config_t
config
;
semc_sdram_config_t
sdramconfig
;
#if defined(SOC_IMXRT1170_SERIES)
rt_uint32_t
clockFrq
=
CLOCK_GetRootClockFreq
(
kCLOCK_Root_Semc
);
#else
...
...
components/drivers/include/drivers/phy.h
浏览文件 @
840f6b99
/*
* Copyright (c) 2006-202
1
, RT-Thread Development Team
* Copyright (c) 2006-202
2
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-10-14 wangqiang the first version
* 2022-08-17 xjy198903 add 1000M definition
*/
#ifndef __PHY_H__
...
...
@@ -21,6 +22,7 @@ extern "C"
/* Defines the PHY link speed. This is align with the speed for MAC. */
#define PHY_SPEED_10M 0U
/* PHY 10M speed. */
#define PHY_SPEED_100M 1U
/* PHY 100M speed. */
#define PHY_SPEED_1000M 2U
/* PHY 1000M speed. */
/* Defines the PHY link duplex. */
#define PHY_HALF_DUPLEX 0U
/* PHY half duplex. */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录