bluetooth: config: Fix bluetooth config dependencies
Fix bluetooth config dependencies where the definitions depend on other definitions. BT_RX_PRIO is not always defined in a controller only build. BT_CTLR_TX_BUFFER_SIZE does not depend on BT_CTLR, but BT_LL_SW. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
85742e3c9a
commit
773b21ac38
2 changed files with 3 additions and 1 deletions
|
@ -11,12 +11,14 @@
|
|||
|
||||
#include <zephyr.h>
|
||||
|
||||
#if defined(CONFIG_BT_HCI_HOST)
|
||||
/* The Bluetooth subsystem requires the Tx thread to execute at higher priority
|
||||
* than the Rx thread as the Tx thread needs to process the acknowledgements
|
||||
* before new Rx data is processed. This is a necessity to correctly detect
|
||||
* transaction violations in ATT and SMP protocols.
|
||||
*/
|
||||
BUILD_ASSERT(CONFIG_BT_HCI_TX_PRIO < CONFIG_BT_RX_PRIO);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_BT_CTLR)
|
||||
/* The Bluetooth Controller's priority receive thread priority shall be higher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue