Skip to content

Commit 2637c0e

Browse files
ppryga-nordicnashif
authored andcommitted
Bluetooth: controller: Fix compilation error due to missing includes
When CONFIG_ARM_MPU is explicitly unset in application prj.conf there were build warnings related with implicit declarations of following symbols: NRF_DT_GPIOS_TO_PSEL, __WFE, __SEV. Lack of NRF_DT_GPIOS_TO_PSEL lead to build error due to undeclared dfegpio0_gpios symbol. The cause for the warnings and error were missing soc.h includes in few source files. The missing includes were added in this commit. Signed-off-by: Piotr Pryga <[email protected]>
1 parent 8b8fed9 commit 2637c0e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_df.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <stdint.h>
88
#include <errno.h>
9+
#include <soc.h>
910
#include <devicetree.h>
1011
#include <sys/util_macro.h>
1112
#include <hal/nrf_radio.h>

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_df.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
#include <stdint.h>
8+
#include <soc.h>
89
#include <bluetooth/hci.h>
910

1011
#include "util/util.h"

subsys/bluetooth/controller/ll_sw/ull_df.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
*/
66

77
#include <stdint.h>
8-
98
#include <zephyr.h>
9+
#include <soc.h>
1010
#include <sys/util.h>
1111
#include <bluetooth/hci.h>
1212

0 commit comments

Comments
 (0)