@@ -1145,16 +1145,18 @@ CONFIG_SOC_STM32F405RG=y
|
|||||||
CONFIG_BSP_USING_GPIO=y
|
CONFIG_BSP_USING_GPIO=y
|
||||||
CONFIG_BSP_USING_UART=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_UART1_RX_USING_DMA=y
|
||||||
|
CONFIG_BSP_UART1_TX_USING_DMA=y
|
||||||
CONFIG_BSP_USING_UART2=y
|
CONFIG_BSP_USING_UART2=y
|
||||||
# CONFIG_BSP_UART2_RX_USING_DMA is not set
|
CONFIG_BSP_UART2_RX_USING_DMA=y
|
||||||
|
CONFIG_BSP_UART2_TX_USING_DMA=y
|
||||||
CONFIG_BSP_USING_SDIO=y
|
CONFIG_BSP_USING_SDIO=y
|
||||||
CONFIG_BSP_USING_USBD=y
|
CONFIG_BSP_USING_USBD=y
|
||||||
CONFIG_BSP_USING_ON_CHIP_FLASH=y
|
CONFIG_BSP_USING_ON_CHIP_FLASH=y
|
||||||
CONFIG_BSP_USING_SPI=y
|
CONFIG_BSP_USING_SPI=y
|
||||||
CONFIG_BSP_USING_SPI2=y
|
CONFIG_BSP_USING_SPI2=y
|
||||||
# CONFIG_BSP_SPI2_TX_USING_DMA is not set
|
CONFIG_BSP_SPI2_TX_USING_DMA=y
|
||||||
# CONFIG_BSP_SPI2_RX_USING_DMA is not set
|
CONFIG_BSP_SPI2_RX_USING_DMA=y
|
||||||
# CONFIG_BSP_USING_RNG is not set
|
# CONFIG_BSP_USING_RNG is not set
|
||||||
# CONFIG_BSP_USING_UDID is not set
|
# CONFIG_BSP_USING_UDID is not set
|
||||||
|
|
||||||
|
@@ -32,6 +32,11 @@ menu "On-chip Peripheral Drivers"
|
|||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config BSP_UART1_TX_USING_DMA
|
||||||
|
bool "Enable UART1 TX DMA"
|
||||||
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
default n
|
default n
|
||||||
@@ -40,6 +45,11 @@ 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
|
||||||
|
|
||||||
|
config BSP_UART2_TX_USING_DMA
|
||||||
|
bool "Enable UART2 TX DMA"
|
||||||
|
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
|
||||||
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config BSP_USING_SDIO
|
config BSP_USING_SDIO
|
||||||
|
@@ -427,30 +427,30 @@
|
|||||||
<Group>
|
<Group>
|
||||||
<GroupName>CPlusPlus</GroupName>
|
<GroupName>CPlusPlus</GroupName>
|
||||||
<Files>
|
<Files>
|
||||||
|
<File>
|
||||||
|
<FileName>cxx_Mutex.cpp</FileName>
|
||||||
|
<FileType>8</FileType>
|
||||||
|
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_Mutex.cpp</FilePath>
|
||||||
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<FileName>cxx_crt_init.c</FileName>
|
<FileName>cxx_crt_init.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_crt_init.c</FilePath>
|
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_crt_init.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
<File>
|
|
||||||
<FileName>cxx_crt.cpp</FileName>
|
|
||||||
<FileType>8</FileType>
|
|
||||||
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_crt.cpp</FilePath>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<FileName>cxx_Thread.cpp</FileName>
|
|
||||||
<FileType>8</FileType>
|
|
||||||
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_Thread.cpp</FilePath>
|
|
||||||
</File>
|
|
||||||
<File>
|
<File>
|
||||||
<FileName>cxx_Semaphore.cpp</FileName>
|
<FileName>cxx_Semaphore.cpp</FileName>
|
||||||
<FileType>8</FileType>
|
<FileType>8</FileType>
|
||||||
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_Semaphore.cpp</FilePath>
|
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_Semaphore.cpp</FilePath>
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<FileName>cxx_Mutex.cpp</FileName>
|
<FileName>cxx_Thread.cpp</FileName>
|
||||||
<FileType>8</FileType>
|
<FileType>8</FileType>
|
||||||
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_Mutex.cpp</FilePath>
|
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_Thread.cpp</FilePath>
|
||||||
|
</File>
|
||||||
|
<File>
|
||||||
|
<FileName>cxx_crt.cpp</FileName>
|
||||||
|
<FileType>8</FileType>
|
||||||
|
<FilePath>..\rt-thread\components\libc\cplusplus\cxx_crt.cpp</FilePath>
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
</Group>
|
</Group>
|
||||||
@@ -637,25 +637,25 @@
|
|||||||
<Group>
|
<Group>
|
||||||
<GroupName>Fal</GroupName>
|
<GroupName>Fal</GroupName>
|
||||||
<Files>
|
<Files>
|
||||||
<File>
|
|
||||||
<FileName>fal.c</FileName>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<FilePath>..\rt-thread\components\fal\src\fal.c</FilePath>
|
|
||||||
</File>
|
|
||||||
<File>
|
<File>
|
||||||
<FileName>fal_partition.c</FileName>
|
<FileName>fal_partition.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\rt-thread\components\fal\src\fal_partition.c</FilePath>
|
<FilePath>..\rt-thread\components\fal\src\fal_partition.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
|
<File>
|
||||||
|
<FileName>fal_rtt.c</FileName>
|
||||||
|
<FileType>1</FileType>
|
||||||
|
<FilePath>..\rt-thread\components\fal\src\fal_rtt.c</FilePath>
|
||||||
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<FileName>fal_flash.c</FileName>
|
<FileName>fal_flash.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\rt-thread\components\fal\src\fal_flash.c</FilePath>
|
<FilePath>..\rt-thread\components\fal\src\fal_flash.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<FileName>fal_rtt.c</FileName>
|
<FileName>fal.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\rt-thread\components\fal\src\fal_rtt.c</FilePath>
|
<FilePath>..\rt-thread\components\fal\src\fal.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
</Group>
|
</Group>
|
||||||
@@ -972,6 +972,11 @@
|
|||||||
<Group>
|
<Group>
|
||||||
<GroupName>rt_usbd</GroupName>
|
<GroupName>rt_usbd</GroupName>
|
||||||
<Files>
|
<Files>
|
||||||
|
<File>
|
||||||
|
<FileName>mstorage.c</FileName>
|
||||||
|
<FileType>1</FileType>
|
||||||
|
<FilePath>..\rt-thread\components\drivers\usb\usbdevice\class\mstorage.c</FilePath>
|
||||||
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<FileName>usbdevice_core.c</FileName>
|
<FileName>usbdevice_core.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
@@ -982,11 +987,6 @@
|
|||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\rt-thread\components\drivers\usb\usbdevice\core\usbdevice.c</FilePath>
|
<FilePath>..\rt-thread\components\drivers\usb\usbdevice\core\usbdevice.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
<File>
|
|
||||||
<FileName>mstorage.c</FileName>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<FilePath>..\rt-thread\components\drivers\usb\usbdevice\class\mstorage.c</FilePath>
|
|
||||||
</File>
|
|
||||||
</Files>
|
</Files>
|
||||||
</Group>
|
</Group>
|
||||||
<Group>
|
<Group>
|
||||||
|
@@ -317,12 +317,18 @@
|
|||||||
#define BSP_USING_GPIO
|
#define BSP_USING_GPIO
|
||||||
#define BSP_USING_UART
|
#define BSP_USING_UART
|
||||||
#define BSP_USING_UART1
|
#define BSP_USING_UART1
|
||||||
|
#define BSP_UART1_RX_USING_DMA
|
||||||
|
#define BSP_UART1_TX_USING_DMA
|
||||||
#define BSP_USING_UART2
|
#define BSP_USING_UART2
|
||||||
|
#define BSP_UART2_RX_USING_DMA
|
||||||
|
#define BSP_UART2_TX_USING_DMA
|
||||||
#define BSP_USING_SDIO
|
#define BSP_USING_SDIO
|
||||||
#define BSP_USING_USBD
|
#define BSP_USING_USBD
|
||||||
#define BSP_USING_ON_CHIP_FLASH
|
#define BSP_USING_ON_CHIP_FLASH
|
||||||
#define BSP_USING_SPI
|
#define BSP_USING_SPI
|
||||||
#define BSP_USING_SPI2
|
#define BSP_USING_SPI2
|
||||||
|
#define BSP_SPI2_TX_USING_DMA
|
||||||
|
#define BSP_SPI2_RX_USING_DMA
|
||||||
|
|
||||||
/* Board extended module Drivers */
|
/* Board extended module Drivers */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user