Failure to compile hci_ipc for raytac_mdbt53v_db_40 board

Hello!

I am trying to compile hci_ipc sample for raytac_mdbt53v_db_40 board (using nRF SDK v3.2.1) and getting the following error:

west build -b raytac_mdbt53v_db_40/nrf5340/cpunet --pristine -- -DEXTRA_CONF=nrf5340_cpunet_iso_peripheral-bt_ll_sw_split.conf
-- west build: making build dir /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build pristine
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /home/hermanberdnikov/ncs-ws/ncs/venv/bin/python3 (found suitable version "3.14.2", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /home/hermanberdnikov/.cache/zephyr
-- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
-- Board: raytac_mdbt53v_db_40, qualifiers: nrf5340/cpunet
Parsing /home/hermanberdnikov/ncs-ws/ncs/zephyr/share/sysbuild/Kconfig
Loaded configuration '/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/_sysbuild/empty.conf'
Merged configuration '/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/_sysbuild/empty.conf'
Configuration saved to '/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/zephyr/.config'
Kconfig header saved to '/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/_sysbuild/autoconf.h'
--
   *****************************
   * Running CMake for hci_ipc *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc
-- CMake version: 4.2.1
-- Found Python3: /home/hermanberdnikov/ncs-ws/ncs/venv/bin/python (found suitable version "3.14.2", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /home/hermanberdnikov/.cache/zephyr
-- Zephyr version: 4.2.99 (/home/hermanberdnikov/ncs-ws/ncs/zephyr)
-- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
-- Board: raytac_mdbt53v_db_40, qualifiers: nrf5340/cpunet
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.17.4 (/home/hermanberdnikov/zephyr-sdk-0.17.4)
-- Found toolchain: zephyr 0.17.4 (/home/hermanberdnikov/zephyr-sdk-0.17.4)
-- Found Dtc: /home/hermanberdnikov/zephyr-sdk-0.17.4/sysroots/aarch64-pokysdk-linux/usr/bin/dtc (found suitable version "1.7.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/hermanberdnikov/ncs-ws/ncs/zephyr/boards/raytac/mdbt53v_db_40/raytac_mdbt53v_db_40_nrf5340_cpunet.dts
-- Generated zephyr.dts: /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/zephyr.dts
-- Generated pickled edt: /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/edt.pickle
-- Generated devicetree_generated.h: /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/include/generated/zephyr/devicetree_generated.h

warning: Experimental symbol BT_LL_SW_SPLIT is enabled.

Parsing /home/hermanberdnikov/ncs-ws/ncs/zephyr/Kconfig
Loaded configuration '/home/hermanberdnikov/ncs-ws/ncs/zephyr/boards/raytac/mdbt53v_db_40/raytac_mdbt53v_db_40_nrf5340_cpunet_defconfig'
Merged configuration '/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/prj.conf'
Merged configuration '/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/.config.sysbuild'
Configuration saved to '/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/.config'
Kconfig header saved to '/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /home/hermanberdnikov/zephyr-sdk-0.17.4/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/hermanberdnikov/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- libmetal version: 1.8.0 (/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc)
-- Build type:
-- Host:    Linux/aarch64
-- Target:  Generic/arm
-- Machine: arm
-- Vendor: none
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- open-amp version: 1.8.0 (/home/hermanberdnikov/ncs-ws/ncs/modules/lib/open-amp/open-amp)
-- Host:    Linux/aarch64
-- Target:  Generic/arm
-- Machine: arm
-- C_FLAGS :  -Wall -Wextra
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Using ccache: /usr/bin/ccache
-- Found gen_kobject_list: /home/hermanberdnikov/ncs-ws/ncs/zephyr/scripts/build/gen_kobject_list.py
-- Configuring done (4.9s)
-- Generating done (0.2s)
-- Build files have been written to: /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc
-- Configuring done (7.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build
-- west build: building application
[5/10] Performing build step for 'hci_ipc'
[1/256] Preparing syscall dependency handling

[5/256] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.2.99 (/home/hermanberdnikov/ncs-ws/ncs/zephyr), build: ncs-v3.2.1
[12/256] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
FAILED: [code=1] zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
ccache /home/hermanberdnikov/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DK_HEAP_MEM_POOL_SIZE=4096 -DNRF5340_XXAA_NETWORK -DNRF54L_CONFIGURATION_56_ENABLE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/kernel/include -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/arch/arm/include -I/home/hermanberdnikov/ncs-ws/ncs/nrf/drivers/mpsl/clock_control -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/include/generated/zephyr -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/include -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/include/generated -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/soc/nordic -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/soc/nordic/nrf53/. -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/soc/nordic/common/. -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/subsys/bluetooth -I/home/hermanberdnikov/ncs-ws/ncs/nrf/include -I/home/hermanberdnikov/ncs-ws/ncs/nrf/lib/multithreading_lock/. -I/home/hermanberdnikov/ncs-ws/ncs/nrf/subsys/bluetooth/controller/. -I/home/hermanberdnikov/ncs-ws/ncs/nrf/tests/include -I/home/hermanberdnikov/ncs-ws/ncs/modules/hal/cmsis_6/CMSIS/Core/Include -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/cmsis_6/. -I/home/hermanberdnikov/ncs-ws/ncs/nrf/modules/hal_nordic/. -I/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx -I/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/drivers/include -I/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/bsp/stable -I/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/bsp/stable/templates -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/hal_nordic/nrfx/. -I/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/modules/libmetal/libmetal/lib/include -I/home/hermanberdnikov/ncs-ws/ncs/modules/lib/open-amp/open-amp/lib/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/softdevice_controller/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/common/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/nrf21540_gpio/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/nrf2220/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/nrf2240/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/nrf22xx/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/simple_gpio/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/fem/include/protocol -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/include -I/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/include/protocol -isystem /home/hermanberdnikov/ncs-ws/ncs/zephyr/lib/libc/common/include -fno-strict-aliasing -Os -imacros /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/home/hermanberdnikov/zephyr-sdk-0.17.4/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/hermanberdnikov/ncs-ws/ncs/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/hermanberdnikov/ncs-ws/ncs=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -fno-lto -MD -MT zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -MF zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -c /home/hermanberdnikov/ncs-ws/ncs/zephyr/arch/arm/core/offsets/offsets.c
In file included from /home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/include/mpsl_clock.h:29,
                 from /home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/include/mpsl.h:27,
                 from /home/hermanberdnikov/ncs-ws/ncs/nrf/subsys/bluetooth/controller/./bt_ctlr_used_resources.h:27,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/hal_nordic/nrfx/./nrfx_reserved_resources.h:55,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/hal_nordic/nrfx/./nrfx_reserved_resources_ncs.h:49,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/hal_nordic/nrfx/./nrfx_config.h:23,
                 from /home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/nrfx.h:37,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/soc/nordic/common/./soc_nrf_common.h:14,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/soc/nordic/nrf53/./soc.h:15,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/cmsis_6/./cmsis_core_m.h:24,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/cmsis_6/./cmsis_core.h:10,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h:24,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/arch/arm/asm_inline.h:18,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/arch/arm/arch.h:30,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/arch/cpu.h:19,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/kernel_includes.h:36,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/kernel.h:17,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/arch/arm/core/offsets/offsets_aarch32.c:29,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/arch/arm/core/offsets/offsets.c:9:
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:339:34: error: 'CLOCK_LFCLKSRC_SRC_LFRC' undeclared here (not in a function)
  339 |     NRF_CLOCK_LFCLK_RC         = CLOCK_LFCLKSRC_SRC_LFRC,                                               /**< Internal 32 kHz RC oscillator. */
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:399:37: error: 'CLOCK_HFCLKSTAT_SRC_HFXO' undeclared here (not in a function); did you mean 'NRF_CLOCK_LFCLKSTAT_SRC_Msk'?
  399 |     NRF_CLOCK_HFCLK_HIGH_ACCURACY = CLOCK_HFCLKSTAT_SRC_HFXO,  /**< External 32 MHz crystal oscillator. */
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                     NRF_CLOCK_LFCLKSTAT_SRC_Msk
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:307:45: error: 'CLOCK_INTENSET_HFCLKSTARTED_Msk' undeclared here (not in a function); did you mean 'NRF_CLOCK_INTENSET_HFCLKSTARTED_Msk'?
  307 | #define NRF_CLOCK_INTENSET_HFCLKSTARTED_Msk CLOCK_INTENSET_HFCLKSTARTED_Msk
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:449:43: note: in expansion of macro 'NRF_CLOCK_INTENSET_HFCLKSTARTED_Msk'
  449 |     NRF_CLOCK_INT_HF_STARTED_MASK       = NRF_CLOCK_INTENSET_HFCLKSTARTED_Msk,  /**< Interrupt on HFCLKSTARTED event. */
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:275:48: error: 'CLOCK_INTENSET_LFCLKSTARTED_Msk' undeclared here (not in a function); did you mean 'NRF_CLOCK_INTENSET_LFCLKSTARTED_Msk'?
  275 | #define NRF_CLOCK_INTENSET_LFCLKSTARTED_Msk    CLOCK_INTENSET_LFCLKSTARTED_Msk
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:451:43: note: in expansion of macro 'NRF_CLOCK_INTENSET_LFCLKSTARTED_Msk'
  451 |     NRF_CLOCK_INT_LF_STARTED_MASK       = NRF_CLOCK_INTENSET_LFCLKSTARTED_Msk,  /**< Interrupt on LFCLKSTARTED event. */
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hermanberdnikov/zephyr-sdk-0.17.4/arm-zephyr-eabi/picolibc/include/sys/_types.h:52,
                 from /home/hermanberdnikov/zephyr-sdk-0.17.4/arm-zephyr-eabi/picolibc/include/stdio.h:49,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/sys/printk.h:65,
                 from /home/hermanberdnikov/ncs-ws/ncs/zephyr/include/zephyr/kernel_includes.h:35:
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:497:47: error: unknown type name 'NRF_CLOCK_Type'
  497 |     NRF_CLOCK_TASK_HFCLKSTART      = offsetof(NRF_CLOCK_Type, TASKS_HFCLKSTART),      /**< Start HFCLK clock source. */
      |                                               ^~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:498:47: error: unknown type name 'NRF_CLOCK_Type'
  498 |     NRF_CLOCK_TASK_HFCLKSTOP       = offsetof(NRF_CLOCK_Type, TASKS_HFCLKSTOP),       /**< Stop HFCLK clock source. */
      |                                               ^~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:505:47: error: unknown type name 'NRF_CLOCK_Type'
  505 |     NRF_CLOCK_TASK_LFCLKSTART      = offsetof(NRF_CLOCK_Type, TASKS_LFCLKSTART),      /**< Start LFCLK clock source. */
      |                                               ^~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:506:47: error: unknown type name 'NRF_CLOCK_Type'
  506 |     NRF_CLOCK_TASK_LFCLKSTOP       = offsetof(NRF_CLOCK_Type, TASKS_LFCLKSTOP),       /**< Stop LFCLK clock source. */
      |                                               ^~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:539:50: error: unknown type name 'NRF_CLOCK_Type'
  539 |     NRF_CLOCK_EVENT_HFCLKSTARTED      = offsetof(NRF_CLOCK_Type, EVENTS_HFCLKSTARTED),      /**< HFCLK oscillator started. */
      |                                                  ^~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:545:50: error: unknown type name 'NRF_CLOCK_Type'
  545 |     NRF_CLOCK_EVENT_LFCLKSTARTED      = offsetof(NRF_CLOCK_Type, EVENTS_LFCLKSTARTED),      /**< LFCLK oscillator started. */
      |                                                  ^~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:582:18: error: expected ';' before 'void'
  582 | NRF_STATIC_INLINE void nrf_clock_int_enable(NRF_CLOCK_Type * p_reg, uint32_t mask);
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:582:45: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
  582 | NRF_STATIC_INLINE void nrf_clock_int_enable(NRF_CLOCK_Type * p_reg, uint32_t mask);
      |                                             ^~~~~~~~~~~~~~
      |                                             NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:591:18: error: expected ';' before 'void'
  591 | NRF_STATIC_INLINE void nrf_clock_int_disable(NRF_CLOCK_Type * p_reg, uint32_t mask);
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:591:46: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
  591 | NRF_STATIC_INLINE void nrf_clock_int_disable(NRF_CLOCK_Type * p_reg, uint32_t mask);
      |                                              ^~~~~~~~~~~~~~
      |                                              NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:602:1: error: unknown type name 'NRF_STATIC_INLINE'
  602 | NRF_STATIC_INLINE uint32_t nrf_clock_int_enable_check(NRF_CLOCK_Type const * p_reg, uint32_t mask);
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:602:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_int_enable_check'
  602 | NRF_STATIC_INLINE uint32_t nrf_clock_int_enable_check(NRF_CLOCK_Type const * p_reg, uint32_t mask);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:628:1: error: unknown type name 'NRF_STATIC_INLINE'
  628 | NRF_STATIC_INLINE uint32_t nrf_clock_task_address_get(NRF_CLOCK_Type const * p_reg,
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:628:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_task_address_get'
  628 | NRF_STATIC_INLINE uint32_t nrf_clock_task_address_get(NRF_CLOCK_Type const * p_reg,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:637:18: error: expected ';' before 'void'
  637 | NRF_STATIC_INLINE void nrf_clock_task_trigger(NRF_CLOCK_Type * p_reg, nrf_clock_task_t task);
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:637:47: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
  637 | NRF_STATIC_INLINE void nrf_clock_task_trigger(NRF_CLOCK_Type * p_reg, nrf_clock_task_t task);
      |                                               ^~~~~~~~~~~~~~
      |                                               NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:648:1: error: unknown type name 'NRF_STATIC_INLINE'
  648 | NRF_STATIC_INLINE uint32_t nrf_clock_event_address_get(NRF_CLOCK_Type const * p_reg,
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:648:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_event_address_get'
  648 | NRF_STATIC_INLINE uint32_t nrf_clock_event_address_get(NRF_CLOCK_Type const * p_reg,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:657:18: error: expected ';' before 'void'
  657 | NRF_STATIC_INLINE void nrf_clock_event_clear(NRF_CLOCK_Type * p_reg, nrf_clock_event_t event);
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:657:46: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
  657 | NRF_STATIC_INLINE void nrf_clock_event_clear(NRF_CLOCK_Type * p_reg, nrf_clock_event_t event);
      |                                              ^~~~~~~~~~~~~~
      |                                              NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:668:18: error: expected ';' before '_Bool'
  668 | NRF_STATIC_INLINE bool nrf_clock_event_check(NRF_CLOCK_Type const * p_reg, nrf_clock_event_t event);
      |                  ^
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:668:46: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
  668 | NRF_STATIC_INLINE bool nrf_clock_event_check(NRF_CLOCK_Type const * p_reg, nrf_clock_event_t event);
      |                                              ^~~~~~~~~~~~~~
      |                                              NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:679:18: error: expected ';' before '_Bool'
  679 | NRF_STATIC_INLINE bool nrf_clock_start_task_check(NRF_CLOCK_Type const * p_reg,
      |                  ^
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:679:51: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
  679 | NRF_STATIC_INLINE bool nrf_clock_start_task_check(NRF_CLOCK_Type const * p_reg,
      |                                                   ^~~~~~~~~~~~~~
      |                                                   NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:695:18: error: expected ';' before '_Bool'
  695 | NRF_STATIC_INLINE bool nrf_clock_is_running(NRF_CLOCK_Type const * p_reg,
      |                  ^
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:695:45: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
  695 | NRF_STATIC_INLINE bool nrf_clock_is_running(NRF_CLOCK_Type const * p_reg,
      |                                             ^~~~~~~~~~~~~~
      |                                             NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:707:18: error: expected ';' before 'void'
  707 | NRF_STATIC_INLINE void nrf_clock_lf_src_set(NRF_CLOCK_Type * p_reg, nrf_clock_lfclk_t source);
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:707:45: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
  707 | NRF_STATIC_INLINE void nrf_clock_lf_src_set(NRF_CLOCK_Type * p_reg, nrf_clock_lfclk_t source);
      |                                             ^~~~~~~~~~~~~~
      |                                             NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:721:1: error: unknown type name 'NRF_STATIC_INLINE'
  721 | NRF_STATIC_INLINE nrf_clock_lfclk_t nrf_clock_lf_src_get(NRF_CLOCK_Type const * p_reg);
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:721:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_lf_src_get'
  721 | NRF_STATIC_INLINE nrf_clock_lfclk_t nrf_clock_lf_src_get(NRF_CLOCK_Type const * p_reg);
      |                                     ^~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:764:1: error: unknown type name 'NRF_STATIC_INLINE'
  764 | NRF_STATIC_INLINE nrf_clock_hfclk_t nrf_clock_hf_src_get(NRF_CLOCK_Type const * p_reg);
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:764:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_hf_src_get'
  764 | NRF_STATIC_INLINE nrf_clock_hfclk_t nrf_clock_hf_src_get(NRF_CLOCK_Type const * p_reg);
      |                                     ^~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1032:18: error: expected ';' before 'void'
 1032 | NRF_STATIC_INLINE void nrf_clock_int_enable(NRF_CLOCK_Type * p_reg, uint32_t mask)
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1032:45: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
 1032 | NRF_STATIC_INLINE void nrf_clock_int_enable(NRF_CLOCK_Type * p_reg, uint32_t mask)
      |                                             ^~~~~~~~~~~~~~
      |                                             NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1037:18: error: expected ';' before 'void'
 1037 | NRF_STATIC_INLINE void nrf_clock_int_disable(NRF_CLOCK_Type * p_reg, uint32_t mask)
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1037:46: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
 1037 | NRF_STATIC_INLINE void nrf_clock_int_disable(NRF_CLOCK_Type * p_reg, uint32_t mask)
      |                                              ^~~~~~~~~~~~~~
      |                                              NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1042:1: error: unknown type name 'NRF_STATIC_INLINE'
 1042 | NRF_STATIC_INLINE uint32_t nrf_clock_int_enable_check(NRF_CLOCK_Type const * p_reg, uint32_t mask)
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1042:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_int_enable_check'
 1042 | NRF_STATIC_INLINE uint32_t nrf_clock_int_enable_check(NRF_CLOCK_Type const * p_reg, uint32_t mask)
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1054:1: error: unknown type name 'NRF_STATIC_INLINE'
 1054 | NRF_STATIC_INLINE uint32_t nrf_clock_task_address_get(NRF_CLOCK_Type const * p_reg,
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1054:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_task_address_get'
 1054 | NRF_STATIC_INLINE uint32_t nrf_clock_task_address_get(NRF_CLOCK_Type const * p_reg,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1060:18: error: expected ';' before 'void'
 1060 | NRF_STATIC_INLINE void nrf_clock_task_trigger(NRF_CLOCK_Type * p_reg, nrf_clock_task_t task)
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1060:47: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
 1060 | NRF_STATIC_INLINE void nrf_clock_task_trigger(NRF_CLOCK_Type * p_reg, nrf_clock_task_t task)
      |                                               ^~~~~~~~~~~~~~
      |                                               NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1065:1: error: unknown type name 'NRF_STATIC_INLINE'
 1065 | NRF_STATIC_INLINE uint32_t nrf_clock_event_address_get(NRF_CLOCK_Type const * p_reg,
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1065:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_event_address_get'
 1065 | NRF_STATIC_INLINE uint32_t nrf_clock_event_address_get(NRF_CLOCK_Type const * p_reg,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1071:18: error: expected ';' before 'void'
 1071 | NRF_STATIC_INLINE void nrf_clock_event_clear(NRF_CLOCK_Type * p_reg, nrf_clock_event_t event)
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1071:46: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
 1071 | NRF_STATIC_INLINE void nrf_clock_event_clear(NRF_CLOCK_Type * p_reg, nrf_clock_event_t event)
      |                                              ^~~~~~~~~~~~~~
      |                                              NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1077:18: error: expected ';' before '_Bool'
 1077 | NRF_STATIC_INLINE bool nrf_clock_event_check(NRF_CLOCK_Type const * p_reg, nrf_clock_event_t event)
      |                  ^
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1077:46: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
 1077 | NRF_STATIC_INLINE bool nrf_clock_event_check(NRF_CLOCK_Type const * p_reg, nrf_clock_event_t event)
      |                                              ^~~~~~~~~~~~~~
      |                                              NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1082:18: error: expected ';' before '_Bool'
 1082 | NRF_STATIC_INLINE bool nrf_clock_start_task_check(NRF_CLOCK_Type const * p_reg,
      |                  ^
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1082:51: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
 1082 | NRF_STATIC_INLINE bool nrf_clock_start_task_check(NRF_CLOCK_Type const * p_reg,
      |                                                   ^~~~~~~~~~~~~~
      |                                                   NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1127:18: error: expected ';' before '_Bool'
 1127 | NRF_STATIC_INLINE bool nrf_clock_is_running(NRF_CLOCK_Type const * p_reg,
      |                  ^
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1127:45: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
 1127 | NRF_STATIC_INLINE bool nrf_clock_is_running(NRF_CLOCK_Type const * p_reg,
      |                                             ^~~~~~~~~~~~~~
      |                                             NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1202:18: error: expected ';' before 'void'
 1202 | NRF_STATIC_INLINE void nrf_clock_lf_src_set(NRF_CLOCK_Type * p_reg, nrf_clock_lfclk_t source)
      |                  ^~~~~
      |                  ;
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1202:45: error: unknown type name 'NRF_CLOCK_Type'; did you mean 'NRF_CLOCK_H__'?
 1202 | NRF_STATIC_INLINE void nrf_clock_lf_src_set(NRF_CLOCK_Type * p_reg, nrf_clock_lfclk_t source)
      |                                             ^~~~~~~~~~~~~~
      |                                             NRF_CLOCK_H__
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1211:1: error: unknown type name 'NRF_STATIC_INLINE'
 1211 | NRF_STATIC_INLINE nrf_clock_lfclk_t nrf_clock_lf_src_get(NRF_CLOCK_Type const * p_reg)
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1211:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_lf_src_get'
 1211 | NRF_STATIC_INLINE nrf_clock_lfclk_t nrf_clock_lf_src_get(NRF_CLOCK_Type const * p_reg)
      |                                     ^~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1236:1: error: unknown type name 'NRF_STATIC_INLINE'
 1236 | NRF_STATIC_INLINE nrf_clock_hfclk_t nrf_clock_hf_src_get(NRF_CLOCK_Type const * p_reg)
      | ^~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/modules/hal/nordic/nrfx/hal/nrf_clock.h:1236:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_clock_hf_src_get'
 1236 | NRF_STATIC_INLINE nrf_clock_hfclk_t nrf_clock_hf_src_get(NRF_CLOCK_Type const * p_reg)
      |                                     ^~~~~~~~~~~~~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/nrfxlib/mpsl/include/mpsl.h:86:66: error: unknown type name 'IRQn_Type'
   86 | int32_t mpsl_init(mpsl_clock_lfclk_cfg_t const * p_clock_config, IRQn_Type low_prio_irq, mpsl_assert_handler_t p_assert_handler);
      |                                                                  ^~~~~~~~~
/home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/hal_nordic/nrfx/./nrfx_reserved_resources.h:60: warning: "NRFX_DPPI0_CHANNELS_USED_BY_BT_CTLR" redefined
   60 | #define NRFX_DPPI0_CHANNELS_USED_BY_BT_CTLR BT_CTLR_USED_PPI_CHANNELS
      |
/home/hermanberdnikov/ncs-ws/ncs/zephyr/modules/hal_nordic/nrfx/./nrfx_reserved_resources_ncs.h:15: note: this is the location of the previous definition
   15 | #define NRFX_DPPI0_CHANNELS_USED_BY_BT_CTLR SDC_DPPI_CHANNELS_USED_MASK
      |
ninja: build stopped: subcommand failed.
FAILED: [code=1] _sysbuild/sysbuild/images/hci_ipc-prefix/src/hci_ipc-stamp/hci_ipc-build /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/_sysbuild/sysbuild/images/hci_ipc-prefix/src/hci_ipc-stamp/hci_ipc-build
cd /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build/hci_ipc && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/hermanberdnikov/ncs-ws/ncs/zephyr/samples/bluetooth/hci_ipc/build


The sample compiles fine for the nrf5340dk board though. Can somebody please pinpoint to where I can fix that and what exactly happens here?

Thank you,
Herman Berdnikov

Parents Reply
  • Hello,

    So the question is: is there a reason why bt_hci_controller is disabled by default on nrf5340 cpunet

    Because the network core is not an HCI device

    On the nRF5340, whether the 32.768 kHz crystal (LFXO) is enabled when you run the hci_ipc (or ipc_radio) image on CPUNET is not fixed by the sample itself; it depends on the Kconfig settings used for that image and for your board.

    If your board does not have LFXO like nrf5340DK, then you have to enable LFRC to run the sample on CPUnet.

    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y
    CONFIG_SOC_ENABLE_LFXO=n

Children
No Data
Related