未验证 提交 e58ea3de 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #4677 from mysterywolf/stm32f407_3

[bsp][stm32f407-explorer] 避免COM2与以太网或PWM冲突,调整Kconfig文件
...@@ -17,6 +17,7 @@ menu "Onboard Peripheral Drivers" ...@@ -17,6 +17,7 @@ menu "Onboard Peripheral Drivers"
config BSP_USING_COM2 config BSP_USING_COM2
bool "Enable COM2 (uart2 pin conflict with Ethernet and PWM)" 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_UART
select BSP_USING_UART2 select BSP_USING_UART2
default n default n
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <board.h> #include <board.h>
#ifdef BSP_USING_SRAM #ifdef BSP_USING_SRAM
#include <sram_port.h> #include "drv_sram.h"
#define DRV_DEBUG #define DRV_DEBUG
#define LOG_TAG "drv.sram" #define LOG_TAG "drv.sram"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册