Skip to content

Commit

Permalink
增加项目实验室 (RT-Thread#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf authored Mar 2, 2022
1 parent c6df684 commit c6cc5e5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions misc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
menu "miscellaneous packages"

source "$PKGS_DIR/packages/misc/projects/Kconfig"
source "$PKGS_DIR/packages/misc/samples/Kconfig"
source "$PKGS_DIR/packages/misc/entertainment/Kconfig"
source "$PKGS_DIR/packages/misc/libcsv/Kconfig"
Expand Down
5 changes: 5 additions & 0 deletions misc/projects/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
menu "project laboratory"

source "$PKGS_DIR/packages/misc/projects/industrial-gateway/Kconfig"

endmenu
17 changes: 17 additions & 0 deletions misc/projects/industrial-gateway/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
menuconfig PROJECT_USING_INDUSTRIAL_DATEWAY
bool "Industrial gataway: Integrate RS-485, RS-232, Ethernet"
depends on BOARD_STM32F407_ATK_EXPLORER
default n

if PROJECT_USING_INDUSTRIAL_DATEWAY

config INDUSTRIAL_DATEWAY_ON_STM32F407_ATK_EXPLORER
bool
select BSP_USING_USB_TO_USART
select BSP_USING_COM3
select BSP_USING_ETH
select BSP_USING_SDCARD_FATFS
select BSP_USING_SPI_FLASH_LITTLEFS
default y

endif

0 comments on commit c6cc5e5

Please sign in to comment.