Preparation to introduce the Upper Link Layer (ULL) and Lower Link Layer (LLL) split architecture. - Move SoC dependent HAL to vendor specific folder. - Preparation to split data structures into ULL and LLL types. - Added more role and state conditional compilations. - Added some work-in-progress implementation of advertising extensions, will be used as inspiration in the new split architecture work. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
19 lines
433 B
C
19 lines
433 B
C
/*
|
|
* Copyright (c) 2016 Nordic Semiconductor ASA
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifdef CONFIG_BT_CTLR_ASSERT_HANDLER
|
|
void bt_ctlr_assert_handle(char *file, u32_t line);
|
|
#define LL_ASSERT(cond) if (!(cond)) { \
|
|
bt_ctlr_assert_handle(__FILE__, \
|
|
__LINE__); \
|
|
}
|
|
#else
|
|
#define LL_ASSERT(cond) BT_ASSERT(cond)
|
|
#endif
|
|
|
|
#include "hal/debug_vendor_hal.h"
|