File tree Expand file tree Collapse file tree 4 files changed +824
-18
lines changed
subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio Expand file tree Collapse file tree 4 files changed +824
-18
lines changed Original file line number Diff line number Diff line change 20
20
#define HAL_RADIO_NS2US_ROUND (ns ) ((ns + 500)/1000)
21
21
22
22
/* SoC specific defines */
23
- #if defined(CONFIG_BOARD_NRF52_BSIM )
24
- #include "radio_sim_nrf52.h"
25
- #elif defined(CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUNET )
26
- #include "radio_sim_nrf5340.h"
27
- #elif defined(CONFIG_SOC_SERIES_NRF51X )
23
+ #if defined(CONFIG_SOC_SERIES_NRF51X )
28
24
#include "radio_nrf51.h"
29
25
#elif defined(CONFIG_SOC_NRF52805 )
30
26
#include "radio_nrf52805.h"
43
39
#elif defined(CONFIG_SOC_NRF5340_CPUNET )
44
40
#include <hal/nrf_vreqctrl.h>
45
41
#include "radio_nrf5340.h"
46
- #elif defined(CONFIG_SOC_COMPATIBLE_NRF54LX )
42
+ #elif defined(CONFIG_SOC_SERIES_NRF54LX )
47
43
#include "radio_nrf54lx.h"
48
- #else /* !CONFIG_SOC_COMPATIBLE_NRF54LX */
44
+ #elif defined(CONFIG_BOARD_NRF52_BSIM )
45
+ #include "radio_sim_nrf52.h"
46
+ #elif defined(CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUNET )
47
+ #include <hal/nrf_vreqctrl.h>
48
+ #include "radio_sim_nrf5340.h"
49
+ #elif defined(CONFIG_BOARD_NRF54L15BSIM_NRF54L15_CPUAPP )
50
+ #include "radio_sim_nrf54l.h"
51
+ #else
49
52
#error "Unsupported SoC."
50
53
#endif
51
54
Original file line number Diff line number Diff line change 6
6
* SPDX-License-Identifier: Apache-2.0
7
7
*/
8
8
9
- /*
10
- * This header needs lots of types and macros, instead of relaying on
11
- * good inclusion order let's pull them through soc.h
12
- */
13
- #include <soc.h>
14
-
15
9
/* Use the NRF_RTC instance for coarse radio event scheduling */
16
10
#define NRF_RTC NRF_RTC0
17
11
156
150
*/
157
151
#define HAL_RADIO_NRF52833_RXEN_RXIDLE_RX_2M_DEFAULT_NO_HW_TIFS_NS 129000
158
152
#define HAL_RADIO_NRF52833_RXEN_RXIDLE_RX_2M_DEFAULT_NO_HW_TIFS_US \
159
- HAL_RADIO_NS2US_CEIL(\
153
+ HAL_RADIO_NS2US_CEIL( \
160
154
HAL_RADIO_NRF52833_RXEN_RXIDLE_RX_2M_DEFAULT_NO_HW_TIFS_NS)
161
155
162
-
163
156
/* RXEN->RXIDLE + RXIDLE->RX (with fast Radio ramp-up mode)
164
157
* in microseconds for LE Coded PHY [S2].
165
158
*/
Original file line number Diff line number Diff line change 5
5
* SPDX-License-Identifier: Apache-2.0
6
6
*/
7
7
8
- #include <soc.h>
9
- #include <hal/nrf_vreqctrl.h>
10
-
11
8
/* Use the NRF_RTC instance for coarse radio event scheduling */
12
9
#define NRF_RTC NRF_RTC0
13
10
You can’t perform that action at this time.
0 commit comments