Browse Source

[imxrt]消除编译警告;修正板级配置信息 (#6363)

* add ignore files and directories

* 消除编译警告;修正板级配置信息
xiao xie 2 years ago
parent
commit
44b815d8d5

+ 1 - 1
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

+ 1 - 1
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: