From 44b815d8d58b55bd14088a1c8a62fa7ea7595c2f Mon Sep 17 00:00:00 2001 From: xiao xie <335266746@qq.com> Date: Thu, 1 Sep 2022 20:15:11 +0800 Subject: [imxrt]消除编译警告;修正板级配置信息 (#6363) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add ignore files and directories * 消除编译警告;修正板级配置信息 --- bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig | 2 +- bsp/imxrt/libraries/drivers/drv_uart.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig b/bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig index 7417c49cdf..abb499250b 100644 --- a/bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig +++ b/bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig @@ -132,7 +132,7 @@ menu "Onboard Peripheral Drivers" default 2 config PHY_USING_KSZ8081 - bool "i.MX RT1064EVK uses ksz8081 phy" + bool "i.MX RT1052EVK uses ksz8081 phy" default y if PHY_USING_KSZ8081 diff --git a/bsp/imxrt/libraries/drivers/drv_uart.c b/bsp/imxrt/libraries/drivers/drv_uart.c index f289e92759..72c28f225f 100644 --- a/bsp/imxrt/libraries/drivers/drv_uart.c +++ b/bsp/imxrt/libraries/drivers/drv_uart.c @@ -559,8 +559,8 @@ static void imxrt_dma_tx_config(struct imxrt_uart *uart) uint32_t GetUartSrcFreq(LPUART_Type *uart_base) { uint32_t freq; - uint32_t base = (uint32_t) uart_base; #ifdef SOC_IMXRT1170_SERIES + uint32_t base = (uint32_t) uart_base; switch (base) { case LPUART1_BASE: -- cgit v1.3.1