Skip to content

Commit 4527c28

Browse files
looggRbb666
authored andcommitted
修复OpENer软件包未选中port
1 parent e9cd3d5 commit 4527c28

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

iot/OpENer/Kconfig

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if PKG_USING_OPENER
6464
default "OpENer PC"
6565

6666
choice
67-
prompt "Version"
67+
prompt "OpENer Version"
6868
default PKG_USING_OPENER_LATEST_VERSION
6969
help
7070
Select the package version
@@ -81,21 +81,33 @@ if PKG_USING_OPENER
8181
hex
8282
default 0x99999 if PKG_USING_OPENER_LATEST_VERSION
8383

84+
config PKG_USING_OPENER_PORT
85+
bool
86+
default y
87+
8488
if PKG_USING_OPENER_PORT
8589

8690
config PKG_OPENER_PORT_PATH
8791
string
8892
default "/packages/iot/OpENer/OpENer_port"
8993

9094
choice
91-
prompt "Version"
95+
prompt "OpENer Port Version"
9296
default PKG_USING_OPENER_PORT_LATEST_VERSION
9397
help
9498
Select the package version
9599

96100
config PKG_USING_OPENER_PORT_LATEST_VERSION
97101
bool "latest"
98102
endchoice
103+
104+
config PKG_OPENER_PORT_VER
105+
string
106+
default "latest" if PKG_USING_OPENER_PORT_LATEST_VERSION
107+
108+
config PKG_OPENER_PORT_VER_NUM
109+
hex
110+
default 0x99999 if PKG_USING_OPENER_PORT_LATEST_VERSION
99111
endif
100112

101113
endif

0 commit comments

Comments
 (0)