Merge pull request #4677 from mysterywolf/stm32f407_3

[bsp][stm32f407-explorer] 避免COM2与以太网或PWM冲突,调整Kconfig文件
This commit is contained in:
Bernard Xiong 2021-05-13 12:23:31 +08:00 committed by GitHub
commit e58ea3ded4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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"