mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-20 16:43:30 +08:00
[bsp][stm32] update dma config in Kconfig
This commit is contained in:
parent
02a1fa3079
commit
883a9f1e13
@ -281,6 +281,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
||||||
# CONFIG_PKG_USING_CMSIS is not set
|
# CONFIG_PKG_USING_CMSIS is not set
|
||||||
# CONFIG_PKG_USING_DFS_YAFFS is not set
|
# CONFIG_PKG_USING_DFS_YAFFS is not set
|
||||||
|
# CONFIG_PKG_USING_LITTLEFS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# peripheral libraries and drivers
|
# peripheral libraries and drivers
|
||||||
@ -295,6 +296,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_MPU6XXX is not set
|
# CONFIG_PKG_USING_MPU6XXX is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
@ -309,10 +311,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
#
|
|
||||||
# sample package
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,30 +320,8 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
|
|
||||||
#
|
|
||||||
# example package: hello
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
#
|
|
||||||
# Privated Packages of RealThread
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_CODEC is not set
|
|
||||||
# CONFIG_PKG_USING_PLAYER is not set
|
|
||||||
# CONFIG_PKG_USING_PERSIMMON_SRC is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Network Utilities
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_WICED is not set
|
|
||||||
# CONFIG_PKG_USING_CLOUDSDK is not set
|
|
||||||
# CONFIG_PKG_USING_COREMARK is not set
|
|
||||||
# CONFIG_PKG_USING_POWER_MANAGER is not set
|
|
||||||
# CONFIG_PKG_USING_RT_OTA is not set
|
|
||||||
# CONFIG_PKG_USING_RDBD_SRC is not set
|
|
||||||
# CONFIG_PKG_USING_RTINSIGHT is not set
|
|
||||||
# CONFIG_PKG_USING_SMARTCONFIG is not set
|
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F0=y
|
CONFIG_SOC_SERIES_STM32F0=y
|
||||||
|
|
||||||
@ -361,9 +338,10 @@ CONFIG_SOC_STM32F091RC=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -16,19 +16,41 @@ menu "On-chip Peripheral Drivers"
|
|||||||
select RT_USING_PIN
|
select RT_USING_PIN
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_USING_UART1
|
menuconfig BSP_USING_UART
|
||||||
bool "Enable UART1"
|
bool "Enable UART"
|
||||||
select RT_USING_SERIAL
|
|
||||||
default y
|
default y
|
||||||
|
select RT_USING_SERIAL
|
||||||
|
if BSP_USING_UART
|
||||||
|
config BSP_USING_UART1
|
||||||
|
bool "Enable UART1"
|
||||||
|
default y
|
||||||
|
|
||||||
config BSP_USING_SPI1
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable SPI1 BUS"
|
bool "Enable UART1 RX DMA"
|
||||||
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
|
menuconfig BSP_USING_SPI
|
||||||
|
bool "Enable SPI BUS"
|
||||||
|
default n
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
default n
|
if BSP_USING_SPI
|
||||||
|
config BSP_USING_SPI1
|
||||||
config BSP_SPI_USING_DMA
|
bool "Enable SPI1 BUS"
|
||||||
bool "Enable SPI DMA support"
|
default n
|
||||||
default n
|
|
||||||
|
config BSP_SPI1_TX_USING_DMA
|
||||||
|
bool "Enable SPI1 TX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
default n
|
||||||
|
|
||||||
|
config BSP_SPI1_RX_USING_DMA
|
||||||
|
bool "Enable SPI1 RX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
select BSP_SPI1_TX_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C1
|
menuconfig BSP_USING_I2C1
|
||||||
bool "Enable I2C1 BUS (software simulation)"
|
bool "Enable I2C1 BUS (software simulation)"
|
||||||
|
@ -149,19 +149,8 @@
|
|||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
|
|
||||||
/* sample package */
|
|
||||||
|
|
||||||
/* samples: kernel and components samples */
|
/* samples: kernel and components samples */
|
||||||
|
|
||||||
|
|
||||||
/* example package: hello */
|
|
||||||
|
|
||||||
|
|
||||||
/* Privated Packages of RealThread */
|
|
||||||
|
|
||||||
|
|
||||||
/* Network Utilities */
|
|
||||||
|
|
||||||
#define SOC_FAMILY_STM32
|
#define SOC_FAMILY_STM32
|
||||||
#define SOC_SERIES_STM32F0
|
#define SOC_SERIES_STM32F0
|
||||||
|
|
||||||
@ -174,6 +163,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -296,6 +296,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_MPU6XXX is not set
|
# CONFIG_PKG_USING_MPU6XXX is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
@ -310,10 +311,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
#
|
|
||||||
# sample package
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -322,11 +320,8 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
|
|
||||||
#
|
|
||||||
# example package: hello
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F1=y
|
CONFIG_SOC_SERIES_STM32F1=y
|
||||||
|
|
||||||
@ -343,9 +338,10 @@ CONFIG_SOC_STM32F103RB=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -16,19 +16,41 @@ menu "On-chip Peripheral Drivers"
|
|||||||
select RT_USING_PIN
|
select RT_USING_PIN
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_USING_UART1
|
menuconfig BSP_USING_UART
|
||||||
bool "Enable UART1"
|
bool "Enable UART"
|
||||||
select RT_USING_SERIAL
|
|
||||||
default y
|
default y
|
||||||
|
select RT_USING_SERIAL
|
||||||
|
if BSP_USING_UART
|
||||||
|
config BSP_USING_UART1
|
||||||
|
bool "Enable UART1"
|
||||||
|
default y
|
||||||
|
|
||||||
config BSP_USING_SPI1
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable SPI1 BUS"
|
bool "Enable UART1 RX DMA"
|
||||||
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
|
menuconfig BSP_USING_SPI
|
||||||
|
bool "Enable SPI BUS"
|
||||||
|
default n
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
default n
|
if BSP_USING_SPI
|
||||||
|
config BSP_USING_SPI1
|
||||||
config BSP_SPI_USING_DMA
|
bool "Enable SPI1 BUS"
|
||||||
bool "Enable SPI DMA support"
|
default n
|
||||||
default n
|
|
||||||
|
config BSP_SPI1_TX_USING_DMA
|
||||||
|
bool "Enable SPI1 TX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
default n
|
||||||
|
|
||||||
|
config BSP_SPI1_RX_USING_DMA
|
||||||
|
bool "Enable SPI1 RX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
select BSP_SPI1_TX_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C1
|
menuconfig BSP_USING_I2C1
|
||||||
bool "Enable I2C1 BUS (software simulation)"
|
bool "Enable I2C1 BUS (software simulation)"
|
||||||
|
@ -149,13 +149,8 @@
|
|||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
|
|
||||||
/* sample package */
|
|
||||||
|
|
||||||
/* samples: kernel and components samples */
|
/* samples: kernel and components samples */
|
||||||
|
|
||||||
|
|
||||||
/* example package: hello */
|
|
||||||
|
|
||||||
#define SOC_FAMILY_STM32
|
#define SOC_FAMILY_STM32
|
||||||
#define SOC_SERIES_STM32F1
|
#define SOC_SERIES_STM32F1
|
||||||
|
|
||||||
@ -168,6 +163,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -297,6 +297,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_MPU6XXX is not set
|
# CONFIG_PKG_USING_MPU6XXX is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
@ -311,10 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
#
|
|
||||||
# sample package
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -323,11 +321,8 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
|
|
||||||
#
|
|
||||||
# example package: hello
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F4=y
|
CONFIG_SOC_SERIES_STM32F4=y
|
||||||
|
|
||||||
@ -344,9 +339,10 @@ CONFIG_SOC_STM32F407ZG=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -16,19 +16,41 @@ menu "On-chip Peripheral Drivers"
|
|||||||
select RT_USING_PIN
|
select RT_USING_PIN
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_USING_UART1
|
menuconfig BSP_USING_UART
|
||||||
bool "Enable UART1"
|
bool "Enable UART"
|
||||||
select RT_USING_SERIAL
|
|
||||||
default y
|
default y
|
||||||
|
select RT_USING_SERIAL
|
||||||
|
if BSP_USING_UART
|
||||||
|
config BSP_USING_UART1
|
||||||
|
bool "Enable UART1"
|
||||||
|
default y
|
||||||
|
|
||||||
config BSP_USING_SPI1
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable SPI1 BUS"
|
bool "Enable UART1 RX DMA"
|
||||||
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
|
menuconfig BSP_USING_SPI
|
||||||
|
bool "Enable SPI BUS"
|
||||||
|
default n
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
default n
|
if BSP_USING_SPI
|
||||||
|
config BSP_USING_SPI1
|
||||||
config BSP_SPI_USING_DMA
|
bool "Enable SPI1 BUS"
|
||||||
bool "Enable SPI DMA support"
|
default n
|
||||||
default n
|
|
||||||
|
config BSP_SPI1_TX_USING_DMA
|
||||||
|
bool "Enable SPI1 TX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
default n
|
||||||
|
|
||||||
|
config BSP_SPI1_RX_USING_DMA
|
||||||
|
bool "Enable SPI1 RX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
select BSP_SPI1_TX_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C1
|
menuconfig BSP_USING_I2C1
|
||||||
bool "Enable I2C1 BUS (software simulation)"
|
bool "Enable I2C1 BUS (software simulation)"
|
||||||
|
@ -149,13 +149,8 @@
|
|||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
|
|
||||||
/* sample package */
|
|
||||||
|
|
||||||
/* samples: kernel and components samples */
|
/* samples: kernel and components samples */
|
||||||
|
|
||||||
|
|
||||||
/* example package: hello */
|
|
||||||
|
|
||||||
#define SOC_FAMILY_STM32
|
#define SOC_FAMILY_STM32
|
||||||
#define SOC_SERIES_STM32F4
|
#define SOC_SERIES_STM32F4
|
||||||
|
|
||||||
@ -168,6 +163,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -297,6 +297,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_MPU6XXX is not set
|
# CONFIG_PKG_USING_MPU6XXX is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
@ -311,10 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
#
|
|
||||||
# sample package
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -323,11 +321,8 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
|
|
||||||
#
|
|
||||||
# example package: hello
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F7=y
|
CONFIG_SOC_SERIES_STM32F7=y
|
||||||
|
|
||||||
@ -344,9 +339,10 @@ CONFIG_SOC_STM32F767IG=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -16,19 +16,41 @@ menu "On-chip Peripheral Drivers"
|
|||||||
select RT_USING_PIN
|
select RT_USING_PIN
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_USING_UART1
|
menuconfig BSP_USING_UART
|
||||||
bool "Enable UART1"
|
bool "Enable UART"
|
||||||
select RT_USING_SERIAL
|
|
||||||
default y
|
default y
|
||||||
|
select RT_USING_SERIAL
|
||||||
|
if BSP_USING_UART
|
||||||
|
config BSP_USING_UART1
|
||||||
|
bool "Enable UART1"
|
||||||
|
default y
|
||||||
|
|
||||||
config BSP_USING_SPI1
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable SPI1 BUS"
|
bool "Enable UART1 RX DMA"
|
||||||
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
|
menuconfig BSP_USING_SPI
|
||||||
|
bool "Enable SPI BUS"
|
||||||
|
default n
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
default n
|
if BSP_USING_SPI
|
||||||
|
config BSP_USING_SPI1
|
||||||
config BSP_SPI_USING_DMA
|
bool "Enable SPI1 BUS"
|
||||||
bool "Enable SPI DMA support"
|
default n
|
||||||
default n
|
|
||||||
|
config BSP_SPI1_TX_USING_DMA
|
||||||
|
bool "Enable SPI1 TX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
default n
|
||||||
|
|
||||||
|
config BSP_SPI1_RX_USING_DMA
|
||||||
|
bool "Enable SPI1 RX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
select BSP_SPI1_TX_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C1
|
menuconfig BSP_USING_I2C1
|
||||||
bool "Enable I2C1 BUS (software simulation)"
|
bool "Enable I2C1 BUS (software simulation)"
|
||||||
|
@ -149,13 +149,8 @@
|
|||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
|
|
||||||
/* sample package */
|
|
||||||
|
|
||||||
/* samples: kernel and components samples */
|
/* samples: kernel and components samples */
|
||||||
|
|
||||||
|
|
||||||
/* example package: hello */
|
|
||||||
|
|
||||||
#define SOC_FAMILY_STM32
|
#define SOC_FAMILY_STM32
|
||||||
#define SOC_SERIES_STM32F7
|
#define SOC_SERIES_STM32F7
|
||||||
|
|
||||||
@ -168,6 +163,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -297,6 +297,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_MPU6XXX is not set
|
# CONFIG_PKG_USING_MPU6XXX is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
@ -311,10 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
#
|
|
||||||
# sample package
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -323,11 +321,8 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
|
|
||||||
#
|
|
||||||
# example package: hello
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32L4=y
|
CONFIG_SOC_SERIES_STM32L4=y
|
||||||
|
|
||||||
@ -344,9 +339,10 @@ CONFIG_SOC_STM32L475VE=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -16,19 +16,41 @@ menu "On-chip Peripheral Drivers"
|
|||||||
select RT_USING_PIN
|
select RT_USING_PIN
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_USING_UART1
|
menuconfig BSP_USING_UART
|
||||||
bool "Enable UART1"
|
bool "Enable UART"
|
||||||
select RT_USING_SERIAL
|
|
||||||
default y
|
default y
|
||||||
|
select RT_USING_SERIAL
|
||||||
|
if BSP_USING_UART
|
||||||
|
config BSP_USING_UART1
|
||||||
|
bool "Enable UART1"
|
||||||
|
default y
|
||||||
|
|
||||||
config BSP_USING_SPI1
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable SPI1 BUS"
|
bool "Enable UART1 RX DMA"
|
||||||
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
|
menuconfig BSP_USING_SPI
|
||||||
|
bool "Enable SPI BUS"
|
||||||
|
default n
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
default n
|
if BSP_USING_SPI
|
||||||
|
config BSP_USING_SPI1
|
||||||
|
bool "Enable SPI1 BUS"
|
||||||
|
default n
|
||||||
|
|
||||||
config BSP_SPI_USING_DMA
|
config BSP_SPI1_TX_USING_DMA
|
||||||
bool "Enable SPI DMA support"
|
bool "Enable SPI1 TX DMA"
|
||||||
default n
|
depends on BSP_USING_SPI1
|
||||||
|
default n
|
||||||
|
|
||||||
|
config BSP_SPI1_RX_USING_DMA
|
||||||
|
bool "Enable SPI1 RX DMA"
|
||||||
|
depends on BSP_USING_SPI1
|
||||||
|
select BSP_SPI1_TX_USING_DMA
|
||||||
|
default n
|
||||||
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C1
|
menuconfig BSP_USING_I2C1
|
||||||
bool "Enable I2C1 BUS (software simulation)"
|
bool "Enable I2C1 BUS (software simulation)"
|
||||||
|
@ -149,13 +149,8 @@
|
|||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
|
|
||||||
/* sample package */
|
|
||||||
|
|
||||||
/* samples: kernel and components samples */
|
/* samples: kernel and components samples */
|
||||||
|
|
||||||
|
|
||||||
/* example package: hello */
|
|
||||||
|
|
||||||
#define SOC_FAMILY_STM32
|
#define SOC_FAMILY_STM32
|
||||||
#define SOC_SERIES_STM32L4
|
#define SOC_SERIES_STM32L4
|
||||||
|
|
||||||
@ -168,6 +163,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -281,6 +281,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
||||||
# CONFIG_PKG_USING_CMSIS is not set
|
# CONFIG_PKG_USING_CMSIS is not set
|
||||||
# CONFIG_PKG_USING_DFS_YAFFS is not set
|
# CONFIG_PKG_USING_DFS_YAFFS is not set
|
||||||
|
# CONFIG_PKG_USING_LITTLEFS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# peripheral libraries and drivers
|
# peripheral libraries and drivers
|
||||||
@ -295,6 +296,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_MPU6XXX is not set
|
# CONFIG_PKG_USING_MPU6XXX is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
@ -309,10 +311,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
#
|
|
||||||
# sample package
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,30 +320,8 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
|
|
||||||
#
|
|
||||||
# example package: hello
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
#
|
|
||||||
# Privated Packages of RealThread
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_CODEC is not set
|
|
||||||
# CONFIG_PKG_USING_PLAYER is not set
|
|
||||||
# CONFIG_PKG_USING_PERSIMMON_SRC is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Network Utilities
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_WICED is not set
|
|
||||||
# CONFIG_PKG_USING_CLOUDSDK is not set
|
|
||||||
# CONFIG_PKG_USING_COREMARK is not set
|
|
||||||
# CONFIG_PKG_USING_POWER_MANAGER is not set
|
|
||||||
# CONFIG_PKG_USING_RT_OTA is not set
|
|
||||||
# CONFIG_PKG_USING_RDBD_SRC is not set
|
|
||||||
# CONFIG_PKG_USING_RTINSIGHT is not set
|
|
||||||
# CONFIG_PKG_USING_SMARTCONFIG is not set
|
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F0=y
|
CONFIG_SOC_SERIES_STM32F0=y
|
||||||
|
|
||||||
@ -356,16 +333,24 @@ CONFIG_SOC_STM32F091RC=y
|
|||||||
#
|
#
|
||||||
# Onboard Peripheral Drivers
|
# Onboard Peripheral Drivers
|
||||||
#
|
#
|
||||||
|
CONFIG_BSP_USING_USB_TO_USART=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
# CONFIG_BSP_USING_UART1 is not set
|
# CONFIG_BSP_USING_UART1 is not set
|
||||||
CONFIG_BSP_USING_UART2=y
|
CONFIG_BSP_USING_UART2=y
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_UART2_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
|
# CONFIG_BSP_USING_TIM is not set
|
||||||
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
|
# CONFIG_BSP_USING_ADC is not set
|
||||||
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
|
# CONFIG_BSP_USING_ONCHIP_RTC is not set
|
||||||
|
# CONFIG_BSP_USING_WDT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Board extended module Drivers
|
# Board extended module Drivers
|
||||||
|
@ -34,7 +34,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
|
@ -149,19 +149,8 @@
|
|||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
|
|
||||||
/* sample package */
|
|
||||||
|
|
||||||
/* samples: kernel and components samples */
|
/* samples: kernel and components samples */
|
||||||
|
|
||||||
|
|
||||||
/* example package: hello */
|
|
||||||
|
|
||||||
|
|
||||||
/* Privated Packages of RealThread */
|
|
||||||
|
|
||||||
|
|
||||||
/* Network Utilities */
|
|
||||||
|
|
||||||
#define SOC_FAMILY_STM32
|
#define SOC_FAMILY_STM32
|
||||||
#define SOC_SERIES_STM32F0
|
#define SOC_SERIES_STM32F0
|
||||||
|
|
||||||
@ -171,9 +160,12 @@
|
|||||||
|
|
||||||
/* Onboard Peripheral Drivers */
|
/* Onboard Peripheral Drivers */
|
||||||
|
|
||||||
|
#define BSP_USING_USB_TO_USART
|
||||||
|
|
||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART2
|
#define BSP_USING_UART2
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -312,6 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,6 +322,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F1=y
|
CONFIG_SOC_SERIES_STM32F1=y
|
||||||
|
|
||||||
@ -341,14 +343,14 @@ CONFIG_BSP_USING_USB_TO_USART=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_USING_UART2 is not set
|
||||||
# CONFIG_BSP_USING_UART3 is not set
|
# CONFIG_BSP_USING_UART3 is not set
|
||||||
# CONFIG_BSP_USING_TIM is not set
|
# CONFIG_BSP_USING_TIM is not set
|
||||||
# CONFIG_BSP_USING_PWM is not set
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_SPI2 is not set
|
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
# CONFIG_BSP_USING_ADC is not set
|
# CONFIG_BSP_USING_ADC is not set
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
|
@ -42,37 +42,37 @@ menu "On-chip Peripheral Drivers"
|
|||||||
default y
|
default y
|
||||||
|
|
||||||
menuconfig BSP_USING_UART
|
menuconfig BSP_USING_UART
|
||||||
bool "Enable UART"
|
bool "Enable UART"
|
||||||
default y
|
default y
|
||||||
select RT_USING_SERIAL
|
select RT_USING_SERIAL
|
||||||
if BSP_USING_UART
|
if BSP_USING_UART
|
||||||
config BSP_USING_UART1
|
config BSP_USING_UART1
|
||||||
bool "Enable UART1"
|
bool "Enable UART1"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_UART2_RX_USING_DMA
|
config BSP_UART2_RX_USING_DMA
|
||||||
bool "Enable UART2 RX DMA"
|
bool "Enable UART2 RX DMA"
|
||||||
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART3
|
config BSP_USING_UART3
|
||||||
bool "Enable UART3"
|
bool "Enable UART3"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_UART3_RX_USING_DMA
|
config BSP_UART3_RX_USING_DMA
|
||||||
bool "Enable UART3 RX DMA"
|
bool "Enable UART3 RX DMA"
|
||||||
depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config BSP_USING_UART1
|
config BSP_USING_UART1
|
||||||
bool "Enable UART1"
|
bool "Enable UART1"
|
||||||
@ -127,40 +127,40 @@ menu "On-chip Peripheral Drivers"
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_SPI
|
menuconfig BSP_USING_SPI
|
||||||
bool "Enable SPI BUS"
|
bool "Enable SPI BUS"
|
||||||
default n
|
default n
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
if BSP_USING_SPI
|
if BSP_USING_SPI
|
||||||
config BSP_USING_SPI1
|
config BSP_USING_SPI1
|
||||||
bool "Enable SPI1 BUS"
|
bool "Enable SPI1 BUS"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_SPI1_TX_USING_DMA
|
config BSP_SPI1_TX_USING_DMA
|
||||||
bool "Enable SPI1 TX DMA"
|
bool "Enable SPI1 TX DMA"
|
||||||
depends on BSP_USING_SPI1
|
depends on BSP_USING_SPI1
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_SPI1_RX_USING_DMA
|
config BSP_SPI1_RX_USING_DMA
|
||||||
bool "Enable SPI1 RX DMA"
|
bool "Enable SPI1 RX DMA"
|
||||||
depends on BSP_USING_SPI1
|
depends on BSP_USING_SPI1
|
||||||
select BSP_SPI1_TX_USING_DMA
|
select BSP_SPI1_TX_USING_DMA
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_USING_SPI2
|
config BSP_USING_SPI2
|
||||||
bool "Enable SPI2 BUS"
|
bool "Enable SPI2 BUS"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_SPI2_TX_USING_DMA
|
config BSP_SPI2_TX_USING_DMA
|
||||||
bool "Enable SPI2 TX DMA"
|
bool "Enable SPI2 TX DMA"
|
||||||
depends on BSP_USING_SPI2
|
depends on BSP_USING_SPI2
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_SPI2_RX_USING_DMA
|
config BSP_SPI2_RX_USING_DMA
|
||||||
bool "Enable SPI2 RX DMA"
|
bool "Enable SPI2 RX DMA"
|
||||||
depends on BSP_USING_SPI2
|
depends on BSP_USING_SPI2
|
||||||
select BSP_SPI2_TX_USING_DMA
|
select BSP_SPI2_TX_USING_DMA
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C1
|
menuconfig BSP_USING_I2C1
|
||||||
bool "Enable I2C1 BUS (software simulation)"
|
bool "Enable I2C1 BUS (software simulation)"
|
||||||
|
@ -166,6 +166,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -312,6 +312,7 @@ CONFIG_RT_USING_LIBC=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,6 +322,7 @@ CONFIG_RT_USING_LIBC=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F1=y
|
CONFIG_SOC_SERIES_STM32F1=y
|
||||||
|
|
||||||
@ -345,14 +347,13 @@ CONFIG_BSP_USING_USB_TO_USART=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_USING_UART2 is not set
|
||||||
# CONFIG_BSP_USING_UART3 is not set
|
# CONFIG_BSP_USING_UART3 is not set
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_SPI2 is not set
|
|
||||||
# CONFIG_BSP_USING_SPI3 is not set
|
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
# CONFIG_BSP_USING_TIM is not set
|
# CONFIG_BSP_USING_TIM is not set
|
||||||
# CONFIG_BSP_USING_PWM is not set
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
|
@ -54,7 +54,6 @@ menu "Onboard Peripheral Drivers"
|
|||||||
select WIZNET_DEVICE_EXTERN_CONFIG
|
select WIZNET_DEVICE_EXTERN_CONFIG
|
||||||
select BSP_USING_SPI2
|
select BSP_USING_SPI2
|
||||||
if BSP_USING_ETH
|
if BSP_USING_ETH
|
||||||
|
|
||||||
if WIZNET_DEVICE_EXTERN_CONFIG
|
if WIZNET_DEVICE_EXTERN_CONFIG
|
||||||
config WIZ_SPI_DEVICE
|
config WIZ_SPI_DEVICE
|
||||||
string
|
string
|
||||||
@ -92,37 +91,37 @@ menu "On-chip Peripheral Drivers"
|
|||||||
default y
|
default y
|
||||||
|
|
||||||
menuconfig BSP_USING_UART
|
menuconfig BSP_USING_UART
|
||||||
bool "Enable UART"
|
bool "Enable UART"
|
||||||
default y
|
default y
|
||||||
select RT_USING_SERIAL
|
select RT_USING_SERIAL
|
||||||
if BSP_USING_UART
|
if BSP_USING_UART
|
||||||
config BSP_USING_UART1
|
config BSP_USING_UART1
|
||||||
bool "Enable UART1"
|
bool "Enable UART1"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_UART2_RX_USING_DMA
|
config BSP_UART2_RX_USING_DMA
|
||||||
bool "Enable UART2 RX DMA"
|
bool "Enable UART2 RX DMA"
|
||||||
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART3
|
config BSP_USING_UART3
|
||||||
bool "Enable UART3"
|
bool "Enable UART3"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_UART3_RX_USING_DMA
|
config BSP_UART3_RX_USING_DMA
|
||||||
bool "Enable UART3 RX DMA"
|
bool "Enable UART3 RX DMA"
|
||||||
depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config BSP_USING_ON_CHIP_FLASH
|
config BSP_USING_ON_CHIP_FLASH
|
||||||
bool "Enable on-chip FLASH"
|
bool "Enable on-chip FLASH"
|
||||||
|
@ -167,6 +167,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -312,6 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,6 +322,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F4=y
|
CONFIG_SOC_SERIES_STM32F4=y
|
||||||
|
|
||||||
@ -333,8 +335,9 @@ CONFIG_SOC_STM32F407ZG=y
|
|||||||
# Onboard Peripheral Drivers
|
# Onboard Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_USB_TO_USART=y
|
CONFIG_BSP_USING_USB_TO_USART=y
|
||||||
# CONFIG_BSP_USING_SPI_FLASH is not set
|
# CONFIG_BSP_USING_COM2 is not set
|
||||||
# CONFIG_BSP_USING_COM3 is not set
|
# CONFIG_BSP_USING_COM3 is not set
|
||||||
|
# CONFIG_BSP_USING_SPI_FLASH is not set
|
||||||
# CONFIG_BSP_USING_EEPROM is not set
|
# CONFIG_BSP_USING_EEPROM is not set
|
||||||
# CONFIG_BSP_USING_ETH is not set
|
# CONFIG_BSP_USING_ETH is not set
|
||||||
# CONFIG_BSP_USING_MPU6050 is not set
|
# CONFIG_BSP_USING_MPU6050 is not set
|
||||||
@ -344,16 +347,14 @@ CONFIG_BSP_USING_USB_TO_USART=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_UART3 is not set
|
# CONFIG_BSP_USING_UART3 is not set
|
||||||
# CONFIG_BSP_USING_UART6 is not set
|
|
||||||
# CONFIG_BSP_USING_TIM is not set
|
# CONFIG_BSP_USING_TIM is not set
|
||||||
# CONFIG_BSP_USING_PWM is not set
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_SPI2 is not set
|
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_ADC is not set
|
# CONFIG_BSP_USING_ADC is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
# CONFIG_BSP_USING_ONCHIP_RTC is not set
|
# CONFIG_BSP_USING_ONCHIP_RTC is not set
|
||||||
|
@ -81,7 +81,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART3
|
config BSP_USING_UART3
|
||||||
bool "Enable UART3"
|
bool "Enable UART3"
|
||||||
|
@ -165,6 +165,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -312,6 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,6 +322,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F4=y
|
CONFIG_SOC_SERIES_STM32F4=y
|
||||||
|
|
||||||
@ -337,10 +339,10 @@ CONFIG_SOC_STM32F407VG=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_UART_USING_DMA_RX is not set
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -28,7 +28,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_SPI
|
menuconfig BSP_USING_SPI
|
||||||
|
@ -163,6 +163,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -282,6 +282,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
|
||||||
# CONFIG_PKG_USING_CMSIS is not set
|
# CONFIG_PKG_USING_CMSIS is not set
|
||||||
# CONFIG_PKG_USING_DFS_YAFFS is not set
|
# CONFIG_PKG_USING_DFS_YAFFS is not set
|
||||||
|
# CONFIG_PKG_USING_LITTLEFS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# peripheral libraries and drivers
|
# peripheral libraries and drivers
|
||||||
@ -296,6 +297,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_MPU6XXX is not set
|
# CONFIG_PKG_USING_MPU6XXX is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# miscellaneous packages
|
# miscellaneous packages
|
||||||
@ -310,10 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
#
|
|
||||||
# sample package
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -322,30 +321,8 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
|
|
||||||
#
|
|
||||||
# example package: hello
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
#
|
|
||||||
# Privated Packages of RealThread
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_CODEC is not set
|
|
||||||
# CONFIG_PKG_USING_PLAYER is not set
|
|
||||||
# CONFIG_PKG_USING_PERSIMMON_SRC is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# Network Utilities
|
|
||||||
#
|
|
||||||
# CONFIG_PKG_USING_WICED is not set
|
|
||||||
# CONFIG_PKG_USING_CLOUDSDK is not set
|
|
||||||
# CONFIG_PKG_USING_COREMARK is not set
|
|
||||||
# CONFIG_PKG_USING_POWER_MANAGER is not set
|
|
||||||
# CONFIG_PKG_USING_RT_OTA is not set
|
|
||||||
# CONFIG_PKG_USING_RDBD_SRC is not set
|
|
||||||
# CONFIG_PKG_USING_RTINSIGHT is not set
|
|
||||||
# CONFIG_PKG_USING_SMARTCONFIG is not set
|
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F4=y
|
CONFIG_SOC_SERIES_STM32F4=y
|
||||||
|
|
||||||
@ -369,11 +346,11 @@ CONFIG_BSP_USING_EXT_FMC_IO=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_UART_USING_DMA_RX is not set
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
# CONFIG_BSP_USING_SPI3 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
# CONFIG_BSP_USING_TIM is not set
|
# CONFIG_BSP_USING_TIM is not set
|
||||||
# CONFIG_BSP_USING_PWM is not set
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
|
@ -39,11 +39,23 @@ menu "Onboard Peripheral Drivers"
|
|||||||
config PHY_USING_DM9161CEP
|
config PHY_USING_DM9161CEP
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config BSP_USING_ETH
|
|
||||||
|
|
||||||
|
menuconfig BSP_USING_ETH
|
||||||
bool "Enable Ethernet"
|
bool "Enable Ethernet"
|
||||||
default n
|
|
||||||
select RT_USING_LWIP
|
select RT_USING_LWIP
|
||||||
select PHY_USING_DM9161CEP
|
select PHY_USING_DM9161CEP
|
||||||
|
default n
|
||||||
|
if BSP_USING_ETH
|
||||||
|
config PHY_USING_INTERRUPT_MODE
|
||||||
|
bool "enable phy interrupt mode"
|
||||||
|
select PHY_INT_PIN
|
||||||
|
default n
|
||||||
|
|
||||||
|
config PHY_INT_PIN
|
||||||
|
int
|
||||||
|
default 118
|
||||||
|
endif
|
||||||
|
|
||||||
config BSP_USING_MPU6050
|
config BSP_USING_MPU6050
|
||||||
bool "Enable MPU6050(i2c1)"
|
bool "Enable MPU6050(i2c1)"
|
||||||
@ -74,7 +86,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config BSP_USING_ON_CHIP_FLASH
|
config BSP_USING_ON_CHIP_FLASH
|
||||||
|
@ -150,19 +150,8 @@
|
|||||||
/* miscellaneous packages */
|
/* miscellaneous packages */
|
||||||
|
|
||||||
|
|
||||||
/* sample package */
|
|
||||||
|
|
||||||
/* samples: kernel and components samples */
|
/* samples: kernel and components samples */
|
||||||
|
|
||||||
|
|
||||||
/* example package: hello */
|
|
||||||
|
|
||||||
|
|
||||||
/* Privated Packages of RealThread */
|
|
||||||
|
|
||||||
|
|
||||||
/* Network Utilities */
|
|
||||||
|
|
||||||
#define SOC_FAMILY_STM32
|
#define SOC_FAMILY_STM32
|
||||||
#define SOC_SERIES_STM32F4
|
#define SOC_SERIES_STM32F4
|
||||||
|
|
||||||
@ -178,6 +167,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -312,6 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,6 +322,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F4=y
|
CONFIG_SOC_SERIES_STM32F4=y
|
||||||
|
|
||||||
@ -345,14 +347,13 @@ CONFIG_BSP_USING_USB_TO_USART=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_USING_UART2 is not set
|
||||||
# CONFIG_BSP_USING_UART3 is not set
|
# CONFIG_BSP_USING_UART3 is not set
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_SPI2 is not set
|
|
||||||
# CONFIG_BSP_USING_SPI5 is not set
|
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
# CONFIG_BSP_USING_TIM is not set
|
# CONFIG_BSP_USING_TIM is not set
|
||||||
# CONFIG_BSP_USING_PWM is not set
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
|
@ -81,7 +81,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
|
@ -165,6 +165,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -312,6 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,6 +322,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F4=y
|
CONFIG_SOC_SERIES_STM32F4=y
|
||||||
|
|
||||||
@ -346,14 +348,12 @@ CONFIG_BSP_USING_USB_TO_USART=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_USING_UART2 is not set
|
||||||
# CONFIG_BSP_USING_UART3 is not set
|
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_SPI2 is not set
|
|
||||||
# CONFIG_BSP_USING_SPI5 is not set
|
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_TIM is not set
|
# CONFIG_BSP_USING_TIM is not set
|
||||||
# CONFIG_BSP_USING_PWM is not set
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
# CONFIG_BSP_USING_ADC is not set
|
# CONFIG_BSP_USING_ADC is not set
|
||||||
|
@ -15,7 +15,7 @@ menu "Onboard Peripheral Drivers"
|
|||||||
|
|
||||||
config BSP_USING_RS232
|
config BSP_USING_RS232
|
||||||
bool "Enable RS232"
|
bool "Enable RS232"
|
||||||
select BSP_USING_UART
|
select BSP_USING_UART
|
||||||
select BSP_USING_UART2
|
select BSP_USING_UART2
|
||||||
default n
|
default n
|
||||||
|
|
||||||
@ -91,7 +91,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
@ -101,7 +101,6 @@ menu "On-chip Peripheral Drivers"
|
|||||||
bool "Enable UART2 RX DMA"
|
bool "Enable UART2 RX DMA"
|
||||||
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config BSP_USING_ON_CHIP_FLASH
|
config BSP_USING_ON_CHIP_FLASH
|
||||||
|
@ -166,6 +166,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -312,6 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,6 +322,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F7=y
|
CONFIG_SOC_SERIES_STM32F7=y
|
||||||
|
|
||||||
@ -336,28 +338,31 @@ CONFIG_BSP_USING_USB_TO_USART=y
|
|||||||
# CONFIG_BSP_USING_RS232 is not set
|
# CONFIG_BSP_USING_RS232 is not set
|
||||||
# CONFIG_BSP_USING_SDRAM is not set
|
# CONFIG_BSP_USING_SDRAM is not set
|
||||||
# CONFIG_BSP_USING_QSPI_FLASH is not set
|
# CONFIG_BSP_USING_QSPI_FLASH is not set
|
||||||
# CONFIG_BSP_USING_MPU6050 is not set
|
# CONFIG_BSP_USING_MPU9250 is not set
|
||||||
|
# CONFIG_BSP_USING_ETH is not set
|
||||||
|
# CONFIG_BSP_USING_POT is not set
|
||||||
|
# CONFIG_BSP_USING_SDCARD is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_USING_UART2 is not set
|
||||||
# CONFIG_BSP_USING_UART3 is not set
|
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_SPI2 is not set
|
|
||||||
# CONFIG_BSP_USING_SPI5 is not set
|
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_QSPI is not set
|
# CONFIG_BSP_USING_QSPI is not set
|
||||||
|
# CONFIG_BSP_QSPI_USING_DMA is not set
|
||||||
|
# CONFIG_BSP_USING_TIM is not set
|
||||||
|
# CONFIG_BSP_USING_PWM is not set
|
||||||
# CONFIG_BSP_USING_ADC is not set
|
# CONFIG_BSP_USING_ADC is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
# CONFIG_BSP_USING_I2C2 is not set
|
# CONFIG_BSP_USING_I2C2 is not set
|
||||||
# CONFIG_BSP_USING_I2C3 is not set
|
|
||||||
# CONFIG_BSP_USING_I2C4 is not set
|
|
||||||
# CONFIG_BSP_USING_ONCHIP_RTC is not set
|
# CONFIG_BSP_USING_ONCHIP_RTC is not set
|
||||||
# CONFIG_BSP_USING_WDT is not set
|
# CONFIG_BSP_USING_WDT is not set
|
||||||
|
# CONFIG_BSP_USING_SDIO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Board extended module Drivers
|
# Board extended module Drivers
|
||||||
|
@ -81,7 +81,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
@ -98,7 +98,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
bool "Enable on-chip FLASH"
|
bool "Enable on-chip FLASH"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
menuconfig BSP_USING_SPI
|
menuconfig BSP_USING_SPI
|
||||||
bool "Enable SPI BUS"
|
bool "Enable SPI BUS"
|
||||||
default n
|
default n
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
|
@ -165,6 +165,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -181,6 +181,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_RT_USING_LOGTRACE is not set
|
# CONFIG_RT_USING_LOGTRACE is not set
|
||||||
# CONFIG_RT_USING_RYM is not set
|
# CONFIG_RT_USING_RYM is not set
|
||||||
# CONFIG_RT_USING_ULOG is not set
|
# CONFIG_RT_USING_ULOG is not set
|
||||||
|
# CONFIG_RT_USING_UTEST is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# ARM CMSIS
|
# ARM CMSIS
|
||||||
@ -311,6 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -320,6 +322,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32F7=y
|
CONFIG_SOC_SERIES_STM32F7=y
|
||||||
|
|
||||||
@ -341,21 +344,15 @@ CONFIG_BSP_USING_USB_TO_USART=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_USING_UART2 is not set
|
||||||
# CONFIG_BSP_USING_UART3 is not set
|
# CONFIG_BSP_USING_UART3 is not set
|
||||||
# CONFIG_BSP_UART_USING_DMA_RX is not set
|
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_SPI2 is not set
|
|
||||||
# CONFIG_BSP_USING_SPI5 is not set
|
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_QSPI is not set
|
# CONFIG_BSP_USING_QSPI is not set
|
||||||
# CONFIG_BSP_USING_ADC is not set
|
# CONFIG_BSP_USING_ADC is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
# CONFIG_BSP_USING_I2C2 is not set
|
|
||||||
# CONFIG_BSP_USING_I2C3 is not set
|
|
||||||
# CONFIG_BSP_USING_I2C4 is not set
|
|
||||||
# CONFIG_BSP_USING_ONCHIP_RTC is not set
|
# CONFIG_BSP_USING_ONCHIP_RTC is not set
|
||||||
# CONFIG_BSP_USING_WDT is not set
|
# CONFIG_BSP_USING_WDT is not set
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
@ -74,7 +74,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
|
|
||||||
config BSP_UART3_RX_USING_DMA
|
config BSP_UART3_RX_USING_DMA
|
||||||
bool "Enable UART3 RX DMA"
|
bool "Enable UART3 RX DMA"
|
||||||
depends on BSP_USING_UART3 && RT_SERIsAL_USING_DMA
|
depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -165,6 +165,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
@ -312,6 +312,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_ZLIB is not set
|
# CONFIG_PKG_USING_ZLIB is not set
|
||||||
# CONFIG_PKG_USING_DSTR is not set
|
# CONFIG_PKG_USING_DSTR is not set
|
||||||
# CONFIG_PKG_USING_TINYFRAME is not set
|
# CONFIG_PKG_USING_TINYFRAME is not set
|
||||||
|
# CONFIG_PKG_USING_KENDRYTE_DEMO is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# samples: kernel and components samples
|
# samples: kernel and components samples
|
||||||
@ -321,6 +322,7 @@ CONFIG_RT_USING_PIN=y
|
|||||||
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
|
# CONFIG_PKG_USING_VI is not set
|
||||||
CONFIG_SOC_FAMILY_STM32=y
|
CONFIG_SOC_FAMILY_STM32=y
|
||||||
CONFIG_SOC_SERIES_STM32L4=y
|
CONFIG_SOC_SERIES_STM32L4=y
|
||||||
|
|
||||||
@ -340,12 +342,12 @@ CONFIG_BSP_USING_STLINK_TO_USART=y
|
|||||||
# On-chip Peripheral Drivers
|
# On-chip Peripheral Drivers
|
||||||
#
|
#
|
||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
|
CONFIG_BSP_USING_UART=y
|
||||||
CONFIG_BSP_USING_UART1=y
|
CONFIG_BSP_USING_UART1=y
|
||||||
|
# CONFIG_BSP_UART1_RX_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_UART2 is not set
|
# CONFIG_BSP_USING_UART2 is not set
|
||||||
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
|
||||||
# CONFIG_BSP_USING_SPI1 is not set
|
# CONFIG_BSP_USING_SPI is not set
|
||||||
# CONFIG_BSP_USING_SPI2 is not set
|
|
||||||
# CONFIG_BSP_SPI_USING_DMA is not set
|
|
||||||
# CONFIG_BSP_USING_QSPI is not set
|
# CONFIG_BSP_USING_QSPI is not set
|
||||||
# CONFIG_BSP_QSPI_USING_DMA is not set
|
# CONFIG_BSP_QSPI_USING_DMA is not set
|
||||||
# CONFIG_BSP_USING_I2C1 is not set
|
# CONFIG_BSP_USING_I2C1 is not set
|
||||||
|
@ -24,7 +24,6 @@ menu "Onboard Peripheral Drivers"
|
|||||||
bool "Enable SDCARD (spi1)"
|
bool "Enable SDCARD (spi1)"
|
||||||
select BSP_USING_SPI
|
select BSP_USING_SPI
|
||||||
select BSP_USING_SPI1
|
select BSP_USING_SPI1
|
||||||
select BSP_SPI_USING_DMA
|
|
||||||
select RT_USING_SPI_MSD
|
select RT_USING_SPI_MSD
|
||||||
select RT_USING_DFS
|
select RT_USING_DFS
|
||||||
select RT_USING_DFS_ELMFAT
|
select RT_USING_DFS_ELMFAT
|
||||||
@ -51,7 +50,7 @@ menu "On-chip Peripheral Drivers"
|
|||||||
config BSP_UART1_RX_USING_DMA
|
config BSP_UART1_RX_USING_DMA
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default y
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
|
@ -165,6 +165,7 @@
|
|||||||
/* On-chip Peripheral Drivers */
|
/* On-chip Peripheral Drivers */
|
||||||
|
|
||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user