Merge pull request #4677 from mysterywolf/stm32f407_3
[bsp][stm32f407-explorer] 避免COM2与以太网或PWM冲突,调整Kconfig文件
This commit is contained in:
commit
e58ea3ded4
|
@ -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 @@
|
||||||
#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"
|
||||||
|
|
Loading…
Reference in New Issue