b-parasite-esp32/code/nrf-connect/prstlib/boards/arm/bparasite_nrf52833/Kconfig.defconfig
rbaron afa53f0e94 Introduce CONFIG_BOARD_REVISION_CODE
Beside having a `CONFIG_BOARD_REVISION` Kconfig string that represents
our semantic versioning for board revisions, the ZigBee sample requires
an integer representation of it. Instead of conditioning the integer
version on the string version only for that sample and having to touch
the ZigBee sample whenever we add a revision, I decided to have a
board-wide config, so that both string and int versions live close to
each other.

Fixes #138.
2023-06-15 07:45:55 +02:00

18 lines
No EOL
317 B
Text

if BOARD_BPARASITE_NRF52833
config BOARD
default "bparasite_nrf52833"
config BOARD_REVISION
string "Board revision."
default "1.0.0"
config BOARD_REVISION_CODE
int "Board revision code. An integer representation of the board revision."
default 1
config BT_CTLR
default BT
endif # BOARD_BPARASITE_NRF52833