File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
bsp/imxrt/libraries/drivers
components/drivers/include/drivers Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ extern uint32_t ENET_GetInstance(ENET_Type *base);
3535
3636#if !(defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL ) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL )
3737/*! @brief Pointers to enet clocks for each instance. */
38- extern clock_ip_name_t s_enetClock [FSL_FEATURE_SOC_ENET_COUNT ];
38+ extern const clock_ip_name_t s_enetClock [FSL_FEATURE_SOC_ENET_COUNT ];
3939#endif /* FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL */
4040
4141static rt_bool_t rt_hw_mdio_init (void * bus , rt_uint32_t src_clock_hz )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ int rt_hw_sdram_init(void)
2626 int result = RT_EOK ;
2727 semc_config_t config ;
2828 semc_sdram_config_t sdramconfig ;
29-
29+
3030#if defined(SOC_IMXRT1170_SERIES )
3131 rt_uint32_t clockFrq = CLOCK_GetRootClockFreq (kCLOCK_Root_Semc );
3232#else
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2006-2021 , RT-Thread Development Team
2+ * Copyright (c) 2006-2022 , RT-Thread Development Team
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 *
66 * Change Logs:
77 * Date Author Notes
88 * 2020-10-14 wangqiang the first version
9+ * 2022-08-17 xjy198903 add 1000M definition
910 */
1011
1112#ifndef __PHY_H__
@@ -21,6 +22,7 @@ extern "C"
2122/* Defines the PHY link speed. This is align with the speed for MAC. */
2223#define PHY_SPEED_10M 0U /* PHY 10M speed. */
2324#define PHY_SPEED_100M 1U /* PHY 100M speed. */
25+ #define PHY_SPEED_1000M 2U /* PHY 1000M speed. */
2426
2527/* Defines the PHY link duplex. */
2628#define PHY_HALF_DUPLEX 0U /* PHY half duplex. */
You can’t perform that action at this time.
0 commit comments