[bsp][stm32f407-explorer] 避免COM2与以太网或PWM冲突,调整Kconfig文件
@@ -17,6 +17,7 @@ menu "Onboard Peripheral Drivers"
config BSP_USING_COM2
bool "Enable COM2 (uart2 pin conflict with Ethernet and PWM)"
+ depends on (!BSP_USING_ETH && !BSP_USING_PWM)
select BSP_USING_UART
select BSP_USING_UART2
default n
@@ -13,7 +13,7 @@
#include <board.h>
#ifdef BSP_USING_SRAM
-#include <sram_port.h>
+#include "drv_sram.h"
#define DRV_DEBUG
#define LOG_TAG "drv.sram"