Skip to content

Commit

Permalink
add config for D1H uart pinout
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury Lyamin committed Jun 9, 2024
1 parent ec2c0f1 commit 2ac78ee
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions bsp/allwinner/d1s_d1h/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,30 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"

config BOARD_allwinnerd1s
bool
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select RT_USING_CACHE
select ARCH_MM_MMU
default y
choice
prompt "Select Allwinner D1 type"
default BOARD_allwinnerd1

config BOARD_allwinnerd1
bool "Allwinner D1"
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select RT_USING_CACHE
select ARCH_MM_MMU

config BOARD_allwinnerd1s
bool "Allwinner D1s"
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select RT_USING_CACHE
select ARCH_MM_MMU
endchoice





config ENABLE_FPU
bool "Enable FPU"
Expand Down

0 comments on commit 2ac78ee

Please sign in to comment.