zephyr/tests/bluetooth/ll_settings/prj.conf
Andrzej Głąbek 6738aec457 tests/bluetooth/ll_settings: Prevent switch-unreachable warning
After the fallthrough comments have been replaced (see commit
741ad17a37) with a macro expanding
to the corresponding attribute, those hints became statements,
and if one happens to occur before any switch case, a warning
reporting it as an unreachable statement is generated.
Prevent the above from happening for function ll_rx_dequeue() in
ull.c by enabling an option that will make some switch case to
appear before this problematic statement.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-08-31 12:40:47 +02:00

20 lines
433 B
Plaintext

CONFIG_TEST=y
CONFIG_ZTEST=y
CONFIG_BT=y
CONFIG_BT_CTLR=y
CONFIG_SETTINGS=y
CONFIG_SETTINGS_RUNTIME=y
CONFIG_BT_SETTINGS=y
CONFIG_BT_CTLR_SETTINGS=y
CONFIG_BT_CTLR_VERSION_SETTINGS=y
CONFIG_BT_CTLR_COMPANY_ID=0x5F1
CONFIG_BT_CTLR_SUBVERSION_NUMBER=0xFFFF
# Needed only to prevent the switch-unreachable warning from being generated
# for the `__fallthrough;` statement in function ll_rx_dequeue() in ull.c.
CONFIG_BT_OBSERVER=y