Merge pull request #140 from rbaron/config_board_revision_code
Introduce CONFIG_BOARD_REVISION_CODE
This commit is contained in:
commit
f6b4600044
9 changed files with 15 additions and 1 deletions
|
|
@ -8,6 +8,10 @@ config BOARD_REVISION
|
||||||
string "Board revision."
|
string "Board revision."
|
||||||
default "1.0.0"
|
default "1.0.0"
|
||||||
|
|
||||||
|
config BOARD_REVISION_CODE
|
||||||
|
int "Board revision code. An integer representation of the board revision."
|
||||||
|
default 1
|
||||||
|
|
||||||
config BT_CTLR
|
config BT_CTLR
|
||||||
default BT
|
default BT
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
CONFIG_BOARD_REVISION="1.1.0"
|
CONFIG_BOARD_REVISION="1.1.0"
|
||||||
|
CONFIG_BOARD_REVISION_CODE=2
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
CONFIG_BOARD_REVISION="1.2.0"
|
CONFIG_BOARD_REVISION="1.2.0"
|
||||||
|
CONFIG_BOARD_REVISION_CODE=3
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
CONFIG_BOARD_REVISION="2.0.0"
|
CONFIG_BOARD_REVISION="2.0.0"
|
||||||
|
CONFIG_BOARD_REVISION_CODE=4
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,10 @@ config BOARD_REVISION
|
||||||
string "Board revision."
|
string "Board revision."
|
||||||
default "1.0.0"
|
default "1.0.0"
|
||||||
|
|
||||||
|
config BOARD_REVISION_CODE
|
||||||
|
int "Board revision code. An integer representation of the board revision."
|
||||||
|
default 1
|
||||||
|
|
||||||
config BT_CTLR
|
config BT_CTLR
|
||||||
default BT
|
default BT
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
CONFIG_BOARD_REVISION="1.1.0"
|
CONFIG_BOARD_REVISION="1.1.0"
|
||||||
|
CONFIG_BOARD_REVISION_CODE=2
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
CONFIG_BOARD_REVISION="1.2.0"
|
CONFIG_BOARD_REVISION="1.2.0"
|
||||||
|
CONFIG_BOARD_REVISION_CODE=3
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
CONFIG_BOARD_REVISION="2.0.0"
|
CONFIG_BOARD_REVISION="2.0.0"
|
||||||
|
CONFIG_BOARD_REVISION_CODE=4
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ config PRST_ZB_MODEL_ID
|
||||||
|
|
||||||
config PRST_ZB_HARDWARE_VERSION
|
config PRST_ZB_HARDWARE_VERSION
|
||||||
int "Zigbee basic cluster hardware version attribute. 1 byte."
|
int "Zigbee basic cluster hardware version attribute. 1 byte."
|
||||||
default 2
|
default BOARD_REVISION_CODE
|
||||||
|
|
||||||
choice PRST_ZB_FACTORY_RESET_METHOD
|
choice PRST_ZB_FACTORY_RESET_METHOD
|
||||||
bool "Factory reset method"
|
bool "Factory reset method"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue