Custom code for the Bluetooth HCI_USB compiles for NRF5340 but not for BL5340

Hello community,

I am trying to develop a custom bluetooth HCI_USB code for the BL5340PA BLE controller board. The Liard Connectivity's(now Ezurio) BL5340PA : https://www.ezurio.com/wireless-modules/bluetooth-modules/bl5340pa-series-long-range-bluetooth-module

These are the following that I want to do in my project:

1. Generate separate binaries for the application core and the network core

2. Enable serial recovery feature so that upon each reset of the device, it goes into recovery mode and a new firmware can be uploaded using mcumgr commands.

To implement the above I have taken reference of the Serial Recovery examples by   which is shared on his Github: https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery/mcuboot_serial_recovery_cdc_acm

Based on the examples above I have modified the following files of my project :

Contents of the prj.conf file : 

# General Configruation
CONFIG_PINCTRL=y

##########################################################################
## HCI_USB Project Configuration --------------------------------------
# --- Sets up the USB interface for HCI control of the BT Carrier Board
# -- From default HCI_USB project with few removals due to conflicts

CONFIG_STDOUT_CONSOLE=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

CONFIG_BT=y
CONFIG_BT_HCI_RAW=y

CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PID=0x000B
CONFIG_USB_DEVICE_BLUETOOTH=y
CONFIG_USB_DEVICE_BLUETOOTH_VS_H4=n

# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.
CONFIG_BT_BUF_CMD_TX_COUNT=10

#=========================================================================

##########################################################################
## Additional HCI Features
# --- Allows for custom and extra commands to be added if nececssary

CONFIG_BT_HCI_VS=y
CONFIG_BT_HCI_VS_EVT=y

#=========================================================================

##########################################################################
## Data Length and BT Buffers/Counts - CONFIGS Should be mirrored in HCI_RPMSG.conf

# This can be edited to 16 for more buffers, if overflows are ocurring
CONFIG_BT_BUF_EVT_RX_COUNT=10

CONFIG_BT_HCI_VS=y
CONFIG_BT_HCI_VS_EVT=y

#Allow data length updates on this device
CONFIG_BT_DATA_LEN_UPDATE=y
 
# Size buffers for best functionality with HCI and nrf5340, to allow large data transfers
CONFIG_BT_BUF_EVT_RX_SIZE=255
CONFIG_BT_BUF_ACL_RX_SIZE=502
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_CMD_TX_SIZE=255
 
# This can be descresed if necessary, lowest value not tested
CONFIG_BT_RX_STACK_SIZE=2048

#=========================================================================

##########################################################################
## Disable unused features

# Disabled as it causes unrelated error on boot
CONFIG_I2C=n

#=========================================================================
##Enable the MCUBoot Bootloader
CONFIG_BOOTLOADER_MCUBOOT=y
#enable the netcore binary file generation
CONFIG_NRF53_UPGRADE_NETWORK_CORE=y
CONFIG_ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS=y
#=========================================================================

Since I want to perform serial recovery over cdc_acm I have also added a pm_static.yml file that increases the partition for MCUBOOT to fit the cdc_acm drivers.

The contents of the partition manager yml file are as follows : 

mcuboot:
  address: 0x0
  end_address: 0x10000
  placement:
    before:
    - mcuboot_primary
  region: flash_primary
  size: 0x10000

I have also created a child_image folder where I have created a mcuboot.conf file to configure the binary generation for the network core.

The contents of the mcuboot.conf are as follows : 

CONFIG_MAIN_STACK_SIZE=10240
# Flash
CONFIG_FLASH=y

# MCUBoot serial
CONFIG_MCUBOOT_SERIAL=y
CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD=y

# Decrease memory footprint
CONFIG_CBPRINTF_NANO=y
CONFIG_TIMESLICING=n
CONFIG_BOOT_BANNER=n
CONFIG_CONSOLE=n
CONFIG_CONSOLE_HANDLER=n
CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=n
CONFIG_USE_SEGGER_RTT=n
CONFIG_LOG=n
CONFIG_RESET_ON_FATAL_ERROR=n

# The following configurations are required to support serial recovery of the
# network image
CONFIG_PCD_APP=y

CONFIG_FLASH_SIMULATOR=y
CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES=y
CONFIG_FLASH_SIMULATOR_STATS=n

CONFIG_BOOT_IMAGE_ACCESS_HOOKS=y
CONFIG_NRF53_RECOVERY_NETWORK_CORE=y

##################################################
#Configurations to enable Serial Recovery
#CONFIG_SIZE_OPTIMIZATIONS=y
#CONFIG_SINGLE_APPLICATION_SLOT=y

# Enable MCUboot Serial Recovery
CONFIG_MCUBOOT_SERIAL=y
CONFIG_UART_CONSOLE=n
# Point Serial Recovery to CDC_ACM
CONFIG_BOOT_SERIAL_CDC_ACM=y
# Enable wait for DFU functionality
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT=2500

There is also a hci_rpmsg file that is being used to disable the SPI communication with the network core and set the gain to a fixed value because of stability issues while the HCI_USB code works for scanning devices.

Contents of hci_rpmsg file:

#################################################################################
#
#  HCI_RPMSP Child Image Configuration 
#
#################################################################################

#--------------------------------------------------------------------------------
# Enable Pin Control
#--------------------------------------------------------------------------------
CONFIG_PINCTRL=y


#--------------------------------------------------------------------------------
# Enable SPI
#--------------------------------------------------------------------------------

# Disabled for HCI timing conflict
CONFIG_SPI=n


#--------------------------------------------------------------------------------
# Enable MPSL and FEM
#--------------------------------------------------------------------------------
CONFIG_MPSL=y
CONFIG_MPSL_FEM=y
CONFIG_MPSL_FEM_NRF21540_GPIO=y
CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB=20
CONFIG_BT_CTLR_TX_PWR_ANTENNA=20
# Disable SPI as this causes stopping during operation
# Non-recoverable, meaning this device is stuck at the FEM default which should* be the correct gain for +18dBm
CONFIG_MPSL_FEM_NRF21540_GPIO_SPI=n

#--------------------------------------------------------------------------------
# BT and HCI Configurations/Features
#--------------------------------------------------------------------------------

# Allow full data length to enable best speed and communication with S7100
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251

# Limit number of devices connected as with DLE Max it overflows buffer on compile time
# This carrier board should not be connected to more than 1 device at a time, this can
# be comfortably limited to 2 instead of 4
CONFIG_BT_MAX_CONN=4

# We are operating only on 1M PHY. Limit this to ensure best operation
CONFIG_BT_PHY_UPDATE=n

# Dynamic Power control is handled differently with the FEM, and SPI is not functional
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=n

# Ensure no nrf5340 default is kept due to the FEM
CONFIG_BT_CTLR_TX_PWR_PLUS_3=n

#### THe next confiurations, in this section should be mirrored in prj.conf ------------------------

# Default value with the nrf5340 for a workaround explained in prj.conf
CONFIG_BT_BUF_CMD_TX_COUNT=10

# This can be edited to 16 for more buffers, if overflows are ocurring
CONFIG_BT_BUF_EVT_RX_COUNT=10
 
# Size buffers for best functionality with HCI and nrf5340, to allow large data transfers
CONFIG_BT_BUF_EVT_RX_SIZE=255
CONFIG_BT_BUF_ACL_RX_SIZE=502
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_CMD_TX_SIZE=255

# This can be descresed if necessary, lowest value not tested
CONFIG_BT_RX_STACK_SIZE=2048

#--------------------------------------------------------------------------------
# Disabel other features
#--------------------------------------------------------------------------------

# Disabled as it causes unrelated error on boot
CONFIG_I2C=n

While the code compiles successfully when I select the build for nrf5340_dvk_cpuapp but I get an error when I select the board as bl5340pa_dvk_cpuapp. I am utilizing the Zephyr/nrf SDK version 2.4.1 (received from Laird for updated TX power setting rules: GitHub - LairdCP/bl5340pa_manifest: Manifest for the Laird Connectivity fork of the nRF Connect SDK with support for the BL5340PA).

I get the following error while building the code: 

FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map 
: && ccache /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  -fuse-ld=bfd  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board/build_1/mcuboot/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/drivers/usb/device/libdrivers__usb__device.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/hwinfo/libdrivers__hwinfo.a  zephyr/drivers/i2c/libdrivers__i2c.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a  modules/nrf/subsys/pcd/lib..__nrf__subsys__pcd.a  modules/nrf/modules/mcuboot/hooks/lib..__nrf__modules__mcuboot__hooks.a  modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a  modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a  modules/mbedtls/libmodules__mbedtls.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  modules/zcbor/libmodules__zcbor.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -L"/home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main/nofp"  -L/home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board/build_1/mcuboot/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  -mcpu=cortex-m33  -mthumb  -mabi=aapcs  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -Wl,-no-pie  /home/mutsl04176/ncs/PA_Firmware/nrfxlib/crypto/nrf_cc312_platform/lib/cortex-m33/soft-float/no-interrupts/libnrf_cc312_platform_0.9.17.a && cd /home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board/build_1/mcuboot/zephyr && /home/mutsl04176/ncs/toolchains/7795df4459/usr/local/bin/cmake -E echo
/home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `device_handles' will not fit in region `FLASH'
/home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH' overflowed by 4200 bytes
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
[19/260] Generating include/generated/version.h
-- Zephyr version: 3.3.99 (/home/mutsl04176/ncs/PA_Firmware/zephyr), build: 3041adb35158
[229/260] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj
FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj 
ccache /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I../../../../include -Izephyr/include/generated -I../../../../soc/arm/nordic_nrf/nrf53 -I../../../../soc/arm/nordic_nrf/common/. -I../../../../subsys/usb/device -I../../../../subsys/bluetooth -I/home/mutsl04176/ncs/PA_Firmware/nrf/include -I/home/mutsl04176/ncs/PA_Firmware/nrf/tests/include -I/home/mutsl04176/ncs/PA_Firmware/modules/hal/cmsis/CMSIS/Core/Include -I/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic/nrfx -I/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic/nrfx/drivers/include -I/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic/nrfx/mdk -I../../../../modules/hal_nordic/nrfx/. -Imodules/libmetal/libmetal/lib/include -I/home/mutsl04176/ncs/PA_Firmware/modules/lib/open-amp/open-amp/lib/include -I/home/mutsl04176/ncs/PA_Firmware/nrfxlib/softdevice_controller/include -isystem ../../../../lib/libc/minimal/include -isystem /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /home/mutsl04176/ncs/PA_Firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board/build_1/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs --sysroot=/home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/mutsl04176/ncs/PA_Firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/mutsl04176/ncs/PA_Firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/mutsl04176/ncs/PA_Firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj -c /home/mutsl04176/ncs/PA_Firmware/zephyr/drivers/gpio/gpio_pca953x.c
In file included from ../../../../include/zephyr/sys/util_macro.h:34,
                 from ../../../../include/zephyr/sys/atomic.h:16,
                 from ../../../../include/zephyr/kernel_includes.h:21,
                 from ../../../../include/zephyr/kernel.h:17,
                 from /home/mutsl04176/ncs/PA_Firmware/zephyr/drivers/gpio/gpio_pca953x.c:13:
../../../../include/zephyr/device.h:84:41: error: '__device_dts_ord_13' undeclared here (not in a function); did you mean '__device_dts_ord_33'?
   84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
../../../../include/zephyr/sys/util_internal.h:72:26: note: in definition of macro '__DEBRACKET'
   72 | #define __DEBRACKET(...) __VA_ARGS__
      |                          ^~~~~~~~~~~
../../../../include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET'
   64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
      |         ^~~~~~~~~~~~~~~~~~~~
../../../../include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE'
   59 |         __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~
../../../../include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1'
  180 |         Z_COND_CODE_1(_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~~~
../../../../include/zephyr/devicetree.h:3859:9: note: in expansion of macro 'COND_CODE_1'
 3859 |         COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT),   \
      |         ^~~~~~~~~~~
../../../../include/zephyr/sys/util_internal.h:69:53: note: in expansion of macro '__DEBRACKET'
   69 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val
      |                                                     ^~~~~~~~~~~
../../../../include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET'
   64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
      |         ^~~~~~~~~~~~~~~~~~~~
../../../../include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE'
   59 |         __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~
../../../../include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1'
  180 |         Z_COND_CODE_1(_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~~~
../../../../include/zephyr/drivers/i2c.h:119:17: note: in expansion of macro 'COND_CODE_1'
  119 |                 COND_CODE_1(DT_ON_BUS(node_id, i3c),                    \
      |                 ^~~~~~~~~~~
../../../../include/zephyr/device.h:210:37: note: in expansion of macro 'DEVICE_NAME_GET'
  210 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
../../../../include/zephyr/device.h:227:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
  227 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
../../../../include/zephyr/drivers/i2c.h:104:16: note: in expansion of macro 'DEVICE_DT_GET'
  104 |         .bus = DEVICE_DT_GET(DT_BUS(node_id)),                          \
      |                ^~~~~~~~~~~~~
../../../../include/zephyr/drivers/i2c.h:121:30: note: in expansion of macro 'I2C_DT_SPEC_GET_ON_I2C'
  121 |                             (I2C_DT_SPEC_GET_ON_I2C(node_id)))          \
      |                              ^~~~~~~~~~~~~~~~~~~~~~
../../../../include/zephyr/drivers/i2c.h:133:9: note: in expansion of macro 'I2C_DT_SPEC_GET'
  133 |         I2C_DT_SPEC_GET(DT_DRV_INST(inst))
      |         ^~~~~~~~~~~~~~~
/home/mutsl04176/ncs/PA_Firmware/zephyr/drivers/gpio/gpio_pca953x.c:465:24: note: in expansion of macro 'I2C_DT_SPEC_INST_GET'
  465 |                 .i2c = I2C_DT_SPEC_INST_GET(n),                                 \
      |                        ^~~~~~~~~~~~~~~~~~~~
zephyr/include/generated/devicetree_generated.h:20111:45: note: in expansion of macro 'GPIO_PCA953X_INIT'
20111 | #define DT_FOREACH_OKAY_INST_ti_tca9538(fn) fn(0)
      |                                             ^~
../../../../include/zephyr/sys/util_internal.h:105:36: note: in expansion of macro 'DT_FOREACH_OKAY_INST_ti_tca9538'
  105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
      |                                    ^
/home/mutsl04176/ncs/PA_Firmware/zephyr/drivers/gpio/gpio_pca953x.c:488:1: note: in expansion of macro 'DT_INST_FOREACH_STATUS_OKAY'
  488 | DT_INST_FOREACH_STATUS_OKAY(GPIO_PCA953X_INIT)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf 
cd /home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board/build_1/mcuboot && /home/mutsl04176/ncs/toolchains/7795df4459/usr/local/bin/cmake --build . --
ninja: build stopped: subcommand failed.

I can kind of figure it out that it has something to do with the flash partitions not being of correct size in order to accomodate certain sections of the code but I do not have an idea on how to resolve it.

Any help to solve this issue would be of great help!

Parents
  • Hi,

     

    You are overflowing the mcuboot image by ~4kB in the FLASH region:

    /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `device_handles' will not fit in region `FLASH'
    /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH' overflowed by 4200 bytes
     

    Try setting this in your child_image/mcuboot.conf file:

    CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10000

     

    Kind regards,

    Håkon

  • Hi   I tried changing that in the mcuboot.conf file but the compilation still failed.

    Here are the build logs and error message : 

    FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj 
    ccache /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I../../../../include -Izephyr/include/generated -I../../../../soc/arm/nordic_nrf/nrf53 -I../../../../soc/arm/nordic_nrf/common/. -I../../../../subsys/usb/device -I../../../../subsys/bluetooth -I/home/mutsl04176/ncs/PA_Firmware/nrf/include -I/home/mutsl04176/ncs/PA_Firmware/nrf/tests/include -I/home/mutsl04176/ncs/PA_Firmware/modules/hal/cmsis/CMSIS/Core/Include -I/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic/nrfx -I/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic/nrfx/drivers/include -I/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic/nrfx/mdk -I../../../../modules/hal_nordic/nrfx/. -Imodules/libmetal/libmetal/lib/include -I/home/mutsl04176/ncs/PA_Firmware/modules/lib/open-amp/open-amp/lib/include -I/home/mutsl04176/ncs/PA_Firmware/nrfxlib/softdevice_controller/include -isystem ../../../../lib/libc/minimal/include -isystem /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem /home/mutsl04176/ncs/PA_Firmware/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros /home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board/build_1/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs --sysroot=/home/mutsl04176/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/mutsl04176/ncs/PA_Firmware/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/mutsl04176/ncs/PA_Firmware/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/mutsl04176/ncs/PA_Firmware=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_pca953x.c.obj -c /home/mutsl04176/ncs/PA_Firmware/zephyr/drivers/gpio/gpio_pca953x.c
    In file included from ../../../../include/zephyr/sys/util_macro.h:34,
                     from ../../../../include/zephyr/sys/atomic.h:16,
                     from ../../../../include/zephyr/kernel_includes.h:21,
                     from ../../../../include/zephyr/kernel.h:17,
                     from /home/mutsl04176/ncs/PA_Firmware/zephyr/drivers/gpio/gpio_pca953x.c:13:
    ../../../../include/zephyr/device.h:84:41: error: '__device_dts_ord_13' undeclared here (not in a function); did you mean '__device_dts_ord_33'?
       84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
          |                                         ^~~~~~~~~
    ../../../../include/zephyr/sys/util_internal.h:72:26: note: in definition of macro '__DEBRACKET'
       72 | #define __DEBRACKET(...) __VA_ARGS__
          |                          ^~~~~~~~~~~
    ../../../../include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET'
       64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
          |         ^~~~~~~~~~~~~~~~~~~~
    ../../../../include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE'
       59 |         __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
          |         ^~~~~~~~~~~
    ../../../../include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1'
      180 |         Z_COND_CODE_1(_flag, _if_1_code, _else_code)
          |         ^~~~~~~~~~~~~
    ../../../../include/zephyr/devicetree.h:3859:9: note: in expansion of macro 'COND_CODE_1'
     3859 |         COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT),   \
          |         ^~~~~~~~~~~
    ../../../../include/zephyr/sys/util_internal.h:69:53: note: in expansion of macro '__DEBRACKET'
       69 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val
          |                                                     ^~~~~~~~~~~
    ../../../../include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET'
       64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
          |         ^~~~~~~~~~~~~~~~~~~~
    ../../../../include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE'
       59 |         __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
          |         ^~~~~~~~~~~
    ../../../../include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1'
      180 |         Z_COND_CODE_1(_flag, _if_1_code, _else_code)
          |         ^~~~~~~~~~~~~
    ../../../../include/zephyr/drivers/i2c.h:119:17: note: in expansion of macro 'COND_CODE_1'
      119 |                 COND_CODE_1(DT_ON_BUS(node_id, i3c),                    \
          |                 ^~~~~~~~~~~
    ../../../../include/zephyr/device.h:210:37: note: in expansion of macro 'DEVICE_NAME_GET'
      210 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
          |                                     ^~~~~~~~~~~~~~~
    ../../../../include/zephyr/device.h:227:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
      227 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
          |                                  ^~~~~~~~~~~~~~~~~~
    ../../../../include/zephyr/drivers/i2c.h:104:16: note: in expansion of macro 'DEVICE_DT_GET'
      104 |         .bus = DEVICE_DT_GET(DT_BUS(node_id)),                          \
          |                ^~~~~~~~~~~~~
    ../../../../include/zephyr/drivers/i2c.h:121:30: note: in expansion of macro 'I2C_DT_SPEC_GET_ON_I2C'
      121 |                             (I2C_DT_SPEC_GET_ON_I2C(node_id)))          \
          |                              ^~~~~~~~~~~~~~~~~~~~~~
    ../../../../include/zephyr/drivers/i2c.h:133:9: note: in expansion of macro 'I2C_DT_SPEC_GET'
      133 |         I2C_DT_SPEC_GET(DT_DRV_INST(inst))
          |         ^~~~~~~~~~~~~~~
    /home/mutsl04176/ncs/PA_Firmware/zephyr/drivers/gpio/gpio_pca953x.c:465:24: note: in expansion of macro 'I2C_DT_SPEC_INST_GET'
      465 |                 .i2c = I2C_DT_SPEC_INST_GET(n),                                 \
          |                        ^~~~~~~~~~~~~~~~~~~~
    zephyr/include/generated/devicetree_generated.h:20111:45: note: in expansion of macro 'GPIO_PCA953X_INIT'
    20111 | #define DT_FOREACH_OKAY_INST_ti_tca9538(fn) fn(0)
          |                                             ^~
    ../../../../include/zephyr/sys/util_internal.h:105:36: note: in expansion of macro 'DT_FOREACH_OKAY_INST_ti_tca9538'
      105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
          |                                    ^
    /home/mutsl04176/ncs/PA_Firmware/zephyr/drivers/gpio/gpio_pca953x.c:488:1: note: in expansion of macro 'DT_INST_FOREACH_STATUS_OKAY'
      488 | DT_INST_FOREACH_STATUS_OKAY(GPIO_PCA953X_INIT)
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    [187/260] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic/nrfx/drivers/src/nrfx_usbd.c.obj
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: /home/mutsl04176/ncs/toolchains/7795df4459/usr/local/bin/cmake --build /home/mutsl04176/ncs/PA_Firmware/zephyr/samples/bluetooth/ua-ugw-ble-carrier-board/build_1

  • Are you enabling pca953x sensor?

    Your compiler error is wrt. that sensor.

     

    Kind regards,

    Håkon

  • I'm not sure about that because I have't added any configs for that sensor. I had tested the firmware on the NRF5340DK and was hoping the same config settings would be applicable for the BL5340 as it is based on the NRF5340. How can I check this?

  • What are the overlay / kconfig files that you apply for this specific board target? Could you share these?

     

    Kind regards,

    Håkon

Reply Children
  • &dppic {
    	status = "disabled";
    };
    &uart0 {
      status = "disabled";
    };
    
    &uart1 {
      status = "disabled";
    };
    &uart2 {
      status = "disabled";
    };
    &uart3 {
      status = "disabled";
    };
    
    
    &spi0 {
      status = "disabled";
    };
    &spi1 {
      status = "disabled";
    };
    &spi2 {
      status = "disabled";
    };
    &spi3 {
      status = "disabled";
    };
    &spi4 {
      status = "disabled";
    };
    
    
    &i2c0 {
      status = "disabled";
    };
    &i2c1 {
      status = "disabled";
    };
    &i2c2 {
      status = "disabled";
    };
    
    
    &pwm0 {
      status = "disabled";
    };
    &pwm1 {
      status = "disabled";
    };
    &pwm2 {
      status = "disabled";
    };
    &pwm3 {
      status = "disabled";
    };
    
    
    
    
    &comp {
      status = "disabled";
    };

    This would be the overlay file that I am adding in the project.

    I have added the contents of prj.conf and mcuboot.conf in the query above for reference.

  • Can you please share your build/zephyr/zephyr.dts and build/zephyr/.config file?

     

    Kind regards,

    Håkon

  • Sure,

    This would be the contents of the zephyr.dts file:

    /dts-v1/;
    
    / {
    	#address-cells = < 0x1 >;
    	#size-cells = < 0x1 >;
    	model = "Laird Connectivity BL5340PA (nRF5340 with nRF21540) Application";
    	compatible = "lairdconnectivity,bl5340pa-dvk-cpuapp";
    	chosen {
    		zephyr,entropy = &cryptocell;
    		zephyr,flash-controller = &flash_controller;
    		zephyr,console = &uart0;
    		zephyr,shell-uart = &uart0;
    		zephyr,uart-mcumgr = &uart0;
    		zephyr,bt-mon-uart = &uart0;
    		zephyr,bt-c2h-uart = &uart0;
    		zephyr,display = &ili9340;
    		zephyr,bt-hci-rpmsg-ipc = &ipc0;
    		zephyr,keyboard-scan = &touch_controller;
    		zephyr,ipc_shm = &sram0_shared;
    		zephyr,sram = &sram0_image;
    		zephyr,flash = &flash0;
    		zephyr,code-partition = &slot0_partition;
    		zephyr,sram-secure-partition = &sram0_s;
    		zephyr,sram-non-secure-partition = &sram0_ns;
    	};
    	aliases {
    		led0 = &led1;
    		led1 = &led2;
    		led2 = &led3;
    		led3 = &led4;
    		sw0 = &button1;
    		sw1 = &button2;
    		sw2 = &button3;
    		sw3 = &button4;
    		mcuboot-button0 = &button1;
    		mcuboot-led0 = &led1;
    		sdhc0 = &sdhc0;
    		watchdog0 = &wdt0;
    		accel0 = &lis3dh;
    		bbram0 = &extrtc0;
    		spi-flash0 = &mx25r64;
    		kscan0 = &touch_controller;
    	};
    	soc {
    		#address-cells = < 0x1 >;
    		#size-cells = < 0x1 >;
    		compatible = "nordic,nRF5340-CPUAPP-QKAA", "nordic,nRF5340-CPUAPP", "nordic,nRF53", "simple-bus";
    		interrupt-parent = < &nvic >;
    		ranges;
    		nvic: interrupt-controller@e000e100 {
    			#address-cells = < 0x1 >;
    			compatible = "arm,v8m-nvic";
    			reg = < 0xe000e100 0xc00 >;
    			interrupt-controller;
    			#interrupt-cells = < 0x2 >;
    			arm,num-irq-priority-bits = < 0x3 >;
    			phandle = < 0x1 >;
    		};
    		systick: timer@e000e010 {
    			compatible = "arm,armv8m-systick";
    			reg = < 0xe000e010 0x10 >;
    			status = "disabled";
    		};
    		ficr: ficr@ff0000 {
    			compatible = "nordic,nrf-ficr";
    			reg = < 0xff0000 0x1000 >;
    			status = "okay";
    		};
    		uicr: uicr@ff8000 {
    			compatible = "nordic,nrf-uicr";
    			reg = < 0xff8000 0x1000 >;
    			status = "okay";
    		};
    		sram0: memory@20000000 {
    			compatible = "mmio-sram";
    			reg = < 0x20000000 0x80000 >;
    		};
    		peripheral@50000000 {
    			#address-cells = < 0x1 >;
    			#size-cells = < 0x1 >;
    			ranges = < 0x0 0x50000000 0x10000000 >;
    			dcnf: dcnf@0 {
    				compatible = "nordic,nrf-dcnf";
    				reg = < 0x0 0x1000 >;
    				status = "okay";
    			};
    			oscillators: oscillator@4000 {
    				compatible = "nordic,nrf-oscillators";
    				reg = < 0x4000 0x1000 >;
    				status = "okay";
    			};
    			regulators: regulator@4000 {
    				compatible = "nordic,nrf-regulators";
    				reg = < 0x4000 0x1000 >;
    				status = "okay";
    			};
    			clock: clock@5000 {
    				compatible = "nordic,nrf-clock";
    				reg = < 0x5000 0x1000 >;
    				interrupts = < 0x5 0x1 >;
    				status = "okay";
    			};
    			power: power@5000 {
    				compatible = "nordic,nrf-power";
    				reg = < 0x5000 0x1000 >;
    				interrupts = < 0x5 0x1 >;
    				status = "okay";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x1 >;
    				gpregret1: gpregret1@551c {
    					compatible = "nordic,nrf-gpregret";
    					reg = < 0x551c 0x1 >;
    					status = "okay";
    				};
    				gpregret2: gpregret2@5520 {
    					compatible = "nordic,nrf-gpregret";
    					reg = < 0x5520 0x1 >;
    					status = "okay";
    				};
    			};
    			reset: reset-controller@5000 {
    				compatible = "nordic,nrf-reset";
    				reg = < 0x5000 0x1000 >;
    				status = "okay";
    			};
    			ctrlap: ctrlap@6000 {
    				compatible = "nordic,nrf-ctrlapperi";
    				reg = < 0x6000 0x1000 >;
    				status = "okay";
    			};
    			i2c0: i2c@8000 {
    				compatible = "nordic,nrf-twim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0x8000 0x1000 >;
    				clock-frequency = < 0x186a0 >;
    				interrupts = < 0x8 0x1 >;
    				status = "disabled";
    			};
    			spi0: spi@8000 {
    				compatible = "nordic,nrf-spim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0x8000 0x1000 >;
    				interrupts = < 0x8 0x1 >;
    				max-frequency = < 0x7a1200 >;
    				easydma-maxcnt-bits = < 0x10 >;
    				status = "disabled";
    			};
    			uart0: uart@8000 {
    				compatible = "nordic,nrf-uarte";
    				reg = < 0x8000 0x1000 >;
    				interrupts = < 0x8 0x1 >;
    				status = "disabled";
    				current-speed = < 0x1c200 >;
    				pinctrl-0 = < &uart0_default >;
    				pinctrl-1 = < &uart0_sleep >;
    				pinctrl-names = "default", "sleep";
    			};
    			i2c1: i2c@9000 {
    				compatible = "nordic,nrf-twim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0x9000 0x1000 >;
    				clock-frequency = < 0x186a0 >;
    				interrupts = < 0x9 0x1 >;
    				status = "disabled";
    				pinctrl-0 = < &i2c1_default >;
    				pinctrl-1 = < &i2c1_sleep >;
    				pinctrl-names = "default", "sleep";
    				at24c256@50 {
    					compatible = "atmel,at24";
    					reg = < 0x50 >;
    					size = < 0x8000 >;
    					pagesize = < 0x40 >;
    					address-width = < 0x10 >;
    					timeout = < 0xa >;
    				};
    				lis3dh: lis3dh@18 {
    					compatible = "st,lis2dh";
    					reg = < 0x18 >;
    					irq-gpios = < &gpio0 0x17 0x0 >, < &gpio0 0x18 0x0 >;
    				};
    				ft5336@38 {
    					compatible = "focaltech,ft5336";
    					reg = < 0x38 >;
    					int-gpios = < &gpio0 0x5 0x1 >;
    					touch_controller: kscan-input {
    						compatible = "zephyr,kscan-input";
    					};
    				};
    				bme680@76 {
    					compatible = "bosch,bme680";
    					reg = < 0x76 >;
    				};
    				dac0: mcp4725@60 {
    					compatible = "microchip,mcp4725";
    					reg = < 0x60 >;
    					#io-channel-cells = < 0x1 >;
    				};
    				extrtc0: mcp7940n@6f {
    					compatible = "microchip,mcp7940n";
    					reg = < 0x6f >;
    					status = "okay";
    				};
    				gpio_exp0: tca9538@70 {
    					compatible = "ti,tca9538";
    					reg = < 0x70 >;
    					gpio-controller;
    					#gpio-cells = < 0x2 >;
    					ngpios = < 0x8 >;
    					nint-gpios = < &gpio1 0x6 0x1 >;
    					phandle = < 0x14 >;
    				};
    			};
    			spi1: spi@9000 {
    				compatible = "nordic,nrf-spim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0x9000 0x1000 >;
    				interrupts = < 0x9 0x1 >;
    				max-frequency = < 0x7a1200 >;
    				easydma-maxcnt-bits = < 0x10 >;
    				status = "disabled";
    			};
    			uart1: uart@9000 {
    				compatible = "nordic,nrf-uarte";
    				reg = < 0x9000 0x1000 >;
    				interrupts = < 0x9 0x1 >;
    				status = "disabled";
    			};
    			spi4: spi@a000 {
    				compatible = "nordic,nrf-spim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0xa000 0x1000 >;
    				interrupts = < 0xa 0x1 >;
    				max-frequency = < 0x1e84800 >;
    				easydma-maxcnt-bits = < 0x10 >;
    				rx-delay-supported;
    				rx-delay = < 0x2 >;
    				status = "disabled";
    				cs-gpios = < &gpio0 0xb 0x1 >;
    				pinctrl-0 = < &spi4_default >;
    				pinctrl-1 = < &spi4_sleep >;
    				pinctrl-names = "default", "sleep";
    				ili9340: ili9340@0 {
    					compatible = "ilitek,ili9340";
    					reg = < 0x0 >;
    					spi-max-frequency = < 0x1e84800 >;
    					reset-gpios = < &gpio0 0x6 0x1 >;
    					cmd-data-gpios = < &gpio0 0xc 0x1 >;
    					rotation = < 0x10e >;
    					width = < 0x140 >;
    					height = < 0xf0 >;
    				};
    			};
    			i2c2: i2c@b000 {
    				compatible = "nordic,nrf-twim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0xb000 0x1000 >;
    				clock-frequency = < 0x186a0 >;
    				interrupts = < 0xb 0x1 >;
    				status = "disabled";
    			};
    			spi2: spi@b000 {
    				compatible = "nordic,nrf-spim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0xb000 0x1000 >;
    				interrupts = < 0xb 0x1 >;
    				max-frequency = < 0x7a1200 >;
    				easydma-maxcnt-bits = < 0x10 >;
    				status = "disabled";
    				cs-gpios = < &gpio0 0x19 0x1 >;
    				pinctrl-0 = < &spi2_default >;
    				pinctrl-1 = < &spi2_sleep >;
    				pinctrl-names = "default", "sleep";
    				enc424j600@0 {
    					compatible = "microchip,enc424j600";
    					reg = < 0x0 >;
    					spi-max-frequency = < 0x7a1200 >;
    					int-gpios = < &gpio0 0x7 0x1 >;
    				};
    			};
    			uart2: uart@b000 {
    				compatible = "nordic,nrf-uarte";
    				reg = < 0xb000 0x1000 >;
    				interrupts = < 0xb 0x1 >;
    				status = "disabled";
    			};
    			i2c3: i2c@c000 {
    				compatible = "nordic,nrf-twim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0xc000 0x1000 >;
    				clock-frequency = < 0x186a0 >;
    				interrupts = < 0xc 0x1 >;
    				status = "disabled";
    			};
    			spi3: spi@c000 {
    				compatible = "nordic,nrf-spim";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0xc000 0x1000 >;
    				interrupts = < 0xc 0x1 >;
    				max-frequency = < 0x7a1200 >;
    				easydma-maxcnt-bits = < 0x10 >;
    				status = "disabled";
    				cs-gpios = < &gpio1 0xc 0x1 >;
    				pinctrl-0 = < &spi3_default >;
    				pinctrl-1 = < &spi3_sleep >;
    				pinctrl-names = "default", "sleep";
    				sdhc0: sdhc@0 {
    					reg = < 0x0 >;
    					compatible = "zephyr,sdhc-spi-slot";
    					status = "okay";
    					spi-max-frequency = < 0x7a1200 >;
    					mmc {
    						compatible = "zephyr,sdmmc-disk";
    						status = "okay";
    					};
    				};
    			};
    			uart3: uart@c000 {
    				compatible = "nordic,nrf-uarte";
    				reg = < 0xc000 0x1000 >;
    				interrupts = < 0xc 0x1 >;
    				status = "disabled";
    			};
    			adc: adc@e000 {
    				compatible = "nordic,nrf-saadc";
    				reg = < 0xe000 0x1000 >;
    				interrupts = < 0xe 0x1 >;
    				status = "okay";
    				#io-channel-cells = < 0x1 >;
    			};
    			timer0: timer@f000 {
    				compatible = "nordic,nrf-timer";
    				status = "disabled";
    				reg = < 0xf000 0x1000 >;
    				cc-num = < 0x6 >;
    				max-bit-width = < 0x20 >;
    				interrupts = < 0xf 0x1 >;
    				prescaler = < 0x0 >;
    			};
    			timer1: timer@10000 {
    				compatible = "nordic,nrf-timer";
    				status = "disabled";
    				reg = < 0x10000 0x1000 >;
    				cc-num = < 0x6 >;
    				max-bit-width = < 0x20 >;
    				interrupts = < 0x10 0x1 >;
    				prescaler = < 0x0 >;
    			};
    			timer2: timer@11000 {
    				compatible = "nordic,nrf-timer";
    				status = "disabled";
    				reg = < 0x11000 0x1000 >;
    				cc-num = < 0x6 >;
    				max-bit-width = < 0x20 >;
    				interrupts = < 0x11 0x1 >;
    				prescaler = < 0x0 >;
    			};
    			rtc0: rtc@14000 {
    				compatible = "nordic,nrf-rtc";
    				reg = < 0x14000 0x1000 >;
    				cc-num = < 0x4 >;
    				interrupts = < 0x14 0x1 >;
    				status = "disabled";
    				clock-frequency = < 0x8000 >;
    				prescaler = < 0x1 >;
    			};
    			rtc1: rtc@15000 {
    				compatible = "nordic,nrf-rtc";
    				reg = < 0x15000 0x1000 >;
    				cc-num = < 0x4 >;
    				interrupts = < 0x15 0x1 >;
    				status = "disabled";
    				clock-frequency = < 0x8000 >;
    				prescaler = < 0x1 >;
    			};
    			dppic: dppic@17000 {
    				compatible = "nordic,nrf-dppic";
    				reg = < 0x17000 0x1000 >;
    				status = "disabled";
    			};
    			wdt: wdt0: watchdog@18000 {
    				compatible = "nordic,nrf-wdt";
    				reg = < 0x18000 0x1000 >;
    				interrupts = < 0x18 0x1 >;
    				status = "okay";
    			};
    			wdt1: watchdog@19000 {
    				compatible = "nordic,nrf-wdt";
    				reg = < 0x19000 0x1000 >;
    				interrupts = < 0x19 0x1 >;
    				status = "disabled";
    			};
    			comp: comparator@1a000 {
    				compatible = "nordic,nrf-comp";
    				reg = < 0x1a000 0x1000 >;
    				interrupts = < 0x1a 0x1 >;
    				status = "disabled";
    				#io-channel-cells = < 0x1 >;
    			};
    			egu0: egu@1b000 {
    				compatible = "nordic,nrf-egu";
    				reg = < 0x1b000 0x1000 >;
    				interrupts = < 0x1b 0x1 >;
    				status = "okay";
    			};
    			egu1: egu@1c000 {
    				compatible = "nordic,nrf-egu";
    				reg = < 0x1c000 0x1000 >;
    				interrupts = < 0x1c 0x1 >;
    				status = "okay";
    			};
    			egu2: egu@1d000 {
    				compatible = "nordic,nrf-egu";
    				reg = < 0x1d000 0x1000 >;
    				interrupts = < 0x1d 0x1 >;
    				status = "okay";
    			};
    			egu3: egu@1e000 {
    				compatible = "nordic,nrf-egu";
    				reg = < 0x1e000 0x1000 >;
    				interrupts = < 0x1e 0x1 >;
    				status = "okay";
    			};
    			egu4: egu@1f000 {
    				compatible = "nordic,nrf-egu";
    				reg = < 0x1f000 0x1000 >;
    				interrupts = < 0x1f 0x1 >;
    				status = "okay";
    			};
    			egu5: egu@20000 {
    				compatible = "nordic,nrf-egu";
    				reg = < 0x20000 0x1000 >;
    				interrupts = < 0x20 0x1 >;
    				status = "okay";
    			};
    			pwm0: pwm@21000 {
    				compatible = "nordic,nrf-pwm";
    				reg = < 0x21000 0x1000 >;
    				interrupts = < 0x21 0x1 >;
    				status = "disabled";
    				#pwm-cells = < 0x3 >;
    				pinctrl-0 = < &pwm0_default >;
    				pinctrl-1 = < &pwm0_sleep >;
    				pinctrl-names = "default", "sleep";
    			};
    			pwm1: pwm@22000 {
    				compatible = "nordic,nrf-pwm";
    				reg = < 0x22000 0x1000 >;
    				interrupts = < 0x22 0x1 >;
    				status = "disabled";
    				#pwm-cells = < 0x3 >;
    			};
    			pwm2: pwm@23000 {
    				compatible = "nordic,nrf-pwm";
    				reg = < 0x23000 0x1000 >;
    				interrupts = < 0x23 0x1 >;
    				status = "disabled";
    				#pwm-cells = < 0x3 >;
    			};
    			pwm3: pwm@24000 {
    				compatible = "nordic,nrf-pwm";
    				reg = < 0x24000 0x1000 >;
    				interrupts = < 0x24 0x1 >;
    				status = "disabled";
    				#pwm-cells = < 0x3 >;
    			};
    			pdm0: pdm@26000 {
    				compatible = "nordic,nrf-pdm";
    				reg = < 0x26000 0x1000 >;
    				interrupts = < 0x26 0x1 >;
    				status = "disabled";
    			};
    			i2s0: i2s@28000 {
    				compatible = "nordic,nrf-i2s";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0x28000 0x1000 >;
    				interrupts = < 0x28 0x1 >;
    				status = "disabled";
    			};
    			mbox: ipc: mbox@2a000 {
    				compatible = "nordic,mbox-nrf-ipc", "nordic,nrf-ipc";
    				reg = < 0x2a000 0x1000 >;
    				tx-mask = < 0xffff >;
    				rx-mask = < 0xffff >;
    				interrupts = < 0x2a 0x1 >;
    				#mbox-cells = < 0x1 >;
    				status = "okay";
    				phandle = < 0x13 >;
    			};
    			qspi: qspi@2b000 {
    				compatible = "nordic,nrf-qspi";
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x0 >;
    				reg = < 0x2b000 0x1000 >, < 0x10000000 0x10000000 >;
    				reg-names = "qspi", "qspi_mm";
    				interrupts = < 0x2b 0x1 >;
    				status = "okay";
    				pinctrl-0 = < &qspi_default >;
    				pinctrl-1 = < &qspi_sleep >;
    				pinctrl-names = "default", "sleep";
    				mx25r64: mx25r6435f@0 {
    					compatible = "nordic,qspi-nor";
    					reg = < 0x0 >;
    					writeoc = "pp4io";
    					readoc = "read4io";
    					sck-frequency = < 0x7a1200 >;
    					jedec-id = [ C2 28 17 ];
    					sfdp-bfp = [ E5 20 F1 FF FF FF FF 03 44 EB 08 6B 08 3B 04 BB EE FF FF FF FF FF 00 FF FF FF 00 FF 0C 20 0F 52 10 D8 00 FF 23 72 F5 00 82 ED 04 CC 44 83 68 44 30 B0 30 B0 F7 C4 D5 5C 00 BE 29 FF F0 D0 FF FF ];
    					size = < 0x4000000 >;
    					has-dpd;
    					t-enter-dpd = < 0x2710 >;
    					t-exit-dpd = < 0x88b8 >;
    					partitions {
    						compatible = "fixed-partitions";
    						#address-cells = < 0x1 >;
    						#size-cells = < 0x1 >;
    						slot1_partition: partition@0 {
    							label = "image-1";
    							reg = < 0x0 0xa0000 >;
    						};
    						slot1_ns_partition: partition@A0000 {
    							label = "image-1-nonsecure";
    							reg = < 0xa0000 0x40000 >;
    						};
    						scratch_partition: partition@e0000 {
    							label = "image-scratch";
    							reg = < 0xe0000 0x20000 >;
    						};
    						lfs_partition: partition@100000 {
    							label = "lfs_storage";
    							reg = < 0x100000 0x700000 >;
    						};
    					};
    				};
    			};
    			nfct: nfct@2d000 {
    				compatible = "nordic,nrf-nfct";
    				reg = < 0x2d000 0x1000 >;
    				interrupts = < 0x2d 0x1 >;
    				status = "okay";
    			};
    			mutex: mutex@30000 {
    				compatible = "nordic,nrf-mutex";
    				reg = < 0x30000 0x1000 >;
    				status = "okay";
    			};
    			qdec0: qdec@33000 {
    				compatible = "nordic,nrf-qdec";
    				reg = < 0x33000 0x1000 >;
    				interrupts = < 0x33 0x1 >;
    				status = "disabled";
    			};
    			qdec1: qdec@34000 {
    				compatible = "nordic,nrf-qdec";
    				reg = < 0x34000 0x1000 >;
    				interrupts = < 0x34 0x1 >;
    				status = "disabled";
    			};
    			usbd: zephyr_udc0: usbd@36000 {
    				compatible = "nordic,nrf-usbd";
    				reg = < 0x36000 0x1000 >;
    				interrupts = < 0x36 0x1 >;
    				num-bidir-endpoints = < 0x1 >;
    				num-in-endpoints = < 0x7 >;
    				num-out-endpoints = < 0x7 >;
    				num-isoin-endpoints = < 0x1 >;
    				num-isoout-endpoints = < 0x1 >;
    				status = "okay";
    			};
    			usbreg: regulator@37000 {
    				compatible = "nordic,nrf-usbreg";
    				reg = < 0x37000 0x1000 >;
    				interrupts = < 0x37 0x1 >;
    				status = "okay";
    			};
    			flash_controller: flash-controller@39000 {
    				compatible = "nordic,nrf53-flash-controller";
    				reg = < 0x39000 0x1000 >;
    				partial-erase;
    				#address-cells = < 0x1 >;
    				#size-cells = < 0x1 >;
    				flash0: flash@0 {
    					compatible = "soc-nv-flash";
    					erase-block-size = < 0x1000 >;
    					write-block-size = < 0x4 >;
    					reg = < 0x0 0x100000 >;
    					partitions {
    						compatible = "fixed-partitions";
    						#address-cells = < 0x1 >;
    						#size-cells = < 0x1 >;
    						boot_partition: partition@0 {
    							label = "mcuboot";
    							reg = < 0x0 0x10000 >;
    						};
    						slot0_partition: partition@10000 {
    							label = "image-0";
    							reg = < 0x10000 0xa0000 >;
    						};
    						slot0_ns_partition: partition@b0000 {
    							label = "image-0-nonsecure";
    							reg = < 0xb0000 0x40000 >;
    						};
    						storage_partition: partition@f8000 {
    							label = "storage";
    							reg = < 0xf8000 0x8000 >;
    						};
    					};
    				};
    			};
    			kmu: kmu@39000 {
    				compatible = "nordic,nrf-kmu";
    				reg = < 0x39000 0x1000 >;
    				interrupts = < 0x39 0x1 >;
    				status = "okay";
    			};
    			vmc: vmc@81000 {
    				compatible = "nordic,nrf-vmc";
    				reg = < 0x81000 0x1000 >;
    				status = "okay";
    			};
    			gpio0: gpio@842500 {
    				compatible = "nordic,nrf-gpio";
    				gpio-controller;
    				reg = < 0x842500 0x300 >;
    				#gpio-cells = < 0x2 >;
    				status = "okay";
    				port = < 0x0 >;
    				phandle = < 0x6 >;
    			};
    			gpio1: gpio@842800 {
    				compatible = "nordic,nrf-gpio";
    				gpio-controller;
    				reg = < 0x842800 0x300 >;
    				#gpio-cells = < 0x2 >;
    				ngpios = < 0x10 >;
    				status = "okay";
    				port = < 0x1 >;
    				phandle = < 0x7 >;
    			};
    			ieee802154: ieee802154 {
    				compatible = "nordic,nrf-ieee802154";
    				status = "disabled";
    			};
    		};
    		spu: spu@50003000 {
    			compatible = "nordic,nrf-spu";
    			reg = < 0x50003000 0x1000 >;
    			interrupts = < 0x3 0x1 >;
    			status = "okay";
    		};
    		gpiote: gpiote0: gpiote@5000d000 {
    			compatible = "nordic,nrf-gpiote";
    			reg = < 0x5000d000 0x1000 >;
    			interrupts = < 0xd 0x5 >;
    			status = "okay";
    		};
    		cryptocell: crypto@50844000 {
    			compatible = "nordic,nrf-cc312";
    			reg = < 0x50844000 0x1000 >;
    			status = "okay";
    			#address-cells = < 0x1 >;
    			#size-cells = < 0x1 >;
    			cryptocell312: crypto@50845000 {
    				compatible = "arm,cryptocell-312";
    				reg = < 0x50845000 0x1000 >;
    				interrupts = < 0x44 0x1 >;
    			};
    		};
    		gpiote1: gpiote@4002f000 {
    			compatible = "nordic,nrf-gpiote";
    			reg = < 0x4002f000 0x1000 >;
    			interrupts = < 0x2f 0x5 >;
    			status = "disabled";
    		};
    	};
    	pinctrl: pin-controller {
    		compatible = "nordic,nrf-pinctrl";
    		i2c1_default: i2c1_default {
    			phandle = < 0x4 >;
    			group1 {
    				psels = < 0xc0022 >, < 0xb0023 >;
    			};
    		};
    		i2c1_sleep: i2c1_sleep {
    			phandle = < 0x5 >;
    			group1 {
    				psels = < 0xc0022 >, < 0xb0023 >;
    				low-power-enable;
    			};
    		};
    		spi2_default: spi2_default {
    			phandle = < 0xa >;
    			group1 {
    				psels = < 0x6001a >, < 0x5001b >, < 0x4001c >;
    			};
    		};
    		spi2_sleep: spi2_sleep {
    			phandle = < 0xb >;
    			group1 {
    				psels = < 0x6001a >, < 0x5001b >, < 0x4001c >;
    				low-power-enable;
    			};
    		};
    		spi3_default: spi3_default {
    			phandle = < 0xc >;
    			group1 {
    				psels = < 0x4002e >, < 0x6002f >, < 0x5002d >;
    			};
    		};
    		spi3_sleep: spi3_sleep {
    			phandle = < 0xd >;
    			group1 {
    				psels = < 0x4002e >, < 0x6002f >, < 0x5002d >;
    				low-power-enable;
    			};
    		};
    		spi4_default: spi4_default {
    			phandle = < 0x8 >;
    			group1 {
    				psels = < 0x6000a >, < 0x50009 >, < 0x40008 >;
    			};
    		};
    		spi4_sleep: spi4_sleep {
    			phandle = < 0x9 >;
    			group1 {
    				psels = < 0x6000a >, < 0x50009 >, < 0x40008 >;
    				low-power-enable;
    			};
    		};
    		uart0_default: uart0_default {
    			phandle = < 0x2 >;
    			group1 {
    				psels = < 0x14 >, < 0x10016 >, < 0x20013 >, < 0x30015 >;
    			};
    		};
    		uart0_sleep: uart0_sleep {
    			phandle = < 0x3 >;
    			group1 {
    				psels = < 0x14 >, < 0x10016 >, < 0x20013 >, < 0x30015 >;
    				low-power-enable;
    			};
    		};
    		pwm0_default: pwm0_default {
    			phandle = < 0xe >;
    			group1 {
    				psels = < 0x16001c >;
    			};
    		};
    		pwm0_sleep: pwm0_sleep {
    			phandle = < 0xf >;
    			group1 {
    				psels = < 0x16001c >;
    				low-power-enable;
    			};
    		};
    		qspi_default: qspi_default {
    			phandle = < 0x10 >;
    			group1 {
    				psels = < 0x1d0011 >, < 0x1f000d >, < 0x20000e >, < 0x21000f >, < 0x220010 >, < 0x1e0012 >;
    			};
    		};
    		qspi_sleep: qspi_sleep {
    			phandle = < 0x11 >;
    			group1 {
    				psels = < 0x1d0011 >, < 0x1f000d >, < 0x20000e >, < 0x21000f >, < 0x220010 >, < 0x1e0012 >;
    				low-power-enable;
    			};
    		};
    	};
    	rng_hci: entropy_bt_hci {
    		compatible = "zephyr,bt-hci-entropy";
    		status = "okay";
    	};
    	cpus {
    		#address-cells = < 0x1 >;
    		#size-cells = < 0x0 >;
    		cpu0: cpu@0 {
    			device_type = "cpu";
    			compatible = "arm,cortex-m33f";
    			reg = < 0x0 >;
    			#address-cells = < 0x1 >;
    			#size-cells = < 0x1 >;
    			itm: itm@e0000000 {
    				compatible = "arm,armv8m-itm";
    				reg = < 0xe0000000 0x1000 >;
    				swo-ref-frequency = < 0x3d09000 >;
    			};
    			mpu: mpu@e000ed90 {
    				compatible = "arm,armv8m-mpu";
    				reg = < 0xe000ed90 0x40 >;
    				arm,num-mpu-regions = < 0x8 >;
    			};
    		};
    	};
    	ipc {
    		ipc0: ipc0 {
    			compatible = "zephyr,ipc-openamp-static-vrings";
    			memory-region = < &sram0_shared >;
    			mboxes = < &mbox 0x0 >, < &mbox 0x1 >;
    			mbox-names = "tx", "rx";
    			role = "host";
    			status = "okay";
    		};
    	};
    	buttons {
    		compatible = "gpio-keys";
    		boot_button0: boot_button {
    			gpios = < &gpio1 0xb 0x1 >;
    			label = "Bootloader button (S4)";
    		};
    		button1: button_1 {
    			gpios = < &gpio_exp0 0x0 0x1 >;
    			label = "Push button switch 1 (S1)";
    		};
    		button2: button_2 {
    			gpios = < &gpio_exp0 0x1 0x1 >;
    			label = "Push button switch 2 (S2)";
    		};
    		button3: button_3 {
    			gpios = < &gpio_exp0 0x2 0x1 >;
    			label = "Push button switch 3 (S9)";
    		};
    		button4: button_4 {
    			gpios = < &gpio_exp0 0x3 0x1 >;
    			label = "Push button switch 4 (S10)";
    		};
    	};
    	leds {
    		compatible = "gpio-leds";
    		led1: led_1 {
    			gpios = < &gpio_exp0 0x4 0x1 >;
    			label = "Blue LED 1";
    		};
    		led2: led_2 {
    			gpios = < &gpio_exp0 0x5 0x1 >;
    			label = "Blue LED 2";
    		};
    		led3: led_3 {
    			gpios = < &gpio_exp0 0x6 0x1 >;
    			label = "Blue LED 3";
    		};
    		led4: led_4 {
    			gpios = < &gpio_exp0 0x7 0x1 >;
    			label = "Blue LED 4";
    		};
    	};
    	gpio_fwd: nrf-gpio-forwarder {
    		compatible = "nordic,nrf-gpio-forwarder";
    		status = "okay";
    		uart {
    			gpios = < &gpio1 0x8 0x0 >, < &gpio1 0xa 0x0 >, < &gpio1 0x7 0x0 >, < &gpio1 0x9 0x0 >;
    		};
    		nrf21540-gpio-if {
    			gpios = < &gpio0 0x4 0x0 >, < &gpio0 0x1f 0x0 >, < &gpio0 0x1e 0x0 >, < &gpio0 0x1d 0x0 >;
    		};
    		nrf21540-spi-if {
    			gpios = < &gpio1 0x0 0x0 >, < &gpio1 0x1 0x0 >, < &gpio1 0x5 0x0 >, < &gpio1 0x4 0x0 >;
    		};
    	};
    	reserved-memory {
    		#address-cells = < 0x1 >;
    		#size-cells = < 0x1 >;
    		ranges;
    		sram0_image: image@20000000 {
    			reg = < 0x20000000 0x70000 >;
    		};
    		sram0_s: image_s@20000000 {
    			reg = < 0x20000000 0x40000 >;
    		};
    		sram0_ns: image_ns@20040000 {
    			reg = < 0x20040000 0x30000 >;
    		};
    		sram0_shared: memory@20070000 {
    			reg = < 0x20070000 0x10000 >;
    			phandle = < 0x12 >;
    		};
    	};
    };

    This would be the contents of the .config file:

    CONFIG_GPIO=y
    # CONFIG_KSCAN is not set
    # CONFIG_INPUT is not set
    # CONFIG_WIFI is not set
    # CONFIG_SPI is not set
    CONFIG_GPIO_INIT_PRIORITY=40
    # CONFIG_UHC_DRIVER is not set
    # CONFIG_REGULATOR is not set
    # CONFIG_SENSOR is not set
    # CONFIG_WATCHDOG is not set
    # CONFIG_MODEM is not set
    # CONFIG_DISPLAY is not set
    CONFIG_I2C=y
    CONFIG_BT_HCI_ACL_FLOW_CONTROL=y
    CONFIG_BT_HCI_VS_EXT=y
    CONFIG_BOARD_BL5340_DVK_CPUAPP_ANY=y
    CONFIG_BOARD="bl5340pa_dvk_cpuapp"
    CONFIG_FLASH_LOAD_SIZE=0xa0000
    CONFIG_SRAM_SIZE=448
    CONFIG_FLASH_LOAD_OFFSET=0x10000
    CONFIG_MBOX_NRFX_IPC=y
    CONFIG_HEAP_MEM_POOL_SIZE=4096
    CONFIG_BT_HCI_VS=y
    # CONFIG_BT_CTLR is not set
    # CONFIG_BT_ECC is not set
    CONFIG_MAIN_STACK_SIZE=1024
    CONFIG_SOC="nRF5340_CPUAPP_QKAA"
    CONFIG_SOC_SERIES="nrf53"
    CONFIG_NUM_IRQS=69
    CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768
    CONFIG_CLOCK_CONTROL_INIT_PRIORITY=30
    CONFIG_FLASH_SIZE=1024
    CONFIG_FLASH_BASE_ADDRESS=0x0
    CONFIG_ICACHE_LINE_SIZE=32
    CONFIG_DCACHE_LINE_SIZE=32
    CONFIG_CLOCK_CONTROL=y
    CONFIG_PINCTRL=y
    CONFIG_ROM_START_OFFSET=0
    # CONFIG_RESET is not set
    CONFIG_SOC_HAS_TIMING_FUNCTIONS=y
    CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT=y
    CONFIG_PM=y
    # CONFIG_PM_DEVICE is not set
    CONFIG_IPC_SERVICE_BACKEND_RPMSG_SHMEM_RESET=y
    CONFIG_NRF_RTC_TIMER=y
    CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768
    CONFIG_BUILD_OUTPUT_HEX=y
    CONFIG_SERIAL_INIT_PRIORITY=55
    # CONFIG_FPU is not set
    # CONFIG_CODE_DATA_RELOCATION is not set
    # CONFIG_MBEDTLS is not set
    # CONFIG_MEMC is not set
    # CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS is not set
    # CONFIG_TINYCRYPT is not set
    CONFIG_SERIAL=y
    # CONFIG_SRAM_VECTOR_TABLE is not set
    CONFIG_MP_MAX_NUM_CPUS=1
    CONFIG_PLATFORM_SPECIFIC_INIT=y
    CONFIG_HAS_DTS=y
    
    #
    # Devicetree Info
    #
    CONFIG_DT_HAS_ARM_ARMV8M_ITM_ENABLED=y
    CONFIG_DT_HAS_ARM_ARMV8M_MPU_ENABLED=y
    CONFIG_DT_HAS_ARM_CORTEX_M33F_ENABLED=y
    CONFIG_DT_HAS_ARM_CRYPTOCELL_312_ENABLED=y
    CONFIG_DT_HAS_ARM_V8M_NVIC_ENABLED=y
    CONFIG_DT_HAS_ATMEL_AT24_ENABLED=y
    CONFIG_DT_HAS_BOSCH_BME680_ENABLED=y
    CONFIG_DT_HAS_FIXED_PARTITIONS_ENABLED=y
    CONFIG_DT_HAS_FOCALTECH_FT5336_ENABLED=y
    CONFIG_DT_HAS_GPIO_KEYS_ENABLED=y
    CONFIG_DT_HAS_GPIO_LEDS_ENABLED=y
    CONFIG_DT_HAS_ILITEK_ILI9340_ENABLED=y
    CONFIG_DT_HAS_MICROCHIP_ENC424J600_ENABLED=y
    CONFIG_DT_HAS_MICROCHIP_MCP4725_ENABLED=y
    CONFIG_DT_HAS_MICROCHIP_MCP7940N_ENABLED=y
    CONFIG_DT_HAS_MMIO_SRAM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_MBOX_NRF_IPC_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CC312_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CLOCK_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CTRLAPPERI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_DCNF_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_EGU_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_FICR_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPIO_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPIO_FORWARDER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPIOTE_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPREGRET_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_IPC_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_KMU_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_MUTEX_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_NFCT_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_OSCILLATORS_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PINCTRL_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_POWER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_QSPI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_REGULATORS_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RESET_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SAADC_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SPU_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_UICR_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_USBD_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_USBREG_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_VMC_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_WDT_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_QSPI_NOR_ENABLED=y
    CONFIG_DT_HAS_SOC_NV_FLASH_ENABLED=y
    CONFIG_DT_HAS_ST_LIS2DH_ENABLED=y
    CONFIG_DT_HAS_TI_TCA9538_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_BT_HCI_ENTROPY_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_IPC_OPENAMP_STATIC_VRINGS_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_KSCAN_INPUT_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_SDHC_SPI_SLOT_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_SDMMC_DISK_ENABLED=y
    # end of Devicetree Info
    
    #
    # Modules
    #
    
    #
    # Available modules.
    #
    
    #
    # nrf (/home/mutsl04176/ncs/PA_Firmware/nrf)
    #
    CONFIG_NUM_METAIRQ_PRIORITIES=0
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024
    # CONFIG_INIT_STACKS is not set
    
    #
    # Nordic nRF Connect
    #
    CONFIG_WARN_EXPERIMENTAL=y
    CONFIG_PRIVILEGED_STACK_SIZE=1024
    CONFIG_BT_BUF_CMD_TX_COUNT=10
    # CONFIG_ENTROPY_GENERATOR is not set
    CONFIG_INIT_ARCH_HW_AT_BOOT=y
    CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    # CONFIG_GETOPT is not set
    # CONFIG_NCS_SAMPLES_DEFAULTS is not set
    CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE=y
    CONFIG_NCS_SAMPLE_HCI_RPMSG_CHILD_IMAGE=y
    
    #
    # Image build variants
    #
    # CONFIG_NCS_MCUBOOT_IN_BUILD is not set
    # end of Image build variants
    
    # CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU is not set
    CONFIG_NRF53_UPGRADE_NETWORK_CORE=y
    # CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP is not set
    CONFIG_BT_BUF_ACL_TX_SIZE=251
    CONFIG_BT_BUF_ACL_RX_SIZE=502
    
    #
    # Bootloader
    #
    # CONFIG_BUILD_S1_VARIANT is not set
    # CONFIG_SECURE_BOOT is not set
    CONFIG_PM_PARTITION_SIZE_PROVISION=0x280
    # CONFIG_B0_MIN_PARTITION_SIZE is not set
    CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x8000
    # CONFIG_NRF53_ENFORCE_IMAGE_VERSION_EQUALITY is not set
    # CONFIG_SECURE_BOOT_CRYPTO is not set
    
    #
    # Secure Boot firmware validation
    #
    CONFIG_SB_VALIDATION_INFO_MAGIC=0x86518483
    CONFIG_SB_VALIDATION_POINTER_MAGIC=0x6919b47e
    CONFIG_SB_VALIDATION_INFO_CRYPTO_ID=1
    CONFIG_SB_VALIDATION_INFO_VERSION=2
    CONFIG_SB_VALIDATION_METADATA_OFFSET=0
    CONFIG_SB_VALIDATE_FW_SIGNATURE=y
    # end of Secure Boot firmware validation
    # end of Bootloader
    
    #
    # Bluetooth Low Energy
    #
    CONFIG_BT_MAX_CONN=1
    CONFIG_BT_HCI_TX_STACK_SIZE=1024
    CONFIG_BT_RX_STACK_SIZE=2048
    
    #
    # BLE Libraries
    #
    # CONFIG_BT_GATT_POOL is not set
    # CONFIG_BT_GATT_DM is not set
    # CONFIG_BT_ADV_PROV is not set
    # CONFIG_BT_SCAN is not set
    # CONFIG_BT_CONN_CTX is not set
    
    #
    # Bluetooth Services
    #
    # CONFIG_BT_AMS_CLIENT is not set
    # CONFIG_BT_ANCS_CLIENT is not set
    # CONFIG_BT_BAS_CLIENT is not set
    # CONFIG_BT_BMS is not set
    # CONFIG_BT_CTS_CLIENT is not set
    # CONFIG_BT_DFU_SMP is not set
    # CONFIG_BT_GATTP is not set
    # CONFIG_BT_HIDS is not set
    # CONFIG_BT_HOGP is not set
    # CONFIG_BT_LBS is not set
    # CONFIG_BT_NSMS is not set
    # CONFIG_BT_NUS is not set
    # CONFIG_BT_NUS_CLIENT is not set
    # CONFIG_BT_RSCS is not set
    # CONFIG_BT_THROUGHPUT is not set
    # CONFIG_BT_LATENCY is not set
    # CONFIG_BT_LATENCY_CLIENT is not set
    # CONFIG_BT_HRS_CLIENT is not set
    # CONFIG_BT_DDFS is not set
    # CONFIG_BT_MDS is not set
    # CONFIG_BT_CGMS is not set
    # CONFIG_BT_FAST_PAIR is not set
    # end of Bluetooth Services
    
    #
    # BLE over nRF RPC
    #
    CONFIG_BT_DRIVERS=y
    # CONFIG_BT_RPC_STACK is not set
    CONFIG_BT_CENTRAL=y
    CONFIG_BT_PERIPHERAL=y
    CONFIG_BT_OBSERVER=y
    CONFIG_BT_BROADCASTER=y
    CONFIG_BT_CONN=y
    CONFIG_BT_REMOTE_VERSION=y
    CONFIG_BT_PHY_UPDATE=y
    CONFIG_BT_DATA_LEN_UPDATE=y
    # CONFIG_BT_EXT_ADV is not set
    CONFIG_BT_BUF_ACL_TX_COUNT=7
    CONFIG_BT_BUF_ACL_RX_COUNT=6
    CONFIG_BT_BUF_EVT_RX_SIZE=255
    CONFIG_BT_BUF_EVT_RX_COUNT=10
    CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=43
    CONFIG_BT_BUF_CMD_TX_SIZE=255
    CONFIG_BT_HAS_HCI_VS=y
    CONFIG_BT_HCI_VS_EVT=y
    # CONFIG_BT_HCI_VS_FATAL_ERROR is not set
    # CONFIG_BT_HCI_VS_EXT_DETECT is not set
    # CONFIG_BT_HCI_MESH_EXT is not set
    # CONFIG_BT_WAIT_NOP is not set
    CONFIG_BT_ASSERT=y
    CONFIG_BT_ASSERT_VERBOSE=y
    # CONFIG_BT_ASSERT_PANIC is not set
    CONFIG_BT_DEBUG_NONE=y
    # CONFIG_BT_DEBUG_LOG is not set
    # CONFIG_BT_DEBUG_MONITOR_UART is not set
    # CONFIG_BT_LONG_WQ is not set
    # CONFIG_BT_HCI_TX_STACK_SIZE_WITH_PROMPT is not set
    CONFIG_BT_HCI_TX_PRIO=7
    CONFIG_BT_HCI_RESERVE=1
    # CONFIG_BT_RECV_BLOCKING is not set
    # CONFIG_BT_RECV_WORKQ_SYS is not set
    CONFIG_BT_RECV_WORKQ_BT=y
    CONFIG_BT_RX_PRIO=8
    CONFIG_BT_DRIVER_RX_HIGH_PRIO=6
    # CONFIG_BT_HOST_CCM is not set
    # CONFIG_BT_LOG_SNIFFER_INFO is not set
    # CONFIG_BT_TESTING is not set
    # CONFIG_BT_HCI_VS_EVT_USER is not set
    # end of BLE over nRF RPC
    # end of Bluetooth Low Energy
    
    #
    # DFU
    #
    # CONFIG_DFU_MULTI_IMAGE is not set
    # CONFIG_DFU_TARGET is not set
    # end of DFU
    
    # CONFIG_ESB is not set
    
    #
    # Peripheral CPU DFU (PCD)
    #
    # CONFIG_PCD is not set
    # CONFIG_PCD_APP is not set
    # CONFIG_PCD_NET is not set
    # end of Peripheral CPU DFU (PCD)
    
    #
    # Networking
    #
    
    #
    # Application protocols
    #
    
    #
    # nRF Cloud
    #
    
    #
    # Client ID (nRF Cloud Device ID)
    #
    CONFIG_NRF_CLOUD_CLIENT_ID_SRC_COMPILE_TIME=y
    CONFIG_NRF_CLOUD_CLIENT_ID="my-client-id"
    # end of Client ID (nRF Cloud Device ID)
    
    # CONFIG_NRF_CLOUD_MQTT is not set
    # CONFIG_NRF_CLOUD_FOTA is not set
    # CONFIG_NRF_CLOUD_FOTA_FULL_MODEM_UPDATE is not set
    # CONFIG_NRF_CLOUD_REST is not set
    # CONFIG_NRF_CLOUD_ALERT is not set
    CONFIG_NRF_CLOUD_LOG_OUTPUT_LEVEL=1
    CONFIG_NRF_CLOUD_LOG_BUF_SIZE=256
    # CONFIG_NRF_CLOUD_GATEWAY is not set
    # end of nRF Cloud
    
    # CONFIG_REST_CLIENT is not set
    # CONFIG_DOWNLOAD_CLIENT is not set
    # CONFIG_AWS_IOT is not set
    # CONFIG_AWS_JOBS is not set
    # CONFIG_AZURE_IOT_HUB is not set
    
    #
    # Self-Registration (Zi ZHu Ce)
    #
    # end of Self-Registration (Zi ZHu Ce)
    
    # CONFIG_ICAL_PARSER is not set
    # CONFIG_FTP_CLIENT is not set
    # CONFIG_LWM2M_CLIENT_UTILS is not set
    # CONFIG_WIFI_CREDENTIALS is not set
    # CONFIG_WIFI_CREDENTIALS_STATIC is not set
    # CONFIG_MQTT_HELPER is not set
    # end of Application protocols
    # end of Networking
    
    #
    # NFC
    #
    # CONFIG_NFC_NDEF is not set
    # CONFIG_NFC_NDEF_PARSER is not set
    # CONFIG_NFC_NDEF_PAYLOAD_TYPE_COMMON is not set
    # CONFIG_NFC_T2T_PARSER is not set
    # CONFIG_NFC_T4T_NDEF_FILE is not set
    # CONFIG_NFC_T4T_ISODEP is not set
    # CONFIG_NFC_T4T_APDU is not set
    # CONFIG_NFC_T4T_CC_FILE is not set
    # CONFIG_NFC_T4T_HL_PROCEDURE is not set
    # CONFIG_NFC_PLATFORM is not set
    # CONFIG_NFC_TNEP_TAG is not set
    # CONFIG_NFC_TNEP_POLLER is not set
    # CONFIG_NFC_TNEP_CH is not set
    # end of NFC
    
    # CONFIG_APP_EVENT_MANAGER is not set
    # CONFIG_NRF_PROFILER is not set
    # CONFIG_FW_INFO is not set
    
    #
    # Debug
    #
    # CONFIG_CPU_LOAD is not set
    # CONFIG_PPI_TRACE is not set
    # end of Debug
    
    # CONFIG_SHELL_BT_NUS is not set
    # CONFIG_SHELL_IPC is not set
    # CONFIG_MPSL_FEM_ONLY is not set
    # CONFIG_MPSL_FEM_DEVICE_CONFIG_254 is not set
    CONFIG_MPSL_THREAD_COOP_PRIO=8
    CONFIG_MPSL_WORK_STACK_SIZE=1024
    CONFIG_MPSL_TIMESLOT_SESSION_COUNT=0
    # CONFIG_MPSL_ASSERT_HANDLER is not set
    
    #
    # Partition Manager
    #
    CONFIG_PARTITION_MANAGER_ENABLED=y
    CONFIG_FLASH_MAP_CUSTOM=y
    CONFIG_SRAM_BASE_ADDRESS=0x20000000
    
    #
    # Zephyr subsystem configurations
    #
    CONFIG_RPMSG_NRF53_SRAM_SIZE=0x10000
    # end of Zephyr subsystem configurations
    
    #
    # NCS subsystem configurations
    #
    # CONFIG_PM_SINGLE_IMAGE is not set
    CONFIG_PM_EXTERNAL_FLASH_BASE=0
    # CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK is not set
    CONFIG_PM_SRAM_BASE=0x20000000
    CONFIG_PM_SRAM_SIZE=0x80000
    # end of Partition Manager
    
    #
    # nRF RPC (Remote Procedure Call) library
    #
    # end of nRF RPC (Remote Procedure Call) library
    
    # CONFIG_ZIGBEE is not set
    
    #
    # Full Modem Firmware Update Management(FMFU)
    #
    # end of Full Modem Firmware Update Management(FMFU)
    
    # CONFIG_CAF is not set
    
    #
    # Nordic IEEE 802.15.4
    #
    # end of Nordic IEEE 802.15.4
    
    # CONFIG_DM_MODULE is not set
    
    #
    # TF-M SPM component configs
    #
    CONFIG_TFM_CONN_HANDLE_MAX_NUM=8
    # end of TF-M SPM component configs
    
    #
    # Libraries
    #
    
    #
    # Binary libraries
    #
    # CONFIG_BT_LL_ACS_NRF53 is not set
    # end of Binary libraries
    
    # CONFIG_ADP536X is not set
    # CONFIG_AT_MONITOR is not set
    # CONFIG_LTE_LINK_CONTROL is not set
    CONFIG_NRF_SPU_FLASH_REGION_SIZE=0x4000
    CONFIG_FPROTECT_BLOCK_SIZE=0x4000
    # CONFIG_FPROTECT is not set
    # CONFIG_AT_CMD_CUSTOM is not set
    # CONFIG_DK_LIBRARY is not set
    # CONFIG_MODEM_INFO is not set
    CONFIG_RESET_ON_FATAL_ERROR=y
    # CONFIG_SMS is not set
    # CONFIG_SUPL_CLIENT_LIB is not set
    # CONFIG_DATE_TIME is not set
    # CONFIG_HW_ID_LIBRARY is not set
    # CONFIG_RAM_POWER_DOWN_LIBRARY is not set
    # CONFIG_WAVE_GEN_LIB is not set
    CONFIG_HW_UNIQUE_KEY_PARTITION_SIZE=0
    # CONFIG_MODEM_JWT is not set
    # CONFIG_QOS is not set
    # CONFIG_SFLOAT is not set
    # CONFIG_CONTIN_ARRAY is not set
    # CONFIG_PCM_MIX is not set
    # CONFIG_TONE is not set
    # CONFIG_PSCM is not set
    # CONFIG_DATA_FIFO is not set
    # CONFIG_FEM_AL_LIB is not set
    # end of Libraries
    
    #
    # Device Drivers
    #
    # CONFIG_BT_DRIVER_QUIRK_NO_AUTO_DLE is not set
    CONFIG_HW_CC3XX=y
    # CONFIG_ETH_RTT is not set
    # CONFIG_NRF_SW_LPUART is not set
    CONFIG_NRFX_GPIOTE_NUM_OF_EVT_HANDLERS=1
    # CONFIG_IPC_UART is not set
    # end of Device Drivers
    
    #
    # External libraries
    #
    # end of External libraries
    
    #
    # Test
    #
    CONFIG_ZTEST_MULTICORE_DEFAULT_SETTINGS=y
    # CONFIG_UNITY is not set
    
    #
    # Mocks
    #
    # CONFIG_MOCK_NRF_MODEM_AT is not set
    # end of Mocks
    # end of Test
    # end of Nordic nRF Connect
    
    CONFIG_ZEPHYR_NRF_MODULE=y
    # end of nrf (/home/mutsl04176/ncs/PA_Firmware/nrf)
    
    #
    # hostap (/home/mutsl04176/ncs/PA_Firmware/modules/lib/hostap)
    #
    CONFIG_POSIX_MAX_FDS=4
    CONFIG_ZEPHYR_HOSTAP_MODULE=y
    # end of hostap (/home/mutsl04176/ncs/PA_Firmware/modules/lib/hostap)
    
    #
    # mcuboot (/home/mutsl04176/ncs/PA_Firmware/bootloader/mcuboot)
    #
    
    #
    # MCUboot
    #
    CONFIG_SIGN_IMAGES=y
    # CONFIG_BOOT_BUILD_DIRECT_XIP_VARIANT is not set
    # CONFIG_MCUBOOT_BUILD_STRATEGY_USE_HEX_FILE is not set
    # CONFIG_MCUBOOT_BUILD_STRATEGY_SKIP_BUILD is not set
    CONFIG_MCUBOOT_BUILD_STRATEGY_FROM_SOURCE=y
    CONFIG_MCUBOOT_IMAGE_VERSION="1.0.0+0"
    # CONFIG_MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION is not set
    CONFIG_MCUBOOT_FLASH_WRITE_BLOCK_SIZE=4
    CONFIG_DT_FLASH_WRITE_BLOCK_SIZE=4
    CONFIG_MCUBOOT_USB_SUPPORT=y
    # CONFIG_DFU_MULTI_IMAGE_PACKAGE_BUILD is not set
    CONFIG_ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS=y
    # CONFIG_MCUBOOT_USE_ALL_AVAILABLE_RAM is not set
    # end of MCUboot
    
    CONFIG_ZEPHYR_MCUBOOT_MODULE=y
    # end of mcuboot (/home/mutsl04176/ncs/PA_Firmware/bootloader/mcuboot)
    
    #
    # mbedtls (/home/mutsl04176/ncs/PA_Firmware/modules/crypto/mbedtls)
    #
    CONFIG_ZEPHYR_MBEDTLS_MODULE=y
    CONFIG_MBEDTLS_BUILTIN=y
    # CONFIG_MBEDTLS_LIBRARY is not set
    # end of mbedtls (/home/mutsl04176/ncs/PA_Firmware/modules/crypto/mbedtls)
    
    #
    # trusted-firmware-m (/home/mutsl04176/ncs/PA_Firmware/modules/tee/tf-m/trusted-firmware-m)
    #
    CONFIG_BOOTLOADER_MCUBOOT=y
    CONFIG_ZEPHYR_TRUSTED_FIRMWARE_M_MODULE=y
    # end of trusted-firmware-m (/home/mutsl04176/ncs/PA_Firmware/modules/tee/tf-m/trusted-firmware-m)
    
    #
    # cjson (/home/mutsl04176/ncs/PA_Firmware/modules/lib/cjson)
    #
    CONFIG_ZEPHYR_CJSON_MODULE=y
    # end of cjson (/home/mutsl04176/ncs/PA_Firmware/modules/lib/cjson)
    
    #
    # azure-sdk-for-c (/home/mutsl04176/ncs/PA_Firmware/modules/lib/azure-sdk-for-c)
    #
    # CONFIG_AZURE_SDK is not set
    CONFIG_ZEPHYR_AZURE_SDK_FOR_C_MODULE=y
    # end of azure-sdk-for-c (/home/mutsl04176/ncs/PA_Firmware/modules/lib/azure-sdk-for-c)
    
    #
    # cirrus-logic (/home/mutsl04176/ncs/PA_Firmware/modules/hal/cirrus-logic)
    #
    # CONFIG_HW_CODEC_CIRRUS_LOGIC is not set
    CONFIG_ZEPHYR_CIRRUS_LOGIC_MODULE=y
    # end of cirrus-logic (/home/mutsl04176/ncs/PA_Firmware/modules/hal/cirrus-logic)
    
    #
    # openthread (/home/mutsl04176/ncs/PA_Firmware/modules/lib/openthread)
    #
    # CONFIG_OPENTHREAD is not set
    CONFIG_ZEPHYR_OPENTHREAD_MODULE=y
    # end of openthread (/home/mutsl04176/ncs/PA_Firmware/modules/lib/openthread)
    
    #
    # memfault-firmware-sdk (/home/mutsl04176/ncs/PA_Firmware/modules/lib/memfault-firmware-sdk)
    #
    # CONFIG_MEMFAULT is not set
    CONFIG_ZEPHYR_MEMFAULT_FIRMWARE_SDK_MODULE=y
    # end of memfault-firmware-sdk (/home/mutsl04176/ncs/PA_Firmware/modules/lib/memfault-firmware-sdk)
    
    #
    # canopennode (/home/mutsl04176/ncs/PA_Firmware/modules/lib/canopennode)
    #
    CONFIG_ZEPHYR_CANOPENNODE_MODULE=y
    # end of canopennode (/home/mutsl04176/ncs/PA_Firmware/modules/lib/canopennode)
    
    #
    # chre (/home/mutsl04176/ncs/PA_Firmware/modules/lib/chre)
    #
    CONFIG_ZEPHYR_CHRE_MODULE=y
    # CONFIG_CHRE is not set
    # end of chre (/home/mutsl04176/ncs/PA_Firmware/modules/lib/chre)
    
    #
    # fatfs (/home/mutsl04176/ncs/PA_Firmware/modules/fs/fatfs)
    #
    CONFIG_ZEPHYR_FATFS_MODULE=y
    # end of fatfs (/home/mutsl04176/ncs/PA_Firmware/modules/fs/fatfs)
    
    #
    # hal_nordic (/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic)
    #
    CONFIG_ZEPHYR_HAL_NORDIC_MODULE=y
    CONFIG_HAS_NORDIC_DRIVERS=y
    
    #
    # Nordic drivers
    #
    # CONFIG_NRF_802154_SOURCE_HAL_NORDIC is not set
    # CONFIG_NRF_802154_SER_HOST is not set
    # end of Nordic drivers
    
    CONFIG_HAS_NRFX=y
    
    #
    # nrfx drivers
    #
    CONFIG_NRFX_CLOCK=y
    CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED=y
    # CONFIG_NRFX_COMP is not set
    # CONFIG_NRFX_DPPI is not set
    # CONFIG_NRFX_EGU0 is not set
    # CONFIG_NRFX_EGU1 is not set
    # CONFIG_NRFX_EGU2 is not set
    # CONFIG_NRFX_EGU3 is not set
    # CONFIG_NRFX_EGU4 is not set
    # CONFIG_NRFX_EGU5 is not set
    CONFIG_NRFX_GPIOTE=y
    # CONFIG_NRFX_I2S is not set
    CONFIG_NRFX_IPC=y
    # CONFIG_NRFX_NFCT is not set
    # CONFIG_NRFX_NVMC is not set
    # CONFIG_NRFX_PDM is not set
    CONFIG_NRFX_POWER=y
    # CONFIG_NRFX_PWM0 is not set
    # CONFIG_NRFX_PWM1 is not set
    # CONFIG_NRFX_PWM2 is not set
    # CONFIG_NRFX_PWM3 is not set
    # CONFIG_NRFX_QDEC is not set
    # CONFIG_NRFX_QSPI is not set
    # CONFIG_NRFX_RTC0 is not set
    # CONFIG_NRFX_RTC1 is not set
    # CONFIG_NRFX_SAADC is not set
    # CONFIG_NRFX_SPIM0 is not set
    # CONFIG_NRFX_SPIM1 is not set
    # CONFIG_NRFX_SPIM2 is not set
    # CONFIG_NRFX_SPIM3 is not set
    # CONFIG_NRFX_SPIM4 is not set
    # CONFIG_NRFX_SYSTICK is not set
    # CONFIG_NRFX_TIMER0 is not set
    # CONFIG_NRFX_TIMER1 is not set
    # CONFIG_NRFX_TIMER2 is not set
    # CONFIG_NRFX_TWIM0 is not set
    # CONFIG_NRFX_TWIM1 is not set
    # CONFIG_NRFX_TWIM2 is not set
    # CONFIG_NRFX_TWIM3 is not set
    # CONFIG_NRFX_UARTE0 is not set
    # CONFIG_NRFX_UARTE1 is not set
    # CONFIG_NRFX_UARTE2 is not set
    # CONFIG_NRFX_UARTE3 is not set
    CONFIG_NRFX_USBD=y
    CONFIG_NRFX_USBREG=y
    # CONFIG_NRFX_WDT0 is not set
    # CONFIG_NRFX_WDT1 is not set
    
    #
    # Peripheral Resource Sharing module
    #
    # CONFIG_NRFX_PRS_BOX_0 is not set
    # CONFIG_NRFX_PRS_BOX_1 is not set
    # CONFIG_NRFX_PRS_BOX_2 is not set
    # CONFIG_NRFX_PRS_BOX_3 is not set
    # CONFIG_NRFX_PRS_BOX_4 is not set
    # end of Peripheral Resource Sharing module
    # end of nrfx drivers
    # end of hal_nordic (/home/mutsl04176/ncs/PA_Firmware/modules/hal/nordic)
    
    #
    # liblc3 (/home/mutsl04176/ncs/PA_Firmware/modules/lib/liblc3)
    #
    CONFIG_ZEPHYR_LIBLC3_MODULE=y
    # end of liblc3 (/home/mutsl04176/ncs/PA_Firmware/modules/lib/liblc3)
    
    #
    # littlefs (/home/mutsl04176/ncs/PA_Firmware/modules/fs/littlefs)
    #
    CONFIG_ZEPHYR_LITTLEFS_MODULE=y
    # end of littlefs (/home/mutsl04176/ncs/PA_Firmware/modules/fs/littlefs)
    
    #
    # loramac-node (/home/mutsl04176/ncs/PA_Firmware/modules/lib/loramac-node)
    #
    CONFIG_ZEPHYR_LORAMAC_NODE_MODULE=y
    # CONFIG_HAS_SEMTECH_RADIO_DRIVERS is not set
    # end of loramac-node (/home/mutsl04176/ncs/PA_Firmware/modules/lib/loramac-node)
    
    #
    # lvgl (/home/mutsl04176/ncs/PA_Firmware/modules/lib/gui/lvgl)
    #
    CONFIG_ZEPHYR_LVGL_MODULE=y
    # end of lvgl (/home/mutsl04176/ncs/PA_Firmware/modules/lib/gui/lvgl)
    
    #
    # lz4 (/home/mutsl04176/ncs/PA_Firmware/modules/lib/lz4)
    #
    CONFIG_ZEPHYR_LZ4_MODULE=y
    # CONFIG_LZ4 is not set
    # end of lz4 (/home/mutsl04176/ncs/PA_Firmware/modules/lib/lz4)
    
    #
    # nanopb (/home/mutsl04176/ncs/PA_Firmware/modules/lib/nanopb)
    #
    CONFIG_ZEPHYR_NANOPB_MODULE=y
    # CONFIG_NANOPB is not set
    # end of nanopb (/home/mutsl04176/ncs/PA_Firmware/modules/lib/nanopb)
    
    #
    # picolibc (/home/mutsl04176/ncs/PA_Firmware/modules/lib/picolibc)
    #
    # CONFIG_PICOLIBC_MODULE is not set
    CONFIG_ZEPHYR_PICOLIBC_MODULE=y
    # end of picolibc (/home/mutsl04176/ncs/PA_Firmware/modules/lib/picolibc)
    
    #
    # segger (/home/mutsl04176/ncs/PA_Firmware/modules/debug/segger)
    #
    CONFIG_ZEPHYR_SEGGER_MODULE=y
    CONFIG_HAS_SEGGER_RTT=y
    # CONFIG_USE_SEGGER_RTT is not set
    # end of segger (/home/mutsl04176/ncs/PA_Firmware/modules/debug/segger)
    
    #
    # TraceRecorder (/home/mutsl04176/ncs/PA_Firmware/modules/debug/TraceRecorder)
    #
    CONFIG_ZEPHYR_TRACERECORDER_MODULE=y
    # end of TraceRecorder (/home/mutsl04176/ncs/PA_Firmware/modules/debug/TraceRecorder)
    
    #
    # uoscore-uedhoc (/home/mutsl04176/ncs/PA_Firmware/modules/lib/uoscore-uedhoc)
    #
    CONFIG_ZEPHYR_UOSCORE_UEDHOC_MODULE=y
    # end of uoscore-uedhoc (/home/mutsl04176/ncs/PA_Firmware/modules/lib/uoscore-uedhoc)
    
    #
    # zcbor (/home/mutsl04176/ncs/PA_Firmware/modules/lib/zcbor)
    #
    CONFIG_ZEPHYR_ZCBOR_MODULE=y
    # CONFIG_ZCBOR is not set
    # end of zcbor (/home/mutsl04176/ncs/PA_Firmware/modules/lib/zcbor)
    
    #
    # zscilib (/home/mutsl04176/ncs/PA_Firmware/modules/lib/zscilib)
    #
    # CONFIG_ZSL is not set
    CONFIG_ZEPHYR_ZSCILIB_MODULE=y
    # end of zscilib (/home/mutsl04176/ncs/PA_Firmware/modules/lib/zscilib)
    
    #
    # nrfxlib (/home/mutsl04176/ncs/PA_Firmware/nrfxlib)
    #
    
    #
    # Nordic nrfxlib
    #
    CONFIG_NRF_MODEM_SHMEM_CTRL_SIZE=0x4e8
    # CONFIG_NFC_T2T_NRFXLIB is not set
    # CONFIG_NFC_T4T_NRFXLIB is not set
    
    #
    # Crypto libraries for nRF5x SOCs.
    #
    CONFIG_NRFXLIB_CRYPTO=y
    CONFIG_CRYPTOCELL_CC312_USABLE=y
    CONFIG_CRYPTOCELL_USABLE=y
    # CONFIG_NRF_OBERON is not set
    # CONFIG_NRF_CC310_BL is not set
    CONFIG_NRF_CC3XX_PLATFORM=y
    CONFIG_CC3XX_MUTEX_LOCK=y
    # CONFIG_CC3XX_ATOMIC_LOCK is not set
    # CONFIG_CC3XX_HW_MUTEX_LOCK is not set
    # end of Crypto libraries for nRF5x SOCs.
    
    #
    # nrf_security module
    #
    # CONFIG_NORDIC_SECURITY_BACKEND is not set
    # CONFIG_NRF_SECURITY is not set
    # end of nrf_security module
    
    # CONFIG_NRF_RPC is not set
    CONFIG_NRF_802154_SOURCE_NRFXLIB=y
    # CONFIG_GZLL is not set
    # CONFIG_NRF_DM is not set
    # CONFIG_LC3_PLC_DISABLED is not set
    CONFIG_LC3_ENC_CHAN_MAX=1
    CONFIG_LC3_DEC_CHAN_MAX=1
    
    #
    # Encoder sample rates
    #
    CONFIG_LC3_ENC_SAMPLE_RATE_8KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_16KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_24KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_32KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_441KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_48KHZ_SUPPORT=y
    # end of Encoder sample rates
    
    #
    # Decoder sample rates
    #
    CONFIG_LC3_DEC_SAMPLE_RATE_8KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_16KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_24KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_32KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_441KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_48KHZ_SUPPORT=y
    # end of Decoder sample rates
    
    # CONFIG_NRF_FUEL_GAUGE is not set
    # end of Nordic nrfxlib
    
    CONFIG_ZEPHYR_NRFXLIB_MODULE=y
    # end of nrfxlib (/home/mutsl04176/ncs/PA_Firmware/nrfxlib)
    
    #
    # connectedhomeip (/home/mutsl04176/ncs/PA_Firmware/modules/lib/matter)
    #
    # CONFIG_CHIP is not set
    # CONFIG_CHIP_LOG_SIZE_OPTIMIZATION is not set
    CONFIG_ZEPHYR_CONNECTEDHOMEIP_MODULE=y
    # end of connectedhomeip (/home/mutsl04176/ncs/PA_Firmware/modules/lib/matter)
    
    #
    # Optional modules. Make sure they're installed, via the project manifest.
    #
    CONFIG_HAS_CMSIS_CORE=y
    CONFIG_HAS_CMSIS_CORE_M=y
    # CONFIG_CMSIS_DSP is not set
    # CONFIG_CMSIS_NN is not set
    CONFIG_LIBMETAL=y
    CONFIG_LIBMETAL_SRC_PATH="libmetal"
    # CONFIG_LVGL is not set
    # CONFIG_HAS_MEC_HAL is not set
    # CONFIG_HAS_MPFS_HAL is not set
    CONFIG_OPENAMP=y
    CONFIG_OPENAMP_SRC_PATH="open-amp"
    CONFIG_OPENAMP_MASTER=y
    CONFIG_OPENAMP_SLAVE=y
    # CONFIG_SOF is not set
    # CONFIG_MIPI_SYST_LIB is not set
    # CONFIG_HAS_TELINK_DRIVERS is not set
    # CONFIG_MCUBOOT_BOOTUTIL_LIB is not set
    
    #
    # Unavailable modules, please install those via the project manifest.
    #
    
    #
    # hal_gigadevice module not available.
    #
    
    #
    # Trusted-firmware-a module not available.
    #
    
    #
    # THRIFT module not available.
    #
    # end of Modules
    
    CONFIG_BOARD_REVISION=""
    # CONFIG_NET_DRIVERS is not set
    # CONFIG_BOARD_BL5340_DVK_CPUAPP is not set
    # CONFIG_BOARD_BL5340_DVK_CPUAPP_NS is not set
    CONFIG_BOARD_BL5340PA_DVK_CPUAPP=y
    # CONFIG_BOARD_BL5340PA_DVK_CPUAPP_NS is not set
    
    #
    # Board Options
    #
    CONFIG_BOARD_ENABLE_DCDC_APP=y
    CONFIG_BOARD_ENABLE_DCDC_NET=y
    CONFIG_BOARD_ENABLE_DCDC_HV=y
    CONFIG_BOARD_ENABLE_CPUNET=y
    CONFIG_DOMAIN_CPUNET_BOARD="bl5340pa_dvk_cpunet"
    # end of Board Options
    
    # CONFIG_SOC_SERIES_BEETLE is not set
    # CONFIG_SOC_SERIES_ARM_DESIGNSTART is not set
    # CONFIG_SOC_SERIES_FVP_AEMV8R_AARCH32 is not set
    # CONFIG_SOC_SERIES_MPS2 is not set
    # CONFIG_SOC_SERIES_MPS3 is not set
    # CONFIG_SOC_SERIES_MUSCA_B1 is not set
    # CONFIG_SOC_SERIES_MUSCA_S1 is not set
    # CONFIG_SOC_SERIES_AST10X0 is not set
    # CONFIG_SOC_SERIES_SAM3X is not set
    # CONFIG_SOC_SERIES_SAM4E is not set
    # CONFIG_SOC_SERIES_SAM4L is not set
    # CONFIG_SOC_SERIES_SAM4S is not set
    # CONFIG_SOC_SERIES_SAME70 is not set
    # CONFIG_SOC_SERIES_SAMV71 is not set
    # CONFIG_SOC_SERIES_SAMC20 is not set
    # CONFIG_SOC_SERIES_SAMC21 is not set
    # CONFIG_SOC_SERIES_SAMD20 is not set
    # CONFIG_SOC_SERIES_SAMD21 is not set
    # CONFIG_SOC_SERIES_SAMD51 is not set
    # CONFIG_SOC_SERIES_SAME51 is not set
    # CONFIG_SOC_SERIES_SAME53 is not set
    # CONFIG_SOC_SERIES_SAME54 is not set
    # CONFIG_SOC_SERIES_SAML21 is not set
    # CONFIG_SOC_SERIES_SAMR21 is not set
    # CONFIG_SOC_SERIES_SAMR34 is not set
    # CONFIG_SOC_SERIES_SAMR35 is not set
    # CONFIG_SOC_SERIES_VALKYRIE is not set
    # CONFIG_SOC_SERIES_VIPER is not set
    # CONFIG_SOC_SERIES_PSOC62 is not set
    # CONFIG_SOC_SERIES_PSOC63 is not set
    # CONFIG_SOC_SERIES_GD32A50X is not set
    # CONFIG_SOC_SERIES_GD32E10X is not set
    # CONFIG_SOC_SERIES_GD32E50X is not set
    # CONFIG_SOC_SERIES_GD32F3X0 is not set
    # CONFIG_SOC_SERIES_GD32F403 is not set
    # CONFIG_SOC_SERIES_GD32F4XX is not set
    # CONFIG_SOC_SERIES_GD32L23X is not set
    # CONFIG_SOC_SERIES_PSOC_60 is not set
    # CONFIG_SOC_SERIES_PSOC_61 is not set
    # CONFIG_SOC_SERIES_PSOC_62 is not set
    # CONFIG_SOC_SERIES_PSOC_63 is not set
    # CONFIG_SOC_SERIES_PSOC_64 is not set
    # CONFIG_SOC_SERIES_XMC_4XXX is not set
    # CONFIG_SOC_SERIES_CYCLONE5 is not set
    # CONFIG_SOC_SERIES_MEC1501X is not set
    # CONFIG_SOC_SERIES_MEC1701X is not set
    # CONFIG_SOC_SERIES_MEC172X is not set
    # CONFIG_SOC_SERIES_NRF51X is not set
    # CONFIG_SOC_SERIES_NRF52X is not set
    CONFIG_SOC_SERIES_NRF53X=y
    # CONFIG_SOC_SERIES_NRF91X is not set
    # CONFIG_SOC_SERIES_NPCX7 is not set
    # CONFIG_SOC_SERIES_NPCX9 is not set
    # CONFIG_SOC_SERIES_M48X is not set
    # CONFIG_SOC_SERIES_IMX_6X_M4 is not set
    # CONFIG_SOC_SERIES_IMX7_M4 is not set
    # CONFIG_SOC_SERIES_IMX8ML_M7 is not set
    # CONFIG_SOC_SERIES_IMX8MM_M4 is not set
    # CONFIG_SOC_SERIES_IMX8MQ_M4 is not set
    # CONFIG_SOC_SERIES_IMX_RT is not set
    # CONFIG_SOC_SERIES_IMX_RT5XX is not set
    # CONFIG_SOC_SERIES_IMX_RT6XX is not set
    # CONFIG_SOC_SERIES_KINETIS_K2X is not set
    # CONFIG_SOC_SERIES_KINETIS_K6X is not set
    # CONFIG_SOC_SERIES_KINETIS_K8X is not set
    # CONFIG_SOC_SERIES_KINETIS_KE1XF is not set
    # CONFIG_SOC_SERIES_KINETIS_KL2X is not set
    # CONFIG_SOC_SERIES_KINETIS_KV5X is not set
    # CONFIG_SOC_SERIES_KINETIS_KWX is not set
    # CONFIG_SOC_SERIES_LPC11U6X is not set
    # CONFIG_SOC_SERIES_LPC51U68 is not set
    # CONFIG_SOC_SERIES_LPC54XXX is not set
    # CONFIG_SOC_SERIES_LPC55XXX is not set
    # CONFIG_SOC_SERIES_S32ZE_R52 is not set
    # CONFIG_SOC_EOS_S3 is not set
    # CONFIG_SOC_SERIES_RCAR_GEN3 is not set
    # CONFIG_SOC_SERIES_DA1469X is not set
    # CONFIG_SOC_SERIES_RP2XXX is not set
    # CONFIG_SOC_SERIES_EFM32GG11B is not set
    # CONFIG_SOC_SERIES_EFM32HG is not set
    # CONFIG_SOC_SERIES_EFM32JG12B is not set
    # CONFIG_SOC_SERIES_EFM32PG12B is not set
    # CONFIG_SOC_SERIES_EFM32PG1B is not set
    # CONFIG_SOC_SERIES_EFM32WG is not set
    # CONFIG_SOC_SERIES_EFR32BG13P is not set
    # CONFIG_SOC_SERIES_EFR32BG22 is not set
    # CONFIG_SOC_SERIES_EFR32FG13P is not set
    # CONFIG_SOC_SERIES_EFR32FG1P is not set
    # CONFIG_SOC_SERIES_EFR32MG12P is not set
    # CONFIG_SOC_SERIES_EFR32MG21 is not set
    # CONFIG_SOC_SERIES_EFR32MG24 is not set
    # CONFIG_SOC_SERIES_STM32C0X is not set
    # CONFIG_SOC_SERIES_STM32F0X is not set
    # CONFIG_SOC_SERIES_STM32F1X is not set
    # CONFIG_SOC_SERIES_STM32F2X is not set
    # CONFIG_SOC_SERIES_STM32F3X is not set
    # CONFIG_SOC_SERIES_STM32F4X is not set
    # CONFIG_SOC_SERIES_STM32F7X is not set
    # CONFIG_SOC_SERIES_STM32G0X is not set
    # CONFIG_SOC_SERIES_STM32G4X is not set
    # CONFIG_SOC_SERIES_STM32H5X is not set
    # CONFIG_SOC_SERIES_STM32H7X is not set
    # CONFIG_SOC_SERIES_STM32L0X is not set
    # CONFIG_SOC_SERIES_STM32L1X is not set
    # CONFIG_SOC_SERIES_STM32L4X is not set
    # CONFIG_SOC_SERIES_STM32L5X is not set
    # CONFIG_SOC_SERIES_STM32MP1X is not set
    # CONFIG_SOC_SERIES_STM32U5X is not set
    # CONFIG_SOC_SERIES_STM32WBX is not set
    # CONFIG_SOC_SERIES_STM32WLX is not set
    # CONFIG_SOC_TI_LM3S6965 is not set
    # CONFIG_SOC_SERIES_CC13X2_CC26X2 is not set
    # CONFIG_SOC_SERIES_CC13X2X7_CC26X2X7 is not set
    # CONFIG_SOC_SERIES_CC32XX is not set
    # CONFIG_SOC_SERIES_MSP432P4XX is not set
    # CONFIG_SOC_SERIES_XILINX_XC7ZXXX is not set
    # CONFIG_SOC_SERIES_XILINX_XC7ZXXXS is not set
    # CONFIG_SOC_XILINX_ZYNQMP_RPU is not set
    
    #
    # Hardware Configuration
    #
    CONFIG_CPU_HAS_ARM_MPU=y
    CONFIG_CPU_HAS_NRF_IDAU=y
    CONFIG_NRF_SPU_RAM_REGION_SIZE=0x2000
    CONFIG_HAS_SWO=y
    CONFIG_SOC_FAMILY="nordic_nrf"
    CONFIG_SOC_FAMILY_NRF=y
    CONFIG_HAS_HW_NRF_CC312=y
    CONFIG_HAS_HW_NRF_CLOCK=y
    CONFIG_HAS_HW_NRF_CTRLAP=y
    CONFIG_HAS_HW_NRF_DCNF=y
    CONFIG_HAS_HW_NRF_EGU0=y
    CONFIG_HAS_HW_NRF_EGU1=y
    CONFIG_HAS_HW_NRF_EGU2=y
    CONFIG_HAS_HW_NRF_EGU3=y
    CONFIG_HAS_HW_NRF_EGU4=y
    CONFIG_HAS_HW_NRF_EGU5=y
    CONFIG_HAS_HW_NRF_GPIO0=y
    CONFIG_HAS_HW_NRF_GPIO1=y
    CONFIG_HAS_HW_NRF_GPIOTE=y
    CONFIG_HAS_HW_NRF_IPC=y
    CONFIG_HAS_HW_NRF_KMU=y
    CONFIG_HAS_HW_NRF_MUTEX=y
    CONFIG_HAS_HW_NRF_NFCT=y
    CONFIG_HAS_HW_NRF_NVMC_PE=y
    CONFIG_HAS_HW_NRF_OSCILLATORS=y
    CONFIG_HAS_HW_NRF_POWER=y
    CONFIG_HAS_HW_NRF_QSPI=y
    CONFIG_HAS_HW_NRF_REGULATORS=y
    CONFIG_HAS_HW_NRF_RESET=y
    CONFIG_HAS_HW_NRF_SAADC=y
    CONFIG_HAS_HW_NRF_SPU=y
    CONFIG_HAS_HW_NRF_USBD=y
    CONFIG_HAS_HW_NRF_USBREG=y
    CONFIG_HAS_HW_NRF_VMC=y
    CONFIG_HAS_HW_NRF_WDT0=y
    CONFIG_SOC_NRF5340_CPUAPP=y
    CONFIG_SOC_NRF5340_CPUAPP_QKAA=y
    # CONFIG_SOC_NRF5340_CPUNET_QKAA is not set
    CONFIG_SOC_NRF53_ANOMALY_160_WORKAROUND_NEEDED=y
    CONFIG_SOC_NRF53_ANOMALY_160_WORKAROUND=y
    CONFIG_SOC_DCDC_NRF53X_APP=y
    CONFIG_SOC_DCDC_NRF53X_NET=y
    CONFIG_SOC_DCDC_NRF53X_HV=y
    CONFIG_SOC_NRF_GPIO_FORWARDER_FOR_NRF5340=y
    CONFIG_SOC_ENABLE_LFXO=y
    # CONFIG_SOC_LFXO_CAP_EXTERNAL is not set
    # CONFIG_SOC_LFXO_CAP_INT_6PF is not set
    CONFIG_SOC_LFXO_CAP_INT_7PF=y
    # CONFIG_SOC_LFXO_CAP_INT_9PF is not set
    # CONFIG_SOC_HFXO_CAP_DEFAULT is not set
    # CONFIG_SOC_HFXO_CAP_EXTERNAL is not set
    CONFIG_SOC_HFXO_CAP_INTERNAL=y
    CONFIG_SOC_HFXO_CAP_INT_VALUE_X2=27
    CONFIG_NRF_ENABLE_CACHE=y
    # CONFIG_NRF53_SYNC_RTC is not set
    CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=0
    CONFIG_NRF_SOC_SECURE_SUPPORTED=y
    # CONFIG_NFCT_PINS_AS_GPIOS is not set
    CONFIG_NRF_APPROTECT_USE_UICR=y
    # CONFIG_NRF_APPROTECT_LOCK is not set
    # CONFIG_NRF_APPROTECT_USER_HANDLING is not set
    CONFIG_NRF_SECURE_APPROTECT_USE_UICR=y
    # CONFIG_NRF_SECURE_APPROTECT_LOCK is not set
    # CONFIG_NRF_SECURE_APPROTECT_USER_HANDLING is not set
    # CONFIG_NRF_TRACE_PORT is not set
    # CONFIG_BUILD_OUTPUT_INFO_HEADER is not set
    # end of Hardware Configuration
    
    CONFIG_SOC_COMPATIBLE_NRF=y
    
    #
    # ARM Options
    #
    CONFIG_ARCH="arm"
    CONFIG_CPU_CORTEX=y
    # CONFIG_CODE_DATA_RELOCATION_SRAM is not set
    CONFIG_ARM_ON_ENTER_CPU_IDLE_HOOK=y
    CONFIG_CPU_CORTEX_M=y
    # CONFIG_ARM_ZIMAGE_HEADER is not set
    CONFIG_ISA_THUMB2=y
    CONFIG_ASSEMBLER_ISA_THUMB2=y
    CONFIG_COMPILER_ISA_THUMB2=y
    CONFIG_STACK_ALIGN_DOUBLE_WORD=y
    # CONFIG_RUNTIME_NMI is not set
    CONFIG_FAULT_DUMP=2
    CONFIG_BUILTIN_STACK_GUARD=y
    CONFIG_ARM_STACK_PROTECTION=y
    CONFIG_CPU_CORTEX_M33=y
    CONFIG_CPU_CORTEX_M_HAS_SYSTICK=y
    CONFIG_CPU_CORTEX_M_HAS_DWT=y
    CONFIG_CPU_CORTEX_M_HAS_BASEPRI=y
    CONFIG_CPU_CORTEX_M_HAS_VTOR=y
    CONFIG_CPU_CORTEX_M_HAS_SPLIM=y
    CONFIG_CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS=y
    CONFIG_CPU_CORTEX_M_HAS_CMSE=y
    CONFIG_ARMV7_M_ARMV8_M_MAINLINE=y
    CONFIG_ARMV8_M_MAINLINE=y
    CONFIG_ARMV8_M_SE=y
    CONFIG_ARMV7_M_ARMV8_M_FP=y
    CONFIG_ARMV8_M_DSP=y
    
    #
    # ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options
    #
    CONFIG_GEN_ISR_TABLES=y
    # CONFIG_ZERO_LATENCY_IRQS is not set
    # CONFIG_SW_VECTOR_RELAY is not set
    # CONFIG_CORTEX_M_DWT is not set
    # CONFIG_CORTEX_M_DEBUG_MONITOR_HOOK is not set
    # CONFIG_TRAP_UNALIGNED_ACCESS is not set
    # end of ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options
    
    CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
    # CONFIG_NULL_POINTER_EXCEPTION_DETECTION_DWT is not set
    # CONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU is not set
    CONFIG_ARM_TRUSTZONE_M=y
    CONFIG_GEN_IRQ_VECTOR_TABLE=y
    CONFIG_ARM_MPU=y
    CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE=32
    # CONFIG_MPU_STACK_GUARD is not set
    # CONFIG_MPU_ALLOW_FLASH_WRITE is not set
    # CONFIG_MPU_DISABLE_BACKGROUND_MAP is not set
    # CONFIG_CUSTOM_SECTION_ALIGN is not set
    CONFIG_CUSTOM_SECTION_MIN_ALIGN_SIZE=32
    # end of ARM Options
    
    CONFIG_ARM=y
    CONFIG_ARCH_IS_SET=y
    
    #
    # General Architecture Options
    #
    # CONFIG_SEMIHOST is not set
    CONFIG_LITTLE_ENDIAN=y
    # CONFIG_TRUSTED_EXECUTION_SECURE is not set
    # CONFIG_TRUSTED_EXECUTION_NONSECURE is not set
    CONFIG_HW_STACK_PROTECTION=y
    # CONFIG_USERSPACE is not set
    CONFIG_KOBJECT_TEXT_AREA=256
    CONFIG_KOBJECT_DATA_AREA_RESERVE_EXTRA_PERCENT=100
    CONFIG_KOBJECT_RODATA_AREA_EXTRA_BYTES=16
    CONFIG_GEN_PRIV_STACKS=y
    # CONFIG_STACK_GROWS_UP is not set
    
    #
    # Interrupt Configuration
    #
    # CONFIG_DYNAMIC_INTERRUPTS is not set
    CONFIG_ARCH_IRQ_VECTOR_TABLE_ALIGN=4
    CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_ADDRESS=y
    # CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_CODE is not set
    CONFIG_GEN_SW_ISR_TABLE=y
    CONFIG_ARCH_SW_ISR_TABLE_ALIGN=4
    CONFIG_GEN_IRQ_START_VECTOR=0
    # CONFIG_EXTRA_EXCEPTION_INFO is not set
    # CONFIG_SIMPLIFIED_EXCEPTION_CODES is not set
    # end of Interrupt Configuration
    # end of General Architecture Options
    
    CONFIG_ARCH_HAS_SINGLE_THREAD_SUPPORT=y
    CONFIG_ARCH_HAS_TIMING_FUNCTIONS=y
    CONFIG_ARCH_HAS_TRUSTED_EXECUTION=y
    CONFIG_ARCH_HAS_STACK_PROTECTION=y
    CONFIG_ARCH_HAS_USERSPACE=y
    CONFIG_ARCH_HAS_EXECUTABLE_PAGE_BIT=y
    CONFIG_ARCH_HAS_RAMFUNC_SUPPORT=y
    CONFIG_ARCH_HAS_NESTED_EXCEPTION_DETECTION=y
    CONFIG_ARCH_SUPPORTS_COREDUMP=y
    CONFIG_ARCH_SUPPORTS_ARCH_HW_INIT=y
    CONFIG_ARCH_HAS_EXTRA_EXCEPTION_INFO=y
    CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE=y
    CONFIG_ARCH_HAS_SUSPEND_TO_RAM=y
    CONFIG_ARCH_HAS_THREAD_ABORT=y
    CONFIG_ARCH_HAS_CODE_DATA_RELOCATION=y
    CONFIG_CPU_HAS_TEE=y
    CONFIG_CPU_HAS_FPU=y
    CONFIG_CPU_HAS_MPU=y
    CONFIG_MPU=y
    CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS=y
    CONFIG_MPU_GAP_FILLING=y
    CONFIG_SRAM_REGION_PERMISSIONS=y
    
    #
    # Floating Point Options
    #
    # end of Floating Point Options
    
    #
    # Cache Options
    #
    # end of Cache Options
    
    CONFIG_TOOLCHAIN_HAS_BUILTIN_FFS=y
    
    #
    # General Kernel Options
    #
    CONFIG_MULTITHREADING=y
    CONFIG_NUM_COOP_PRIORITIES=16
    CONFIG_NUM_PREEMPT_PRIORITIES=15
    CONFIG_MAIN_THREAD_PRIORITY=0
    CONFIG_COOP_ENABLED=y
    CONFIG_PREEMPT_ENABLED=y
    CONFIG_PRIORITY_CEILING=-127
    # CONFIG_SCHED_DEADLINE is not set
    # CONFIG_SCHED_CPU_MASK is not set
    CONFIG_IDLE_STACK_SIZE=320
    CONFIG_ISR_STACK_SIZE=2048
    CONFIG_THREAD_STACK_INFO=y
    # CONFIG_THREAD_CUSTOM_DATA is not set
    CONFIG_ERRNO=y
    CONFIG_SCHED_DUMB=y
    # CONFIG_SCHED_SCALABLE is not set
    # CONFIG_SCHED_MULTIQ is not set
    # CONFIG_WAITQ_SCALABLE is not set
    CONFIG_WAITQ_DUMB=y
    
    #
    # Kernel Debugging and Metrics
    #
    CONFIG_BOOT_BANNER=y
    CONFIG_BOOT_DELAY=0
    # CONFIG_THREAD_MONITOR is not set
    # CONFIG_THREAD_NAME is not set
    # CONFIG_THREAD_RUNTIME_STATS is not set
    # end of Kernel Debugging and Metrics
    
    #
    # Work Queue Options
    #
    CONFIG_SYSTEM_WORKQUEUE_PRIORITY=-1
    # CONFIG_SYSTEM_WORKQUEUE_NO_YIELD is not set
    # end of Work Queue Options
    
    #
    # Atomic Operations
    #
    CONFIG_ATOMIC_OPERATIONS_BUILTIN=y
    # end of Atomic Operations
    
    #
    # Timer API Options
    #
    CONFIG_TIMESLICING=y
    CONFIG_TIMESLICE_SIZE=0
    CONFIG_TIMESLICE_PRIORITY=0
    # CONFIG_TIMESLICE_PER_THREAD is not set
    CONFIG_POLL=y
    # end of Timer API Options
    
    #
    # Other Kernel Object Options
    #
    # CONFIG_MEM_SLAB_TRACE_MAX_UTILIZATION is not set
    CONFIG_NUM_MBOX_ASYNC_MSGS=10
    # CONFIG_EVENTS is not set
    # CONFIG_PIPES is not set
    CONFIG_KERNEL_MEM_POOL=y
    # end of Other Kernel Object Options
    
    CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN=y
    CONFIG_SWAP_NONATOMIC=y
    CONFIG_SYS_CLOCK_EXISTS=y
    CONFIG_TIMEOUT_64BIT=y
    CONFIG_SYS_CLOCK_MAX_TIMEOUT_DAYS=365
    CONFIG_XIP=y
    
    #
    # Initialization Priorities
    #
    CONFIG_KERNEL_INIT_PRIORITY_OBJECTS=30
    CONFIG_KERNEL_INIT_PRIORITY_DEFAULT=40
    CONFIG_KERNEL_INIT_PRIORITY_DEVICE=50
    CONFIG_APPLICATION_INIT_PRIORITY=90
    # end of Initialization Priorities
    
    #
    # Security Options
    #
    # end of Security Options
    
    #
    # SMP Options
    #
    CONFIG_MP_NUM_CPUS=1
    # end of SMP Options
    
    CONFIG_TICKLESS_KERNEL=y
    CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE=y
    # CONFIG_THREAD_LOCAL_STORAGE is not set
    # end of General Kernel Options
    
    #
    # Device Options
    #
    # end of Device Options
    
    #
    # Virtual Memory Support
    #
    # end of Virtual Memory Support
    
    #
    # Device Drivers
    #
    # CONFIG_ADC is not set
    # CONFIG_AUDIO is not set
    # CONFIG_BBRAM is not set
    
    #
    # Bluetooth HCI Driver Options
    #
    # CONFIG_BT_H4 is not set
    # CONFIG_BT_H5 is not set
    CONFIG_BT_RPMSG=y
    # CONFIG_BT_STM32_IPM is not set
    # CONFIG_BT_ESP32 is not set
    # CONFIG_BT_B91 is not set
    # CONFIG_BT_NO_DRIVER is not set
    CONFIG_BT_DRV_TX_STACK_SIZE=256
    CONFIG_BT_DRV_RX_STACK_SIZE=256
    # CONFIG_CACHE is not set
    # CONFIG_CAN is not set
    CONFIG_CLOCK_CONTROL_NRF=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC is not set
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM is not set
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_150PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_100PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_75PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_50PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_30PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM is not set
    CONFIG_CLOCK_CONTROL_NRF_ACCURACY=250
    CONFIG_CONSOLE=y
    CONFIG_CONSOLE_INPUT_MAX_LINE_LEN=128
    CONFIG_CONSOLE_INIT_PRIORITY=40
    # CONFIG_RAM_CONSOLE is not set
    # CONFIG_IPM_CONSOLE_SENDER is not set
    # CONFIG_IPM_CONSOLE_RECEIVER is not set
    # CONFIG_UART_MCUMGR is not set
    # CONFIG_GSM_MUX is not set
    # CONFIG_EFI_CONSOLE is not set
    # CONFIG_COREDUMP_DEVICE is not set
    # CONFIG_COUNTER is not set
    # CONFIG_CRYPTO is not set
    # CONFIG_DAC is not set
    # CONFIG_DAI is not set
    # CONFIG_DISK_DRIVERS is not set
    # CONFIG_DMA is not set
    # CONFIG_EDAC is not set
    # CONFIG_EEPROM is not set
    # CONFIG_ESPI is not set
    # CONFIG_FLASH is not set
    # CONFIG_FPGA is not set
    # CONFIG_FUEL_GAUGE is not set
    # CONFIG_GPIO_GET_DIRECTION is not set
    # CONFIG_GPIO_GET_CONFIG is not set
    # CONFIG_GPIO_HOGS is not set
    # CONFIG_GPIO_ENABLE_DISABLE_INTERRUPT is not set
    CONFIG_GPIO_NRFX=y
    CONFIG_GPIO_PCA953X=y
    CONFIG_GPIO_PCA953X_INIT_PRIORITY=70
    CONFIG_HWINFO=y
    CONFIG_HWINFO_NRF=y
    # CONFIG_I2C_CALLBACK is not set
    # CONFIG_I2C_TARGET is not set
    CONFIG_I2C_NRFX=y
    CONFIG_I2C_NRFX_TRANSFER_TIMEOUT=500
    CONFIG_I2C_INIT_PRIORITY=50
    # CONFIG_I2S is not set
    # CONFIG_I3C is not set
    # CONFIG_SMBUS is not set
    
    #
    # Interrupt controller drivers
    #
    CONFIG_INTC_INIT_PRIORITY=40
    # CONFIG_MULTI_LEVEL_INTERRUPTS is not set
    # CONFIG_INTC_ESP32 is not set
    # end of Interrupt controller drivers
    
    # CONFIG_IPM is not set
    # CONFIG_LED is not set
    # CONFIG_LED_STRIP is not set
    # CONFIG_LORA is not set
    CONFIG_MBOX=y
    CONFIG_MBOX_INIT_PRIORITY=50
    # CONFIG_MDIO is not set
    # CONFIG_MIPI_DSI is not set
    
    #
    # Miscellaneous Drivers
    #
    # CONFIG_GROVE_LCD_RGB is not set
    # end of Miscellaneous Drivers
    
    # CONFIG_MM_DRV is not set
    # CONFIG_NEURAL_NET_ACCEL is not set
    # CONFIG_PCIE is not set
    # CONFIG_PCIE_ENDPOINT is not set
    # CONFIG_PECI is not set
    CONFIG_PINCTRL_STORE_REG=y
    # CONFIG_PINCTRL_DYNAMIC is not set
    CONFIG_PINCTRL_NRF=y
    # CONFIG_PM_CPU_OPS is not set
    # CONFIG_POWER_DOMAIN is not set
    # CONFIG_PS2 is not set
    # CONFIG_PTP_CLOCK is not set
    # CONFIG_PWM is not set
    # CONFIG_RETAINED_MEM is not set
    # CONFIG_RTC is not set
    # CONFIG_SDHC is not set
    
    #
    # Capabilities
    #
    CONFIG_UART_USE_RUNTIME_CONFIGURE=y
    # CONFIG_UART_LINE_CTRL is not set
    # CONFIG_UART_DRV_CMD is not set
    # CONFIG_UART_WIDE_DATA is not set
    # CONFIG_UART_PIPE is not set
    
    #
    # Serial Drivers
    #
    # CONFIG_SYSCON is not set
    
    #
    # Timer drivers
    #
    # CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME is not set
    # CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE is not set
    CONFIG_SYSTEM_CLOCK_INIT_PRIORITY=0
    CONFIG_TICKLESS_CAPABLE=y
    CONFIG_SYSTEM_TIMER_HAS_DISABLE_SUPPORT=y
    # CONFIG_NRF_RTC_TIMER_TRIGGER_OVERFLOW is not set
    # CONFIG_SYSTEM_CLOCK_NO_WAIT is not set
    # CONFIG_SYSTEM_CLOCK_WAIT_FOR_AVAILABILITY is not set
    CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY=y
    # end of Timer drivers
    
    # CONFIG_USB_BC12 is not set
    # CONFIG_UDC_DRIVER is not set
    # CONFIG_UVB is not set
    CONFIG_USB_DEVICE_DRIVER=y
    # CONFIG_USB_DC_HAS_HS_SUPPORT is not set
    CONFIG_USB_DEVICE_REMOTE_WAKEUP=y
    CONFIG_USB_NRFX=y
    CONFIG_USB_NRFX_EVT_QUEUE_SIZE=32
    CONFIG_USB_NRFX_WORK_QUEUE_STACK_SIZE=1024
    CONFIG_USB_NRFX_ATTACHED_EVENT_DELAY=0
    # CONFIG_USB_NATIVE_POSIX is not set
    # CONFIG_USBC_TCPC_DRIVER is not set
    # CONFIG_USBC_VBUS_DRIVER is not set
    # CONFIG_VIDEO is not set
    # CONFIG_VIRTUALIZATION is not set
    # CONFIG_W1 is not set
    # end of Device Drivers
    
    #
    # C Library
    #
    CONFIG_SUPPORT_MINIMAL_LIBC=y
    CONFIG_PICOLIBC_SUPPORTED=y
    CONFIG_MINIMAL_LIBC=y
    # CONFIG_PICOLIBC is not set
    # CONFIG_NEWLIB_LIBC is not set
    # CONFIG_EXTERNAL_LIBC is not set
    CONFIG_HAS_NEWLIB_LIBC_NANO=y
    CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y
    CONFIG_MINIMAL_LIBC_MALLOC=y
    CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=0
    CONFIG_MINIMAL_LIBC_CALLOC=y
    CONFIG_MINIMAL_LIBC_REALLOCARRAY=y
    # CONFIG_MINIMAL_LIBC_LL_PRINTF is not set
    CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE=y
    # CONFIG_MINIMAL_LIBC_RAND is not set
    CONFIG_MINIMAL_LIBC_TIME=y
    # CONFIG_MINIMAL_LIBC_STRING_ERROR_TABLE is not set
    CONFIG_NEED_LIBC_MEM_PARTITION=y
    # end of C Library
    
    #
    # C++ Language Support
    #
    # CONFIG_CPP is not set
    
    #
    # Deprecated
    #
    # CONFIG_CPLUSPLUS is not set
    # CONFIG_LIB_CPLUSPLUS is not set
    # end of Deprecated
    # end of C++ Language Support
    
    #
    # Additional libraries
    #
    
    #
    # Hash Function Support
    #
    # CONFIG_SYS_HASH_FUNC32 is not set
    # end of Hash Function Support
    
    #
    # Hashmap (Hash Table) Support
    #
    # CONFIG_SYS_HASH_MAP is not set
    # end of Hashmap (Hash Table) Support
    
    #
    # OS Support Library
    #
    # CONFIG_JSON_LIBRARY is not set
    # CONFIG_RING_BUFFER is not set
    CONFIG_NOTIFY=y
    # CONFIG_BASE64 is not set
    CONFIG_CRC=y
    # CONFIG_PRINTK_SYNC is not set
    # CONFIG_MPSC_PBUF is not set
    CONFIG_ONOFF=y
    # CONFIG_SPSC_PBUF is not set
    # CONFIG_SHARED_MULTI_HEAP is not set
    # CONFIG_WINSTREAM is not set
    CONFIG_REBOOT=y
    # CONFIG_UTF8 is not set
    CONFIG_CBPRINTF_COMPLETE=y
    # CONFIG_CBPRINTF_NANO is not set
    CONFIG_CBPRINTF_FULL_INTEGRAL=y
    # CONFIG_CBPRINTF_REDUCED_INTEGRAL is not set
    # CONFIG_CBPRINTF_FP_SUPPORT is not set
    # CONFIG_CBPRINTF_FP_A_SUPPORT is not set
    # CONFIG_CBPRINTF_FP_ALWAYS_A is not set
    CONFIG_CBPRINTF_N_SPECIFIER=y
    # CONFIG_CBPRINTF_LIBC_SUBSTS is not set
    # CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE is not set
    # CONFIG_CBPRINTF_STATIC_PACKAGE_CHECK_ALIGNMENT is not set
    
    #
    # Heap and Memory Allocation
    #
    # CONFIG_SYS_HEAP_VALIDATE is not set
    CONFIG_SYS_HEAP_ALLOC_LOOPS=3
    # CONFIG_SYS_HEAP_RUNTIME_STATS is not set
    # CONFIG_SYS_HEAP_LISTENER is not set
    # CONFIG_SYS_HEAP_SMALL_ONLY is not set
    # CONFIG_SYS_HEAP_BIG_ONLY is not set
    CONFIG_SYS_HEAP_AUTO=y
    # CONFIG_SYS_MEM_BLOCKS is not set
    # end of Heap and Memory Allocation
    # end of OS Support Library
    
    # CONFIG_POSIX_API is not set
    # CONFIG_POSIX_CLOCK is not set
    CONFIG_MAX_TIMER_COUNT=5
    CONFIG_TIMER_CREATE_WAIT=100
    # CONFIG_POSIX_MQUEUE is not set
    # CONFIG_EVENTFD is not set
    # CONFIG_FNMATCH is not set
    # CONFIG_OPENAMP_RSC_TABLE is not set
    # CONFIG_SMF is not set
    # end of Additional libraries
    
    #
    # Subsystems and OS Services
    #
    CONFIG_BT=y
    CONFIG_BT_HCI=y
    # CONFIG_BT_CUSTOM is not set
    CONFIG_BT_HCI_RAW=y
    # CONFIG_BT_HCI_RAW_H4 is not set
    CONFIG_BT_HCI_RAW_RESERVE=0
    # CONFIG_BT_HCI_RAW_CMD_EXT is not set
    CONFIG_BT_CONN_TX=y
    # CONFIG_BT_SCA_UPDATE is not set
    # CONFIG_BT_ISO_PERIPHERAL is not set
    # CONFIG_BT_ISO_CENTRAL is not set
    # CONFIG_BT_ISO_BROADCASTER is not set
    # CONFIG_BT_ISO_SYNC_RECEIVER is not set
    
    #
    # Bluetooth buffer configuration
    #
    # end of Bluetooth buffer configuration
    
    #
    # Bluetooth Host
    #
    # end of Bluetooth Host
    
    # CONFIG_BT_SHELL is not set
    # CONFIG_BT_EAD is not set
    CONFIG_BT_COMPANY_ID=0x05F1
    
    #
    # Controller Area Network (CAN) bus subsystem
    #
    # CONFIG_ISOTP is not set
    # end of Controller Area Network (CAN) bus subsystem
    
    # CONFIG_CONSOLE_SUBSYS is not set
    
    #
    # System Monitoring Options
    #
    # CONFIG_THREAD_ANALYZER is not set
    # end of System Monitoring Options
    
    #
    # Debugging Options
    #
    # CONFIG_DEBUG is not set
    # CONFIG_STACK_USAGE is not set
    # CONFIG_STACK_SENTINEL is not set
    CONFIG_PRINTK=y
    CONFIG_EARLY_CONSOLE=y
    # CONFIG_ASSERT is not set
    # CONFIG_FORCE_NO_ASSERT is not set
    CONFIG_ASSERT_VERBOSE=y
    # CONFIG_ASSERT_NO_FILE_INFO is not set
    # CONFIG_ASSERT_NO_COND_INFO is not set
    # CONFIG_ASSERT_NO_MSG_INFO is not set
    # CONFIG_ASSERT_TEST is not set
    # CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT is not set
    # CONFIG_DEBUG_INFO is not set
    # CONFIG_DEBUG_THREAD_INFO is not set
    # CONFIG_DEBUG_COREDUMP is not set
    # end of Debugging Options
    
    # CONFIG_DISK_ACCESS is not set
    # CONFIG_DSP is not set
    # CONFIG_EMUL is not set
    # CONFIG_CHARACTER_FRAMEBUFFER is not set
    
    #
    # File Systems
    #
    # CONFIG_FILE_SYSTEM is not set
    # CONFIG_NVS is not set
    # end of File Systems
    
    #
    # Inter Processor Communication
    #
    # CONFIG_RPMSG_SERVICE is not set
    CONFIG_IPC_SERVICE=y
    CONFIG_IPC_SERVICE_REG_BACKEND_PRIORITY=46
    CONFIG_IPC_SERVICE_BACKEND_RPMSG=y
    CONFIG_IPC_SERVICE_BACKEND_RPMSG_WQ_STACK_SIZE=1024
    CONFIG_IPC_SERVICE_BACKEND_RPMSG_NUM_ENDPOINTS_PER_INSTANCE=2
    CONFIG_IPC_SERVICE_RPMSG=y
    CONFIG_IPC_SERVICE_STATIC_VRINGS=y
    CONFIG_IPC_SERVICE_STATIC_VRINGS_ALIGNMENT=4
    # CONFIG_IPC_SERVICE_ICMSG is not set
    # CONFIG_IPC_SERVICE_ICMSG_ME is not set
    # end of Inter Processor Communication
    
    # CONFIG_JWT is not set
    
    #
    # Logging
    #
    # CONFIG_LOG is not set
    # CONFIG_LOG_OUTPUT is not set
    # end of Logging
    
    #
    # Device Management
    #
    
    #
    # Host command handler subsystem
    #
    # CONFIG_EC_HOST_CMD is not set
    # CONFIG_EC_HOST_CMD_BACKEND_SHI is not set
    # end of Host command handler subsystem
    
    # CONFIG_OSDP is not set
    # end of Device Management
    
    # CONFIG_MODBUS is not set
    
    #
    # Networking
    #
    CONFIG_NET_BUF=y
    # CONFIG_NET_BUF_LOG is not set
    # CONFIG_NET_BUF_POOL_USAGE is not set
    # CONFIG_NETWORKING is not set
    # end of Networking
    
    #
    # Power Management
    #
    # CONFIG_PM_S2RAM is not set
    CONFIG_PM_POLICY_DEFAULT=y
    # CONFIG_PM_POLICY_CUSTOM is not set
    # end of Power Management
    
    #
    # Portability
    #
    # end of Portability
    
    #
    # Random Number Generators
    #
    # CONFIG_TEST_RANDOM_GENERATOR is not set
    # end of Random Number Generators
    
    # CONFIG_RTIO is not set
    
    #
    # SD
    #
    # CONFIG_MMC_STACK is not set
    # CONFIG_SDMMC_STACK is not set
    # CONFIG_SDIO_STACK is not set
    # end of SD
    
    # CONFIG_SETTINGS is not set
    # CONFIG_SHELL is not set
    # CONFIG_STATS is not set
    
    #
    # Storage
    #
    # CONFIG_STREAM_FLASH is not set
    # end of Storage
    
    # CONFIG_TASK_WDT is not set
    
    #
    # Testing
    #
    # CONFIG_ZTEST is not set
    # CONFIG_ZTEST_MOCKING is not set
    # CONFIG_ZTRESS is not set
    # CONFIG_TEST is not set
    CONFIG_COVERAGE_GCOV_HEAP_SIZE=16384
    # CONFIG_TEST_USERSPACE is not set
    # end of Testing
    
    # CONFIG_TIMING_FUNCTIONS is not set
    # CONFIG_TRACING is not set
    CONFIG_USB_DEVICE_STACK=y
    CONFIG_USB_DEVICE_VID=0x2FE3
    CONFIG_USB_DEVICE_PID=0x000B
    CONFIG_USB_DEVICE_MANUFACTURER="ZEPHYR"
    CONFIG_USB_DEVICE_PRODUCT="RRX-UG-Carrier-USB"
    CONFIG_USB_DEVICE_SN="0123456789ABCDEF"
    # CONFIG_USB_COMPOSITE_DEVICE is not set
    CONFIG_USB_MAX_NUM_TRANSFERS=4
    CONFIG_USB_DEVICE_BLUETOOTH_BIG_BUF=y
    CONFIG_USB_REQUEST_BUFFER_SIZE=266
    CONFIG_USB_MAX_ALT_SETTING=8
    CONFIG_USB_NUMOF_EP_WRITE_RETRIES=3
    # CONFIG_USB_DEVICE_SOF is not set
    # CONFIG_USB_DEVICE_BOS is not set
    # CONFIG_USB_DEVICE_OS_DESC is not set
    CONFIG_USB_SELF_POWERED=y
    CONFIG_USB_MAX_POWER=50
    # CONFIG_USB_WORKQUEUE is not set
    
    #
    # USB CDC ACM Class support
    #
    # end of USB CDC ACM Class support
    
    # CONFIG_USB_MASS_STORAGE is not set
    CONFIG_USB_DEVICE_BLUETOOTH=y
    # CONFIG_USB_DEVICE_BLUETOOTH_VS_H4 is not set
    # CONFIG_USB_DEVICE_BT_H4 is not set
    # CONFIG_USB_DEVICE_LOOPBACK is not set
    
    #
    # USB Device Networking support
    #
    # CONFIG_USB_DEVICE_NETWORK_ECM is not set
    # CONFIG_USB_DEVICE_NETWORK_EEM is not set
    # CONFIG_USB_DEVICE_NETWORK_RNDIS is not set
    # end of USB Device Networking support
    
    # CONFIG_USB_DEVICE_HID is not set
    # CONFIG_USB_DEVICE_AUDIO is not set
    # CONFIG_USB_DEVICE_STACK_NEXT is not set
    # CONFIG_USB_HOST_STACK is not set
    # CONFIG_USBC_STACK is not set
    # CONFIG_ZBUS is not set
    # end of Subsystems and OS Services
    
    CONFIG_TOOLCHAIN_ZEPHYR_0_16=y
    CONFIG_TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE=y
    
    #
    # Build and Link Features
    #
    
    #
    # Linker Options
    #
    # CONFIG_LINKER_ORPHAN_SECTION_PLACE is not set
    CONFIG_LINKER_ORPHAN_SECTION_WARN=y
    # CONFIG_LINKER_ORPHAN_SECTION_ERROR is not set
    CONFIG_HAS_FLASH_LOAD_OFFSET=y
    CONFIG_USE_DT_CODE_PARTITION=y
    CONFIG_LD_LINKER_SCRIPT_SUPPORTED=y
    CONFIG_LD_LINKER_TEMPLATE=y
    # CONFIG_CMAKE_LINKER_GENERATOR is not set
    # CONFIG_HAVE_CUSTOM_LINKER_SCRIPT is not set
    CONFIG_KERNEL_ENTRY="__start"
    CONFIG_LINKER_SORT_BY_ALIGNMENT=y
    CONFIG_SRAM_OFFSET=0
    
    #
    # Linker Sections
    #
    # CONFIG_LINKER_USE_BOOT_SECTION is not set
    # CONFIG_LINKER_USE_PINNED_SECTION is not set
    CONFIG_LINKER_GENERIC_SECTIONS_PRESENT_AT_BOOT=y
    CONFIG_LINKER_LAST_SECTION_ID=y
    CONFIG_LINKER_LAST_SECTION_ID_PATTERN=0xE015E015
    CONFIG_LINKER_USE_RELAX=y
    # end of Linker Sections
    # end of Linker Options
    
    #
    # Compiler Options
    #
    # CONFIG_CODING_GUIDELINE_CHECK is not set
    # CONFIG_NATIVE_APPLICATION is not set
    CONFIG_COMPILER_FREESTANDING=y
    CONFIG_SIZE_OPTIMIZATIONS=y
    # CONFIG_SPEED_OPTIMIZATIONS is not set
    # CONFIG_DEBUG_OPTIMIZATIONS is not set
    # CONFIG_NO_OPTIMIZATIONS is not set
    # CONFIG_COMPILER_WARNINGS_AS_ERRORS is not set
    # CONFIG_COMPILER_SAVE_TEMPS is not set
    CONFIG_COMPILER_COLOR_DIAGNOSTICS=y
    CONFIG_FORTIFY_SOURCE_NONE=y
    # CONFIG_FORTIFY_SOURCE_COMPILE_TIME is not set
    # CONFIG_FORTIFY_SOURCE_RUN_TIME is not set
    CONFIG_COMPILER_OPT=""
    # CONFIG_MISRA_SANE is not set
    # end of Compiler Options
    
    # CONFIG_ASSERT_ON_ERRORS is not set
    # CONFIG_NO_RUNTIME_CHECKS is not set
    CONFIG_RUNTIME_ERROR_CHECKS=y
    
    #
    # Build Options
    #
    CONFIG_KERNEL_BIN_NAME="zephyr"
    CONFIG_OUTPUT_STAT=y
    # CONFIG_OUTPUT_SYMBOLS is not set
    CONFIG_OUTPUT_DISASSEMBLY=y
    # CONFIG_OUTPUT_DISASSEMBLE_ALL is not set
    CONFIG_OUTPUT_PRINT_MEMORY_USAGE=y
    # CONFIG_CLEANUP_INTERMEDIATE_FILES is not set
    # CONFIG_BUILD_NO_GAP_FILL is not set
    CONFIG_BUILD_OUTPUT_BIN=y
    # CONFIG_BUILD_OUTPUT_EXE is not set
    # CONFIG_BUILD_OUTPUT_S19 is not set
    # CONFIG_BUILD_OUTPUT_UF2 is not set
    # CONFIG_BUILD_OUTPUT_STRIPPED is not set
    # CONFIG_APPLICATION_DEFINED_SYSCALL is not set
    # CONFIG_MAKEFILE_EXPORTS is not set
    CONFIG_BUILD_OUTPUT_META=y
    # CONFIG_BUILD_OUTPUT_META_STATE_PROPAGATE is not set
    CONFIG_BUILD_OUTPUT_STRIP_PATHS=y
    # end of Build Options
    
    CONFIG_WARN_DEPRECATED=y
    CONFIG_ENFORCE_ZEPHYR_STDINT=y
    # end of Build and Link Features
    
    #
    # Boot Options
    #
    # CONFIG_IS_BOOTLOADER is not set
    CONFIG_MCUBOOT_CMAKE_WEST_SIGN_PARAMS="--quiet"
    CONFIG_MCUBOOT_SIGNATURE_KEY_FILE=""
    CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS=""
    # CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE is not set
    # CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE is not set
    # CONFIG_MCUBOOT_BOOTLOADER_MODE_SINGLE_APP is not set
    CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH=y
    # CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_SCRATCH is not set
    # CONFIG_MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP is not set
    # CONFIG_BOOTLOADER_BOSSA is not set
    # end of Boot Options
    
    #
    # Compatibility
    #
    CONFIG_COMPAT_INCLUDES=y
    # end of Compatibility

  • Hi,

     

    TCA9538 selects the PCA953x symbol in kconfig:

    https://github.com/nrfconnect/sdk-zephyr/blob/v3.5.99-ncs1-1/drivers/gpio/Kconfig.pca953x#L10

     

    You either need to disable the kconfig (CONFIG_GPIO_PCA953X=n) or enable i2c1 in device tree.

     

    Kind regards,

    Håkon

Related