Skip to content

Commit

Permalink
修复OpENer软件包未选中port
Browse files Browse the repository at this point in the history
  • Loading branch information
loogg authored and Rbb666 committed Jan 2, 2025
1 parent e9cd3d5 commit 4527c28
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions iot/OpENer/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if PKG_USING_OPENER
default "OpENer PC"

choice
prompt "Version"
prompt "OpENer Version"
default PKG_USING_OPENER_LATEST_VERSION
help
Select the package version
Expand All @@ -81,21 +81,33 @@ if PKG_USING_OPENER
hex
default 0x99999 if PKG_USING_OPENER_LATEST_VERSION

config PKG_USING_OPENER_PORT
bool
default y

if PKG_USING_OPENER_PORT

config PKG_OPENER_PORT_PATH
string
default "/packages/iot/OpENer/OpENer_port"

choice
prompt "Version"
prompt "OpENer Port Version"
default PKG_USING_OPENER_PORT_LATEST_VERSION
help
Select the package version

config PKG_USING_OPENER_PORT_LATEST_VERSION
bool "latest"
endchoice

config PKG_OPENER_PORT_VER
string
default "latest" if PKG_USING_OPENER_PORT_LATEST_VERSION

config PKG_OPENER_PORT_VER_NUM
hex
default 0x99999 if PKG_USING_OPENER_PORT_LATEST_VERSION
endif

endif

0 comments on commit 4527c28

Please sign in to comment.