MCUboot flash overflow

Hello,
I am encountering a flash overflow issue in MCUboot when enabling external flash over SPI. After configuring SPI memory in the .conf file and adding external flash support in the .dts file, the bootloader's memory usage increases. This leads to a compilation error, with the flash memory exceeding the allocated size by 7 kB. Below are the details of my setup.

Environment:

  • NCS Version: 2.7.0
  • Default MCUboot Size: 48 kB
  • Current MCUboot Memory Usage:
    • Without external flash (SPI/QSPI): ~43 kB
    • With external SPI flash defined (not used, only internal flash utilized in ): Overflow by 7 kB

Configurations and Files:

1. Device Tree (.dts)

chosen {
    zephyr,sram = &sram0;
    zephyr,flash = &flash0;
    zephyr,code-partition = &slot0_partition;
    nordic,pm-ext-flash = &mx25l12833f;
};
&spi1 {
    compatible = "nordic,nrf-spim";
    status = "okay";
    pinctrl-0 = <&spi1_default>;
    pinctrl-1 = <&spi1_sleep>;
    pinctrl-names = "default", "sleep";
    cs-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
    mx25l12833f: mx25l12833f@0 {
        compatible = "jedec,spi-nor";
        reg = <0>;
        spi-max-frequency = <8000000>;
        sfdp-bfp = [
            e5 20 19 00  /* SFDP Header */
            ff 00 ff 00  /* Erase Command, Write Granularity */
            eb 44 55 ff  /* 4KB Erase Command, Page Size */
            ff ff ff ff  /* Other Command Set */
        ];
        jedec-id = [ c2 20 18 ];
        size = <DT_SIZE_M(128)>;
        has-dpd;
        t-enter-dpd = <10000>;
        t-exit-dpd = <5000>;
        status = "okay";
    };
};
&flash0 {
    partitions {
        compatible = "fixed-partitions";
        #address-cells = <1>;
        #size-cells = <1>;
        boot_partition: partition@0 {
            label = "mcuboot";
            reg = <0x00000000 0xC000>;
        };
        slot0_partition: partition@C000 {
            label = "image-0";
            reg = <0x0000C000 0xE0000>;
        };
        storage_partition: partition@EC000 {
            label = "storage";
            reg = <0x000EC000 0x14000>;
        };
    };
};

2. Partition Manager (pm_static.yml)

external_flash:
  address: 0x0
  size: 0x1000000  # 16 MB
  device: DT_CHOSEN(nordic_pm_ext_flash)
  region: external_flash  
app:
  address: 0xc200
  region: flash_primary
  size: 0xE0E00
mcuboot:
  address: 0x0
  region: flash_primary
  size: 0xc000
mcuboot_pad:
  address: 0xc000
  region: flash_primary
  size: 0x200  # 48 KB
mcuboot_primary:
  address: 0xc000
  orig_span: &id001
  - mcuboot_pad
  - app
  region: flash_primary
  size: 0xE0000   # 920 KB
  span: *id001
mcuboot_primary_app:
  address: 0xc200
  orig_span: &id002
  - app
  region: flash_primary
  size: 0xEC000
  span: *id002
settings_storage:
  address: 0xEC000
  region: flash_primary
  size: 0x14000
mcuboot_secondary:
  address: 0xF20000
  size: 0xE0000   # 920 KB
  device: DT_CHOSEN(nordic_pm_ext_flash)
  placement:
    align:
      start: 0x4
  region: external_flash

3. Application Configuration (prj.conf)

# FLASH usage optimization
CONFIG_SIZE_OPTIMIZATIONS=y
CONFIG_COMPILER_OPT="-DNDEBUG"
CONFIG_MAIN_STACK_SIZE=8192
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_REBOOT=y
CONFIG_THREAD_NAME=y

# FPU
CONFIG_FPU=y
CONFIG_FP_HARDABI=y

CONFIG_GPIO=y
CONFIG_SPI=y
CONFIG_SERIAL=y
CONFIG_WATCHDOG=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_STREAM_FLASH=y

# Flash occupancy optimization
CONFIG_TIMESLICING=n
CONFIG_LOG=n
CONFIG_PRINTK=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_BOOT_BANNER=n
CONFIG_ASSERT=n
CONFIG_CONSOLE=n
CONFIG_EARLY_CONSOLE=n
CONFIG_DYNAMIC_INTERRUPTS=n

# Enable MCUMGR 
CONFIG_MCUMGR=y
CONFIG_IMG_MANAGER=y
CONFIG_ZCBOR=y

CONFIG_DISABLE_FLASH_PATCH=y

CONFIG_SPI_NOR_IDLE_IN_DPD=y
CONFIG_SPI_NOR=y
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096

# SYS CONFIG
CONFIG_SETTINGS=y
CONFIG_CPU_LOAD=y

# TIMER
CONFIG_NRFX_TIMER1=n

CONFIG_USB_CDC_TERMINAL=y
CONFIG_UART_ASYNC_API=n
CONFIG_USB_DEVICE_STACK=y
CONFIG_UART_LINE_CTRL=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

# Enable nordic security backend and PSA APIs
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=8192
CONFIG_PSA_WANT_GENERATE_RANDOM=y
CONFIG_PSA_WANT_KEY_TYPE_AES=y
CONFIG_PSA_WANT_ALG_CBC_NO_PADDING=y
CONFIG_PSA_WANT_ALG_ECB_NO_PADDING=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y

4. MCUboot Configuration (mcuboot.conf)

CONFIG_MULTITHREADING=y
CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_CONSOLE_HANDLER=n
CONFIG_FLASH=y


Problem: Defining external SPI flash in the configuration (even without actively using it for MCUboot) causes the bootloader size to increase by ~9 kB. This results in a compilation error due to flash memory overflow by ~7 kB. I suspect the issue lies in additional driver inclusion or configuration conflicts caused by enabling SPI flash.

Even with configuration of memory layout like below without using external memory for mcuboot, defining external memory over SPI in .dts causes flash overflow:

&flash0 {

	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		boot_partition: partition@0 {
			label = "mcuboot";
			reg = <0x000000000 0xC000>;
		};
		slot0_partition: partition@C000 {
			label = "image-0";
			reg = <0x0000C000 0x77000>;
		};
		slot1_partition: partition@83000 {
			label = "image-1";
			reg = <0x00083000 0x77000>;
		};
		storage_partition: partition@FA000 {
			label = "storage";
			reg = <0x000FA000 0x00006000>;
		};
	};
};

app:
  address: 0xc200
  region: flash_primary
  size: 0x77E00
mcuboot:
  address: 0x0
  region: flash_primary
  size: 0xc000
mcuboot_pad:
  address: 0xc000
  region: flash_primary
  size: 0x200
mcuboot_primary:
  address: 0xc000
  orig_span: &id001
  - mcuboot_pad
  - app
  region: flash_primary
  size: 0x77000
  span: *id001
mcuboot_primary_app:
  address: 0xc200
  orig_span: &id002
  - app
  region: flash_primary
  size: 0x83000
  span: *id002
mcuboot_secondary:
  address: 0x83000
  region: flash_primary
  size: 0x77000
settings_storage:
  address: 0xFA000
  region: flash_primary
  size: 0x6000

Questions:

  1. What could be causing this significant increase in MCUboot memory usage?
  2. Are there optimization steps or alternative configurations to mitigate this flash memory usage?
Parents
  • The memory footprint of the bootloader increases significantly when having the secondary mcuboot slot placed in external flash as it requires the bootloader to include the SPI NOR driver and to be configured with multithreading. However, since the secondary slot is placed in internal flash in your case, this should not be needed. 

    Do you need CONFIG_MULTITHREADING to be enabled in your case?

Reply
  • The memory footprint of the bootloader increases significantly when having the secondary mcuboot slot placed in external flash as it requires the bootloader to include the SPI NOR driver and to be configured with multithreading. However, since the secondary slot is placed in internal flash in your case, this should not be needed. 

    Do you need CONFIG_MULTITHREADING to be enabled in your case?

Children
  • In mcuboot I don't need CONFIG_MULTITHREADING but after disabling it I have compile errors: build/mcuboot/zephyr/include/generated/syscalls/kernel.h:1120: undefined reference to `z_impl_k_sem_give'

    So do I have to do something else ? In my main application I need CONFIG_MULTITHREADING cause I'm using mulitple threads.

  • It sounds like the SPI NOR driver is being selected. This has a dependency on `z_impl_k_sem_give'. To confirm this, you can check the generated .config file in build/mcuboot/zephyr. 

    I'm unsure where SPI NOR becomes selected in your case, but do you see the same if you set CONFIG_SPI and CONFIG_SPI_NOR to '=n' in your mcuboot.conf? 

  • After disabling SPI and SPI_NOR in mcuboot this is the generated .conf file:

    #
    # MCUboot-specific configuration options
    #
    # CONFIG_BOOT_USE_MIN_PARTITION_SIZE is not set
    CONFIG_PM_PARTITION_SIZE_MCUBOOT_SCRATCH=0x1e000
    CONFIG_PM_PARTITION_SIZE_MCUBOOT_PAD=0x200
    CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xc000
    CONFIG_MCUBOOT_NRF_CLEANUP_PERIPHERAL=y
    
    CONFIG_BOOT_ERASE_PROGRESSIVELY=y
    # CONFIG_BOOT_IMAGE_ACCESS_HOOKS is not set
    # CONFIG_MCUBOOT_CLEANUP_UNUSABLE_SECONDARY is not set
    CONFIG_MCUBOOT=y
    CONFIG_BOOT_USE_MBEDTLS=y
    CONFIG_NRFXLIB_CRYPTO=y
    # CONFIG_NRF_CC310_BL is not set
    
    #
    # MCUBoot settings
    #
    # CONFIG_SINGLE_APPLICATION_SLOT is not set
    # CONFIG_BOOT_SIGNATURE_TYPE_NONE is not set
    CONFIG_BOOT_SIGNATURE_TYPE_RSA=y
    CONFIG_BOOT_SIGNATURE_TYPE_RSA_LEN=2048
    # CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256 is not set
    # CONFIG_BOOT_SIGNATURE_TYPE_ED25519 is not set
    CONFIG_MCUBOOT_CLEANUP_ARM_CORE=y
    CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h"
    # CONFIG_BOOT_HW_KEY is not set
    CONFIG_BOOT_VALIDATE_SLOT0=y
    CONFIG_BOOT_PREFER_SWAP_MOVE=y
    # CONFIG_BOOT_SWAP_USING_SCRATCH is not set
    # CONFIG_BOOT_UPGRADE_ONLY is not set
    CONFIG_BOOT_SWAP_USING_MOVE=y
    # CONFIG_BOOT_DIRECT_XIP is not set
    # CONFIG_BOOT_RAM_LOAD is not set
    # CONFIG_BOOT_FIRMWARE_LOADER is not set
    # CONFIG_BOOT_BOOTSTRAP is not set
    CONFIG_BOOT_ENCRYPTION_SUPPORT=y
    # CONFIG_BOOT_ENCRYPT_IMAGE is not set
    CONFIG_BOOT_MAX_IMG_SECTORS=128
    CONFIG_BOOT_SHARE_BACKEND_DISABLED=y
    # CONFIG_BOOT_SHARE_BACKEND_EXTERNAL is not set
    CONFIG_BOOT_FIH_PROFILE_OFF=y
    # CONFIG_BOOT_FIH_PROFILE_LOW is not set
    # CONFIG_BOOT_FIH_PROFILE_MEDIUM is not set
    # CONFIG_BOOT_FIH_PROFILE_HIGH is not set
    CONFIG_BOOT_USB_DFU_NO=y
    # CONFIG_BOOT_USB_DFU_WAIT is not set
    # CONFIG_BOOT_USB_DFU_GPIO is not set
    # CONFIG_BOOT_USE_BENCH is not set
    # CONFIG_MCUBOOT_LOG_LEVEL_OFF is not set
    # CONFIG_MCUBOOT_LOG_LEVEL_ERR is not set
    # CONFIG_MCUBOOT_LOG_LEVEL_WRN is not set
    CONFIG_MCUBOOT_LOG_LEVEL_INF=y
    # CONFIG_MCUBOOT_LOG_LEVEL_DBG is not set
    # CONFIG_MCUBOOT_LOG_LEVEL_DEFAULT is not set
    CONFIG_MCUBOOT_LOG_LEVEL=3
    CONFIG_MCUBOOT_LOG_THREAD_STACK_SIZE=768
    # CONFIG_MCUBOOT_INDICATION_LED is not set
    # CONFIG_MCUBOOT_SERIAL is not set
    # CONFIG_BOOT_INTR_VEC_RELOC is not set
    CONFIG_UPDATEABLE_IMAGE_NUMBER=1
    CONFIG_BOOT_WATCHDOG_FEED=y
    # CONFIG_MCUBOOT_ACTION_HOOKS is not set
    # end of MCUBoot settings
    
    CONFIG_MCUBOOT_DEVICE_SETTINGS=y
    
    #
    # Zephyr configuration options
    #
    # CONFIG_MULTITHREADING is not set
    CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
    # CONFIG_INPUT is not set
    # CONFIG_WIFI is not set
    # CONFIG_MIPI_DSI is not set
    # CONFIG_MODEM is not set
    # CONFIG_SPI is not set
    CONFIG_NUM_IRQS=48
    CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768
    CONFIG_FLASH_SIZE=1024
    CONFIG_FLASH_BASE_ADDRESS=0x0
    CONFIG_MP_MAX_NUM_CPUS=1
    CONFIG_PLATFORM_SPECIFIC_INIT=y
    CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768
    CONFIG_ROM_START_OFFSET=0
    # CONFIG_PINCTRL is not set
    CONFIG_BUILD_OUTPUT_BIN=y
    CONFIG_XIP=y
    CONFIG_MAIN_STACK_SIZE=10240
    CONFIG_IDLE_STACK_SIZE=320
    CONFIG_HAS_FLASH_LOAD_OFFSET=y
    # CONFIG_SRAM_VECTOR_TABLE is not set
    CONFIG_CPU_HAS_ARM_MPU=y
    # CONFIG_COUNTER is not set
    # CONFIG_SHARED_INTERRUPTS is not set
    # CONFIG_PM_DEVICE is not set
    CONFIG_TICKLESS_KERNEL=y
    CONFIG_CLOCK_CONTROL_INIT_PRIORITY=30
    CONFIG_USE_DT_CODE_PARTITION=y
    CONFIG_FLASH_LOAD_OFFSET=0x0
    # CONFIG_FPU is not set
    # CONFIG_CODE_DATA_RELOCATION_SRAM is not set
    # CONFIG_GPIO is not set
    # CONFIG_SERIAL is not set
    # CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS is not set
    # CONFIG_TINYCRYPT is not set
    CONFIG_MBEDTLS=y
    # CONFIG_MEMC is not set
    CONFIG_KERNEL_ENTRY="__start"
    # CONFIG_MULTI_LEVEL_INTERRUPTS is not set
    # CONFIG_DYNAMIC_INTERRUPTS is not set
    # CONFIG_CACHE is not set
    CONFIG_LOG=y
    # CONFIG_CODE_DATA_RELOCATION is not set
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024
    CONFIG_DCACHE_LINE_SIZE=32
    CONFIG_GEN_IRQ_VECTOR_TABLE=y
    CONFIG_SOC="nrf52840"
    # CONFIG_RESET is not set
    CONFIG_ARCH_SW_ISR_TABLE_ALIGN=4
    CONFIG_NRF_RTC_TIMER=y
    CONFIG_LOG_DOMAIN_NAME=""
    CONFIG_BUILD_OUTPUT_HEX=y
    CONFIG_CLOCK_CONTROL=y
    CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT=y
    CONFIG_SOC_HAS_TIMING_FUNCTIONS=y
    # CONFIG_SYSCON is not set
    CONFIG_ENTROPY_INIT_PRIORITY=50
    CONFIG_FLASH_INIT_PRIORITY=50
    CONFIG_GEN_ISR_TABLES=y
    CONFIG_GEN_IRQ_START_VECTOR=0
    CONFIG_GEN_SW_ISR_TABLE=y
    CONFIG_SRAM_OFFSET=0
    # CONFIG_REBOOT is not set
    # CONFIG_POWER_DOMAIN is not set
    # CONFIG_CONSOLE is not set
    CONFIG_SOC_SERIES="nrf52"
    CONFIG_ARCH_IRQ_VECTOR_TABLE_ALIGN=4
    # CONFIG_SPI_NOR is not set
    CONFIG_ISR_STACK_SIZE=2048
    CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE=y
    # CONFIG_SCHED_CPU_MASK is not set
    # CONFIG_WATCHDOG is not set
    CONFIG_ICACHE_LINE_SIZE=32
    
    #
    # Devicetree Info
    #
    CONFIG_DT_HAS_ARM_ARMV7M_ITM_ENABLED=y
    CONFIG_DT_HAS_ARM_CORTEX_M4F_ENABLED=y
    CONFIG_DT_HAS_ARM_CRYPTOCELL_310_ENABLED=y
    CONFIG_DT_HAS_ARM_V7M_NVIC_ENABLED=y
    CONFIG_DT_HAS_FIXED_PARTITIONS_ENABLED=y
    CONFIG_DT_HAS_JEDEC_SPI_NOR_ENABLED=y
    CONFIG_DT_HAS_MMIO_SRAM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_ACL_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CCM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CLOCK_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_ECB_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_GPIOTE_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPREGRET_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_MWU_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PINCTRL_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_POWER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PPI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RADIO_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RNG_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SPI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SPIM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SWI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_TEMP_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_UARTE_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_UICR_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_USBD_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_WDT_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED=y
    CONFIG_DT_HAS_SOC_NV_FLASH_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_BT_HCI_ENTROPY_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_CDC_ACM_UART_ENABLED=y
    # end of Devicetree Info
    
    #
    # Modules
    #
    
    #
    # Available modules.
    #
    
    #
    # nrf (/root/ncs/v2.7.0/nrf)
    #
    # CONFIG_MBOX is not set
    CONFIG_NUM_METAIRQ_PRIORITIES=0
    # CONFIG_INIT_STACKS is not set
    CONFIG_MPSL_WORK_STACK_SIZE=1024
    # CONFIG_MBEDTLS_ENABLE_HEAP is not set
    
    #
    # Nordic nRF Connect
    #
    CONFIG_WARN_EXPERIMENTAL=y
    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
    
    #
    # Image build variants
    #
    CONFIG_NCS_MCUBOOT_IN_BUILD=y
    # end of Image build variants
    
    #
    # Subsystems
    #
    
    #
    # Bootloader
    #
    # CONFIG_BUILD_S1_VARIANT is not set
    # CONFIG_SECURE_BOOT is not set
    CONFIG_PM_PARTITION_SIZE_PROVISION=0x1000
    # CONFIG_B0_MIN_PARTITION_SIZE is not set
    CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x8000
    # CONFIG_IS_SECURE_BOOTLOADER is not set
    CONFIG_IS_BOOTLOADER_IMG=y
    # 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
    
    # CONFIG_SECURE_BOOT_STORAGE is not set
    # end of Bootloader
    
    #
    # Bluetooth Low Energy
    #
    CONFIG_SYSTEM_WORKQUEUE_PRIORITY=-2
    
    #
    # BLE over nRF RPC
    #
    CONFIG_HEAP_MEM_POOL_SIZE=0
    # 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
    # CONFIG_EMDS is not set
    
    #
    # Peripheral CPU DFU (PCD)
    #
    # CONFIG_PCD is not set
    # CONFIG_PCD_APP is not set
    CONFIG_PCD_VERSION_PAGE_BUF_SIZE=2046
    # 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_FOTA_USE_NRF_CLOUD_SETTINGS_AREA=y
    CONFIG_FOTA_DL_TIMEOUT_MIN=15
    # CONFIG_NRF_CLOUD_FOTA_FULL_MODEM_UPDATE is not set
    # CONFIG_NRF_CLOUD_REST is not set
    # CONFIG_NRF_CLOUD_LOCATION_PARSE_ANCHORS is not set
    # CONFIG_NRF_CLOUD_ALERT is not set
    # CONFIG_NRF_CLOUD_ALERT_LOG_LEVEL_OFF is not set
    # CONFIG_NRF_CLOUD_ALERT_LOG_LEVEL_ERR is not set
    # CONFIG_NRF_CLOUD_ALERT_LOG_LEVEL_WRN is not set
    # CONFIG_NRF_CLOUD_ALERT_LOG_LEVEL_INF is not set
    # CONFIG_NRF_CLOUD_ALERT_LOG_LEVEL_DBG is not set
    CONFIG_NRF_CLOUD_ALERT_LOG_LEVEL_DEFAULT=y
    CONFIG_NRF_CLOUD_ALERT_LOG_LEVEL=0
    CONFIG_NRF_CLOUD_LOG_OUTPUT_LEVEL=1
    # CONFIG_NRF_CLOUD_LOG_INCLUDE_LEVEL_0 is not set
    CONFIG_NRF_CLOUD_LOG_BUF_SIZE=256
    # CONFIG_NRF_CLOUD_LOG_LOG_LEVEL_OFF is not set
    # CONFIG_NRF_CLOUD_LOG_LOG_LEVEL_ERR is not set
    # CONFIG_NRF_CLOUD_LOG_LOG_LEVEL_WRN is not set
    # CONFIG_NRF_CLOUD_LOG_LOG_LEVEL_INF is not set
    # CONFIG_NRF_CLOUD_LOG_LOG_LEVEL_DBG is not set
    CONFIG_NRF_CLOUD_LOG_LOG_LEVEL_DEFAULT=y
    CONFIG_NRF_CLOUD_LOG_LOG_LEVEL=0
    # CONFIG_NRF_CLOUD_COAP is not set
    
    #
    # Send shadow info sections on initial connect (MQTT/CoAP)
    #
    # end of Send shadow info sections on initial connect (MQTT/CoAP)
    
    # CONFIG_NRF_CLOUD_GATEWAY is not set
    # CONFIG_NRF_CLOUD_LOG_LEVEL_OFF is not set
    # CONFIG_NRF_CLOUD_LOG_LEVEL_ERR is not set
    # CONFIG_NRF_CLOUD_LOG_LEVEL_WRN is not set
    # CONFIG_NRF_CLOUD_LOG_LEVEL_INF is not set
    # CONFIG_NRF_CLOUD_LOG_LEVEL_DBG is not set
    CONFIG_NRF_CLOUD_LOG_LEVEL_DEFAULT=y
    CONFIG_NRF_CLOUD_LOG_LEVEL=0
    # 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
    # CONFIG_NRF_MCUMGR_SMP_CLIENT 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
    
    #
    # Multiprotocol service layer (MPSL)
    #
    # CONFIG_MPSL_FEM_ONLY is not set
    # CONFIG_MPSL_FEM_DEVICE_CONFIG_254 is not set
    # CONFIG_MPSL_FEM_LOG_LEVEL_OFF is not set
    # CONFIG_MPSL_FEM_LOG_LEVEL_ERR is not set
    # CONFIG_MPSL_FEM_LOG_LEVEL_WRN is not set
    # CONFIG_MPSL_FEM_LOG_LEVEL_INF is not set
    # CONFIG_MPSL_FEM_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_FEM_LOG_LEVEL_DEFAULT=y
    CONFIG_MPSL_FEM_LOG_LEVEL=0
    CONFIG_MPSL_THREAD_COOP_PRIO=8
    CONFIG_MPSL_TIMESLOT_SESSION_COUNT=0
    # CONFIG_MPSL_ASSERT_HANDLER is not set
    CONFIG_MPSL_LOW_PRIO_IRQN=25
    # CONFIG_MPSL_LOG_LEVEL_OFF is not set
    # CONFIG_MPSL_LOG_LEVEL_ERR is not set
    # CONFIG_MPSL_LOG_LEVEL_WRN is not set
    # CONFIG_MPSL_LOG_LEVEL_INF is not set
    # CONFIG_MPSL_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_LOG_LEVEL_DEFAULT=y
    CONFIG_MPSL_LOG_LEVEL=0
    # end of Multiprotocol service layer (MPSL)
    
    #
    # Partition Manager
    #
    CONFIG_PARTITION_MANAGER_ENABLED=y
    CONFIG_FLASH_MAP_CUSTOM=y
    CONFIG_SRAM_SIZE=256
    CONFIG_SRAM_BASE_ADDRESS=0x20000000
    
    #
    # Zephyr subsystem configurations
    #
    # end of Zephyr subsystem configurations
    
    #
    # NCS subsystem configurations
    #
    # CONFIG_PM_SINGLE_IMAGE is not set
    CONFIG_PM_EXTERNAL_FLASH_BASE=0
    CONFIG_PM_EXTERNAL_FLASH_ENABLED=y
    CONFIG_PM_EXTERNAL_FLASH_PATH="/soc/spi@40004000/mx25l12833f@0"
    CONFIG_PM_EXTERNAL_FLASH_SIZE_BITS=134217728
    CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
    # CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK is not set
    CONFIG_PM_SRAM_BASE=0x20000000
    CONFIG_PM_SRAM_SIZE=0x40000
    # 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)
    #
    # CONFIG_MGMT_FMFU_LOG_LEVEL_OFF is not set
    # CONFIG_MGMT_FMFU_LOG_LEVEL_ERR is not set
    # CONFIG_MGMT_FMFU_LOG_LEVEL_WRN is not set
    # CONFIG_MGMT_FMFU_LOG_LEVEL_INF is not set
    # CONFIG_MGMT_FMFU_LOG_LEVEL_DBG is not set
    CONFIG_MGMT_FMFU_LOG_LEVEL_DEFAULT=y
    CONFIG_MGMT_FMFU_LOG_LEVEL=0
    # end of Full Modem Firmware Update Management(FMFU)
    
    #
    # SUIT-based Firmware Update Management
    #
    CONFIG_MGMT_SUITFU_TRIGGER_UPDATE_RESET_DELAY_MS=100
    CONFIG_MGMT_SUITFU_AUTO_REGISTER_HANDLERS=y
    CONFIG_MGMT_SUITFU_GRP_IMG=y
    CONFIG_MGMT_SUITFU_IMAGE_NUMBER=0
    # CONFIG_MGMT_SUITFU_GRP_SUIT is not set
    # CONFIG_MGMT_SUITFU_LOG_LEVEL_OFF is not set
    # CONFIG_MGMT_SUITFU_LOG_LEVEL_ERR is not set
    # CONFIG_MGMT_SUITFU_LOG_LEVEL_WRN is not set
    # CONFIG_MGMT_SUITFU_LOG_LEVEL_INF is not set
    # CONFIG_MGMT_SUITFU_LOG_LEVEL_DBG is not set
    CONFIG_MGMT_SUITFU_LOG_LEVEL_DEFAULT=y
    CONFIG_MGMT_SUITFU_LOG_LEVEL=0
    # end of SUIT-based Firmware Update Management
    
    # CONFIG_CAF is not set
    
    #
    # Nordic IEEE 802.15.4
    #
    # end of Nordic IEEE 802.15.4
    
    # CONFIG_DM_MODULE is not set
    
    #
    # nRF Security
    #
    # CONFIG_NORDIC_SECURITY_BACKEND is not set
    # CONFIG_NRF_SECURITY is not set
    # CONFIG_MBEDTLS_MEMORY_DEBUG is not set
    # CONFIG_PSA_WANT_GENERATE_RANDOM is not set
    # CONFIG_PSA_WANT_ALG_CTR_DRBG is not set
    # CONFIG_PSA_WANT_ALG_HMAC_DRBG is not set
    # CONFIG_PSA_WANT_KEY_TYPE_DERIVE is not set
    # CONFIG_PSA_WANT_KEY_TYPE_RAW_DATA is not set
    # CONFIG_PSA_WANT_KEY_TYPE_HMAC is not set
    # CONFIG_PSA_WANT_KEY_TYPE_PASSWORD is not set
    # CONFIG_PSA_WANT_KEY_TYPE_PASSWORD_HASH is not set
    # CONFIG_PSA_WANT_KEY_TYPE_PEPPER is not set
    # CONFIG_PSA_WANT_KEY_TYPE_AES is not set
    # CONFIG_PSA_WANT_KEY_TYPE_ARIA is not set
    # CONFIG_PSA_WANT_KEY_TYPE_DES is not set
    # CONFIG_PSA_WANT_KEY_TYPE_CAMELLIA is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SM4 is not set
    # CONFIG_PSA_WANT_KEY_TYPE_ARC4 is not set
    # CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR is not set
    # CONFIG_PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY is not set
    # CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT is not set
    # CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT is not set
    # CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE is not set
    # CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE is not set
    # CONFIG_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR is not set
    # CONFIG_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY is not set
    # CONFIG_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT is not set
    # CONFIG_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT is not set
    # CONFIG_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE is not set
    # CONFIG_PSA_WANT_KEY_TYPE_DH_KEY_PAIR is not set
    # CONFIG_PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SPAKE2P_KEY_PAIR_IMPORT is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SPAKE2P_KEY_PAIR_EXPORT is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SPAKE2P_KEY_PAIR_DERIVE is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SPAKE2P_KEY_PAIR is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SPAKE2P_PUBLIC_KEY is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SRP_KEY_PAIR_IMPORT is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SRP_KEY_PAIR_EXPORT is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SRP_KEY_PAIR_DERIVE is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SRP_PUBLIC_KEY is not set
    # CONFIG_PSA_WANT_KEY_TYPE_SRP_KEY_PAIR is not set
    # CONFIG_PSA_WANT_ALG_CCM is not set
    # CONFIG_PSA_WANT_ALG_GCM is not set
    # CONFIG_PSA_WANT_ALG_CHACHA20_POLY1305 is not set
    # CONFIG_PSA_WANT_ALG_CBC_MAC is not set
    # CONFIG_PSA_WANT_ALG_CMAC is not set
    # CONFIG_PSA_WANT_ALG_HMAC is not set
    # CONFIG_PSA_WANT_ALG_SHA_1 is not set
    # CONFIG_PSA_WANT_ALG_SHA_224 is not set
    # CONFIG_PSA_WANT_ALG_SHA_384 is not set
    # CONFIG_PSA_WANT_ALG_SHA_512 is not set
    # CONFIG_PSA_WANT_ALG_SHA_512_224 is not set
    # CONFIG_PSA_WANT_ALG_SHA_512_256 is not set
    # CONFIG_PSA_WANT_ALG_SHA3_224 is not set
    # CONFIG_PSA_WANT_ALG_SHA3_256 is not set
    # CONFIG_PSA_WANT_ALG_SHA3_384 is not set
    # CONFIG_PSA_WANT_ALG_SHA3_512 is not set
    # CONFIG_PSA_WANT_ALG_SM3 is not set
    # CONFIG_PSA_WANT_ALG_SHAKE256_512 is not set
    # CONFIG_PSA_WANT_ALG_RIPEMD160 is not set
    # CONFIG_PSA_WANT_ALG_MD2 is not set
    # CONFIG_PSA_WANT_ALG_MD4 is not set
    # CONFIG_PSA_WANT_ALG_MD5 is not set
    # CONFIG_PSA_WANT_ALG_ECB_NO_PADDING is not set
    # CONFIG_PSA_WANT_ALG_CBC_NO_PADDING is not set
    # CONFIG_PSA_WANT_ALG_CBC_PKCS7 is not set
    # CONFIG_PSA_WANT_ALG_CFB is not set
    # CONFIG_PSA_WANT_ALG_CTR is not set
    # CONFIG_PSA_WANT_ALG_OFB is not set
    # CONFIG_PSA_WANT_ALG_XTS is not set
    # CONFIG_PSA_WANT_ALG_CCM_STAR_NO_TAG is not set
    # CONFIG_PSA_WANT_ALG_STREAM_CIPHER is not set
    # CONFIG_PSA_WANT_ALG_ECDH is not set
    # CONFIG_PSA_WANT_ALG_FFDH is not set
    # CONFIG_PSA_WANT_ALG_HKDF_EXTRACT is not set
    # CONFIG_PSA_WANT_ALG_HKDF_EXPAND is not set
    # CONFIG_PSA_WANT_ALG_ECDSA is not set
    # CONFIG_PSA_WANT_ALG_ECDSA_ANY is not set
    # CONFIG_PSA_WANT_ALG_DETERMINISTIC_ECDSA is not set
    # CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_160 is not set
    # CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_192 is not set
    # CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_224 is not set
    # CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_256 is not set
    # CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_320 is not set
    # CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_384 is not set
    # CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_512 is not set
    # CONFIG_PSA_WANT_ECC_MONTGOMERY_255 is not set
    # CONFIG_PSA_WANT_ECC_MONTGOMERY_448 is not set
    # CONFIG_PSA_WANT_ECC_TWISTED_EDWARDS_255 is not set
    # CONFIG_PSA_WANT_ECC_TWISTED_EDWARDS_448 is not set
    # CONFIG_PSA_WANT_ECC_SECP_K1_192 is not set
    # CONFIG_PSA_WANT_ECC_SECP_K1_224 is not set
    # CONFIG_PSA_WANT_ECC_SECP_K1_256 is not set
    # CONFIG_PSA_WANT_ECC_SECP_R1_192 is not set
    # CONFIG_PSA_WANT_ECC_SECP_R1_224 is not set
    # CONFIG_PSA_WANT_ECC_SECP_R1_256 is not set
    # CONFIG_PSA_WANT_ECC_SECP_R1_384 is not set
    # CONFIG_PSA_WANT_ECC_SECP_R1_521 is not set
    # CONFIG_PSA_WANT_ECC_SECP_R2_160 is not set
    # CONFIG_PSA_WANT_ECC_SECT_K1_163 is not set
    # CONFIG_PSA_WANT_ECC_SECT_K1_233 is not set
    # CONFIG_PSA_WANT_ECC_SECT_K1_239 is not set
    # CONFIG_PSA_WANT_ECC_SECT_K1_283 is not set
    # CONFIG_PSA_WANT_ECC_SECT_K1_409 is not set
    # CONFIG_PSA_WANT_ECC_SECT_K1_571 is not set
    # CONFIG_PSA_WANT_ECC_SECT_R1_163 is not set
    # CONFIG_PSA_WANT_ECC_SECT_R1_233 is not set
    # CONFIG_PSA_WANT_ECC_SECT_R1_283 is not set
    # CONFIG_PSA_WANT_ECC_SECT_R1_409 is not set
    # CONFIG_PSA_WANT_ECC_SECT_R1_571 is not set
    # CONFIG_PSA_WANT_ECC_SECT_R2_163 is not set
    # CONFIG_PSA_WANT_ECC_FRP_V1_256 is not set
    # CONFIG_PSA_WANT_ALG_RSA_OAEP is not set
    # CONFIG_PSA_WANT_ALG_RSA_PKCS1V15_CRYPT is not set
    # CONFIG_PSA_WANT_ALG_RSA_PKCS1V15_SIGN is not set
    # CONFIG_PSA_WANT_ALG_RSA_PKCS1V15_SIGN_RAW is not set
    # CONFIG_PSA_WANT_ALG_RSA_PSS is not set
    # CONFIG_PSA_WANT_ALG_RSA_PSS_ANY_SALT is not set
    # CONFIG_PSA_WANT_ALG_JPAKE is not set
    # CONFIG_PSA_WANT_ALG_SPAKE2P_HMAC is not set
    # CONFIG_PSA_WANT_ALG_SPAKE2P_CMAC is not set
    # CONFIG_PSA_WANT_ALG_SPAKE2P_MATTER is not set
    # CONFIG_PSA_WANT_ALG_SRP_6 is not set
    # CONFIG_PSA_WANT_ALG_SRP_PASSWORD_HASH is not set
    # CONFIG_PSA_WANT_ALG_PURE_EDDSA is not set
    # CONFIG_PSA_WANT_ALG_ED25519PH is not set
    # CONFIG_PSA_WANT_ALG_ED448PH is not set
    # end of nRF Security
    
    #
    # Audio Module
    #
    # CONFIG_AUDIO_MODULE_TEST is not set
    CONFIG_AUDIO_MODULE_NAME_SIZE=20
    # CONFIG_AUDIO_MODULE_LOG_LEVEL_OFF is not set
    # CONFIG_AUDIO_MODULE_LOG_LEVEL_ERR is not set
    # CONFIG_AUDIO_MODULE_LOG_LEVEL_WRN is not set
    # CONFIG_AUDIO_MODULE_LOG_LEVEL_INF is not set
    # CONFIG_AUDIO_MODULE_LOG_LEVEL_DBG is not set
    CONFIG_AUDIO_MODULE_LOG_LEVEL_DEFAULT=y
    CONFIG_AUDIO_MODULE_LOG_LEVEL=0
    # end of Audio Module
    
    # CONFIG_TRUSTED_STORAGE is not set
    
    #
    # SUIT provisioning
    #
    # CONFIG_SUIT_MPI_GENERATE is not set
    # end of SUIT provisioning
    
    # CONFIG_SUIT is not set
    # CONFIG_MBEDTLS_ZEPHYR_ENTROPY is not set
    # end of Subsystems
    
    # CONFIG_WPA_SUPP is not set
    CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
    CONFIG_POSIX_MAX_FDS=4
    # CONFIG_WFA_QT_LOG_LEVEL_OFF is not set
    # CONFIG_WFA_QT_LOG_LEVEL_ERR is not set
    # CONFIG_WFA_QT_LOG_LEVEL_WRN is not set
    # CONFIG_WFA_QT_LOG_LEVEL_INF is not set
    # CONFIG_WFA_QT_LOG_LEVEL_DBG is not set
    CONFIG_WFA_QT_LOG_LEVEL_DEFAULT=y
    CONFIG_WFA_QT_LOG_LEVEL=0
    # CONFIG_WFA_QT_CONTROL_APP is not set
    CONFIG_WFA_QT_THREAD_STACK_SIZE=4096
    CONFIG_WFA_QT_REBOOT_TIMEOUT_MS=1000
    CONFIG_WFA_QT_DEFAULT_INTERFACE="nordic_wlan0"
    CONFIG_WPAS_READY_TIMEOUT_MS=10000
    
    #
    # Libraries
    #
    
    #
    # Binary libraries
    #
    # end of Binary libraries
    
    # CONFIG_AT_MONITOR is not set
    CONFIG_FLASH_PATCH_WARN=y
    # CONFIG_LTE_LINK_CONTROL is not set
    CONFIG_NRF_ACL_FLASH_REGION_SIZE=0x1000
    CONFIG_FPROTECT_BLOCK_SIZE=0x1000
    CONFIG_FPROTECT=y
    # CONFIG_FPROTECT_APP 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 is not set
    # CONFIG_SMS 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_LOAD is not set
    CONFIG_HW_UNIQUE_KEY_SUPPORTED=y
    CONFIG_HW_UNIQUE_KEY_PARTITION_SIZE=0x1000
    # CONFIG_MODEM_JWT is not set
    # CONFIG_LOCATION 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
    # CONFIG_SAMPLE_RATE_CONVERTER is not set
    CONFIG_NCS_BOOT_BANNER=y
    CONFIG_NCS_APPLICATION_BOOT_BANNER_STRING="MCUboot"
    CONFIG_NCS_NCS_BOOT_BANNER_STRING="nRF Connect SDK"
    CONFIG_NCS_ZEPHYR_BOOT_BANNER_STRING="Zephyr OS"
    # end of Libraries
    
    #
    # Device Drivers
    #
    # CONFIG_BT_DRIVER_QUIRK_NO_AUTO_DLE is not set
    CONFIG_ENTROPY_CC3XX=y
    CONFIG_HW_CC3XX=y
    # CONFIG_ETH_RTT is not set
    # CONFIG_SENSOR is not set
    # CONFIG_NRF_SW_LPUART is not set
    CONFIG_NRFX_GPIOTE_NUM_OF_EVT_HANDLERS=1
    # CONFIG_FLASH_RPC 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 (/root/ncs/v2.7.0/nrf)
    
    #
    # mcuboot (/root/ncs/v2.7.0/bootloader/mcuboot)
    #
    
    #
    # MCUboot
    #
    CONFIG_SIGN_IMAGES=y
    CONFIG_DT_FLASH_WRITE_BLOCK_SIZE=4
    CONFIG_MCUBOOT_USB_SUPPORT=y
    # end of MCUboot
    
    CONFIG_ZEPHYR_MCUBOOT_MODULE=y
    # end of mcuboot (/root/ncs/v2.7.0/bootloader/mcuboot)
    
    #
    # mbedtls (/root/ncs/v2.7.0/modules/crypto/mbedtls)
    #
    CONFIG_ZEPHYR_MBEDTLS_MODULE=y
    
    #
    # PSA RNG support
    #
    # end of PSA RNG support
    
    #
    # PSA key type support
    #
    # end of PSA key type support
    
    #
    # PSA AEAD support
    #
    # end of PSA AEAD support
    
    #
    # PSA MAC support
    #
    # end of PSA MAC support
    
    #
    # PSA Hash support
    #
    # end of PSA Hash support
    
    #
    # PSA Cipher support
    #
    # end of PSA Cipher support
    
    #
    # PSA Key agreement support
    #
    # end of PSA Key agreement support
    
    #
    # PSA Key derivation support
    #
    # end of PSA Key derivation support
    
    #
    # PSA Asymmetric support
    #
    
    #
    # Elliptic Curve type support
    #
    # end of Elliptic Curve type support
    # end of PSA Asymmetric support
    
    CONFIG_MBEDTLS_BUILTIN=y
    # CONFIG_MBEDTLS_LIBRARY is not set
    # CONFIG_CUSTOM_MBEDTLS_CFG_FILE is not set
    CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=1500
    # CONFIG_MBEDTLS_LOG_LEVEL_OFF is not set
    # CONFIG_MBEDTLS_LOG_LEVEL_ERR is not set
    # CONFIG_MBEDTLS_LOG_LEVEL_WRN is not set
    # CONFIG_MBEDTLS_LOG_LEVEL_INF is not set
    # CONFIG_MBEDTLS_LOG_LEVEL_DBG is not set
    CONFIG_MBEDTLS_LOG_LEVEL_DEFAULT=y
    CONFIG_MBEDTLS_LOG_LEVEL=0
    # CONFIG_MBEDTLS_DEBUG is not set
    # CONFIG_MBEDTLS_TEST is not set
    CONFIG_MBEDTLS_INIT=y
    # CONFIG_MBEDTLS_ZEROIZE_ALT is not set
    CONFIG_APP_LINK_WITH_MBEDTLS=y
    # end of mbedtls (/root/ncs/v2.7.0/modules/crypto/mbedtls)
    
    #
    # oberon-psa-crypto (/root/ncs/v2.7.0/modules/crypto/oberon-psa-crypto)
    #
    CONFIG_ZEPHYR_OBERON_PSA_CRYPTO_MODULE=y
    # end of oberon-psa-crypto (/root/ncs/v2.7.0/modules/crypto/oberon-psa-crypto)
    
    #
    # trusted-firmware-m (/root/ncs/v2.7.0/modules/tee/tf-m/trusted-firmware-m)
    #
    CONFIG_ZEPHYR_TRUSTED_FIRMWARE_M_MODULE=y
    # end of trusted-firmware-m (/root/ncs/v2.7.0/modules/tee/tf-m/trusted-firmware-m)
    
    CONFIG_ZEPHYR_PSA_ARCH_TESTS_MODULE=y
    CONFIG_ZEPHYR_SOC_HWMV1_MODULE=y
    
    #
    # cjson (/root/ncs/v2.7.0/modules/lib/cjson)
    #
    CONFIG_ZEPHYR_CJSON_MODULE=y
    # end of cjson (/root/ncs/v2.7.0/modules/lib/cjson)
    
    #
    # azure-sdk-for-c (/root/ncs/v2.7.0/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 (/root/ncs/v2.7.0/modules/lib/azure-sdk-for-c)
    
    #
    # cirrus-logic (/root/ncs/v2.7.0/modules/hal/cirrus-logic)
    #
    # CONFIG_HW_CODEC_CIRRUS_LOGIC is not set
    CONFIG_ZEPHYR_CIRRUS_LOGIC_MODULE=y
    # end of cirrus-logic (/root/ncs/v2.7.0/modules/hal/cirrus-logic)
    
    #
    # openthread (/root/ncs/v2.7.0/modules/lib/openthread)
    #
    # CONFIG_OPENTHREAD is not set
    CONFIG_ZEPHYR_OPENTHREAD_MODULE=y
    # end of openthread (/root/ncs/v2.7.0/modules/lib/openthread)
    
    #
    # suit-generator (/root/ncs/v2.7.0/modules/lib/suit-generator)
    #
    CONFIG_SUIT_ENVELOPE_TEMPLATE=""
    CONFIG_SUIT_ENVELOPE_TARGET=""
    CONFIG_SUIT_ENVELOPE_OUTPUT_ARTIFACT="merged.hex"
    CONFIG_SUIT_ENVELOPE_OUTPUT_MPI_MERGE=y
    # CONFIG_SUIT_LOCAL_ENVELOPE_GENERATE is not set
    CONFIG_ZEPHYR_SUIT_GENERATOR_MODULE=y
    # end of suit-generator (/root/ncs/v2.7.0/modules/lib/suit-generator)
    
    #
    # suit-processor (/root/ncs/v2.7.0/modules/lib/suit-processor)
    #
    # CONFIG_SUIT_PROCESSOR is not set
    CONFIG_SUIT_PLATFORM_DRY_RUN_SUPPORT=y
    CONFIG_ZEPHYR_SUIT_PROCESSOR_MODULE=y
    # end of suit-processor (/root/ncs/v2.7.0/modules/lib/suit-processor)
    
    #
    # memfault-firmware-sdk (/root/ncs/v2.7.0/modules/lib/memfault-firmware-sdk)
    #
    # CONFIG_MEMFAULT is not set
    CONFIG_ZEPHYR_MEMFAULT_FIRMWARE_SDK_MODULE=y
    # end of memfault-firmware-sdk (/root/ncs/v2.7.0/modules/lib/memfault-firmware-sdk)
    
    #
    # coremark (/root/ncs/v2.7.0/modules/benchmark/coremark)
    #
    # CONFIG_COREMARK is not set
    CONFIG_ZEPHYR_COREMARK_MODULE=y
    # end of coremark (/root/ncs/v2.7.0/modules/benchmark/coremark)
    
    #
    # canopennode (/root/ncs/v2.7.0/modules/lib/canopennode)
    #
    CONFIG_ZEPHYR_CANOPENNODE_MODULE=y
    # end of canopennode (/root/ncs/v2.7.0/modules/lib/canopennode)
    
    #
    # chre (/root/ncs/v2.7.0/modules/lib/chre)
    #
    CONFIG_ZEPHYR_CHRE_MODULE=y
    # CONFIG_CHRE is not set
    # end of chre (/root/ncs/v2.7.0/modules/lib/chre)
    
    #
    # lz4 (/root/ncs/v2.7.0/modules/lib/lz4)
    #
    CONFIG_ZEPHYR_LZ4_MODULE=y
    # CONFIG_LZ4 is not set
    # end of lz4 (/root/ncs/v2.7.0/modules/lib/lz4)
    
    #
    # nanopb (/root/ncs/v2.7.0/modules/lib/nanopb)
    #
    CONFIG_ZEPHYR_NANOPB_MODULE=y
    # CONFIG_NANOPB is not set
    # end of nanopb (/root/ncs/v2.7.0/modules/lib/nanopb)
    
    CONFIG_ZEPHYR_TF_M_TESTS_MODULE=y
    
    #
    # zscilib (/root/ncs/v2.7.0/modules/lib/zscilib)
    #
    # CONFIG_ZSL is not set
    CONFIG_ZEPHYR_ZSCILIB_MODULE=y
    # end of zscilib (/root/ncs/v2.7.0/modules/lib/zscilib)
    
    #
    # cmsis (/root/ncs/v2.7.0/modules/hal/cmsis)
    #
    CONFIG_ZEPHYR_CMSIS_MODULE=y
    CONFIG_HAS_CMSIS_CORE=y
    CONFIG_HAS_CMSIS_CORE_M=y
    # CONFIG_CMSIS_M_CHECK_DEVICE_DEFINES is not set
    # end of cmsis (/root/ncs/v2.7.0/modules/hal/cmsis)
    
    #
    # cmsis-dsp (/root/ncs/v2.7.0/modules/lib/cmsis-dsp)
    #
    CONFIG_ZEPHYR_CMSIS_DSP_MODULE=y
    # CONFIG_CMSIS_DSP is not set
    # end of cmsis-dsp (/root/ncs/v2.7.0/modules/lib/cmsis-dsp)
    
    #
    # cmsis-nn (/root/ncs/v2.7.0/modules/lib/cmsis-nn)
    #
    CONFIG_ZEPHYR_CMSIS_NN_MODULE=y
    # CONFIG_CMSIS_NN is not set
    # end of cmsis-nn (/root/ncs/v2.7.0/modules/lib/cmsis-nn)
    
    #
    # fatfs (/root/ncs/v2.7.0/modules/fs/fatfs)
    #
    CONFIG_ZEPHYR_FATFS_MODULE=y
    # end of fatfs (/root/ncs/v2.7.0/modules/fs/fatfs)
    
    #
    # hal_nordic (/root/ncs/v2.7.0/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_RADIO_DRIVER is not set
    # CONFIG_NRF_802154_SER_RADIO is not set
    # end of Nordic drivers
    
    CONFIG_HAS_NRFX=y
    
    #
    # nrfx drivers
    #
    
    #
    # nrfx drivers logging
    #
    # CONFIG_NRFX_CLOCK_LOG is not set
    # CONFIG_NRFX_GPIOTE_LOG is not set
    # CONFIG_NRFX_NVMC_LOG is not set
    # CONFIG_NRFX_PPI_LOG is not set
    # CONFIG_NRFX_WDT_LOG is not set
    # end of nrfx drivers logging
    
    # CONFIG_MPSL is not set
    CONFIG_NRFX_CLOCK=y
    # CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED is not set
    # CONFIG_NRFX_COMP 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_GPIOTE0=y
    # CONFIG_NRFX_I2S0 is not set
    # CONFIG_NRFX_NFCT is not set
    CONFIG_NRFX_NVMC=y
    # CONFIG_NRFX_PDM is not set
    # CONFIG_NRFX_POWER is not set
    CONFIG_NRFX_PPI=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_QDEC0 is not set
    # CONFIG_NRFX_QSPI is not set
    # CONFIG_NRFX_RNG is not set
    # CONFIG_NRFX_RTC0 is not set
    # CONFIG_NRFX_RTC1 is not set
    # CONFIG_NRFX_RTC2 is not set
    # CONFIG_NRFX_SAADC is not set
    # CONFIG_NRFX_SPI1 is not set
    # CONFIG_NRFX_SPIM0 is not set
    # CONFIG_NRFX_SPIM2 is not set
    # CONFIG_NRFX_SPIM3 is not set
    # CONFIG_NRFX_SYSTICK is not set
    # CONFIG_NRFX_TEMP is not set
    # CONFIG_NRFX_TIMER0 is not set
    # CONFIG_NRFX_TIMER1 is not set
    # CONFIG_NRFX_TIMER2 is not set
    # CONFIG_NRFX_TIMER3 is not set
    # CONFIG_NRFX_TIMER4 is not set
    # CONFIG_NRFX_TWIM0 is not set
    # CONFIG_NRFX_TWIM1 is not set
    # CONFIG_NRFX_UARTE0 is not set
    # CONFIG_NRFX_UARTE1 is not set
    CONFIG_NRFX_WDT=y
    CONFIG_NRFX_WDT0=y
    
    #
    # 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 (/root/ncs/v2.7.0/modules/hal/nordic)
    
    #
    # hal_st (/root/ncs/v2.7.0/modules/hal/st)
    #
    CONFIG_ZEPHYR_HAL_ST_MODULE=y
    # end of hal_st (/root/ncs/v2.7.0/modules/hal/st)
    
    CONFIG_ZEPHYR_HAL_WURTHELEKTRONIK_MODULE=y
    CONFIG_ZEPHYR_LIBMETAL_MODULE=y
    
    #
    # liblc3 (/root/ncs/v2.7.0/modules/lib/liblc3)
    #
    CONFIG_ZEPHYR_LIBLC3_MODULE=y
    # end of liblc3 (/root/ncs/v2.7.0/modules/lib/liblc3)
    
    #
    # littlefs (/root/ncs/v2.7.0/modules/fs/littlefs)
    #
    CONFIG_ZEPHYR_LITTLEFS_MODULE=y
    # end of littlefs (/root/ncs/v2.7.0/modules/fs/littlefs)
    
    #
    # loramac-node (/root/ncs/v2.7.0/modules/lib/loramac-node)
    #
    CONFIG_ZEPHYR_LORAMAC_NODE_MODULE=y
    # CONFIG_HAS_SEMTECH_RADIO_DRIVERS is not set
    # end of loramac-node (/root/ncs/v2.7.0/modules/lib/loramac-node)
    
    #
    # lvgl (/root/ncs/v2.7.0/modules/lib/gui/lvgl)
    #
    CONFIG_ZEPHYR_LVGL_MODULE=y
    # end of lvgl (/root/ncs/v2.7.0/modules/lib/gui/lvgl)
    
    CONFIG_ZEPHYR_MIPI_SYS_T_MODULE=y
    CONFIG_ZEPHYR_NRF_HW_MODELS_MODULE=y
    CONFIG_ZEPHYR_OPEN_AMP_MODULE=y
    
    #
    # picolibc (/root/ncs/v2.7.0/modules/lib/picolibc)
    #
    # CONFIG_PICOLIBC_MODULE is not set
    CONFIG_ZEPHYR_PICOLIBC_MODULE=y
    # end of picolibc (/root/ncs/v2.7.0/modules/lib/picolibc)
    
    #
    # segger (/root/ncs/v2.7.0/modules/debug/segger)
    #
    CONFIG_ZEPHYR_SEGGER_MODULE=y
    CONFIG_HAS_SEGGER_RTT=y
    # CONFIG_USE_SEGGER_RTT is not set
    # end of segger (/root/ncs/v2.7.0/modules/debug/segger)
    
    CONFIG_ZEPHYR_TINYCRYPT_MODULE=y
    
    #
    # uoscore-uedhoc (/root/ncs/v2.7.0/modules/lib/uoscore-uedhoc)
    #
    CONFIG_ZEPHYR_UOSCORE_UEDHOC_MODULE=y
    # end of uoscore-uedhoc (/root/ncs/v2.7.0/modules/lib/uoscore-uedhoc)
    
    #
    # zcbor (/root/ncs/v2.7.0/modules/lib/zcbor)
    #
    CONFIG_ZEPHYR_ZCBOR_MODULE=y
    # CONFIG_ZCBOR is not set
    # end of zcbor (/root/ncs/v2.7.0/modules/lib/zcbor)
    
    #
    # nrfxlib (/root/ncs/v2.7.0/nrfxlib)
    #
    
    #
    # Nordic nrfxlib
    #
    
    #
    # nrf_modem (Modem library)
    #
    # end of nrf_modem (Modem library)
    
    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_HAS_HW_NRF_CC3XX=y
    # CONFIG_NRF_OBERON is not set
    CONFIG_NRF_CC3XX_PLATFORM=y
    CONFIG_CC3XX_MUTEX_LOCK=y
    # CONFIG_CC3XX_ATOMIC_LOCK is not set
    # end of Crypto libraries for nRF5x SOCs.
    
    # CONFIG_NRF_RPC is not set
    CONFIG_NRF_802154_SOURCE_NRFXLIB=y
    # CONFIG_GZLL is not set
    # CONFIG_NRF_DM is not set
    # CONFIG_NRF_FUEL_GAUGE is not set
    # end of Nordic nrfxlib
    
    CONFIG_ZEPHYR_NRFXLIB_MODULE=y
    # end of nrfxlib (/root/ncs/v2.7.0/nrfxlib)
    
    #
    # connectedhomeip (/root/ncs/v2.7.0/modules/lib/matter)
    #
    # CONFIG_CHIP is not set
    CONFIG_ZEPHYR_CONNECTEDHOMEIP_MODULE=y
    # end of connectedhomeip (/root/ncs/v2.7.0/modules/lib/matter)
    
    # CONFIG_LIBMETAL is not set
    # CONFIG_LVGL is not set
    # CONFIG_HAS_MEC_HAL is not set
    # CONFIG_HAS_MPFS_HAL is not set
    # CONFIG_HAS_MEC5_HAL is not set
    # CONFIG_OPENAMP is not set
    # CONFIG_MIPI_SYST_LIB is not set
    # CONFIG_HAS_TELINK_DRIVERS is not set
    CONFIG_MCUBOOT_BOOTUTIL_LIB=y
    # CONFIG_WIFI_NM_WPA_SUPPLICANT 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.
    #
    # CONFIG_ACPI is not set
    # end of Modules
    
    CONFIG_BOARD="nt_22_1737_nrf52840x"
    CONFIG_BOARD_REVISION=""
    CONFIG_BOARD_TARGET="nt_22_1737_nrf52840x/nrf52840"
    # CONFIG_NET_DRIVERS is not set
    CONFIG_BOARD_NT_22_1737_NRF52840X=y
    CONFIG_BOARD_NT_22_1737_NRF52840X_NRF52840=y
    CONFIG_BOARD_QUALIFIERS="nrf52840"
    
    #
    # Board Options
    #
    # CONFIG_BOARD_ENABLE_DCDC is not set
    CONFIG_BT_CLI_SERVICE_SECURITY_ENABLE=y
    CONFIG_USB_CDC_TERMINAL=y
    CONFIG_USE_CCXX_DRIVER=y
    CONFIG_USE_SX1280_DRIVER=y
    CONFIG_DEV_TYPE=41
    CONFIG_USE_MC3479_DRIVER=y
    CONFIG_USE_SPI_NRFX=y
    # end of Board Options
    
    #
    # Hardware Configuration
    #
    CONFIG_SOC_FAMILY="nordic_nrf"
    CONFIG_SOC_FAMILY_NORDIC_NRF=y
    CONFIG_SOC_SERIES_NRF52X=y
    CONFIG_SOC_NRF52840=y
    CONFIG_SOC_NRF52840_QIAA=y
    # CONFIG_MFD is not set
    # CONFIG_BUILD_OUTPUT_INFO_HEADER is not set
    CONFIG_HAS_HW_NRF_ACL=y
    CONFIG_HAS_HW_NRF_CC310=y
    CONFIG_HAS_HW_NRF_CCM=y
    CONFIG_HAS_HW_NRF_CCM_LFLEN_8BIT=y
    CONFIG_HAS_HW_NRF_CLOCK=y
    CONFIG_HAS_HW_NRF_ECB=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_GPIOTE0=y
    CONFIG_HAS_HW_NRF_MWU=y
    CONFIG_HAS_HW_NRF_NVMC_PE=y
    CONFIG_HAS_HW_NRF_POWER=y
    CONFIG_HAS_HW_NRF_PPI=y
    CONFIG_HAS_HW_NRF_RADIO_BLE_2M=y
    CONFIG_HAS_HW_NRF_RADIO_BLE_CODED=y
    CONFIG_HAS_HW_NRF_RADIO_IEEE802154=y
    CONFIG_HAS_HW_NRF_RADIO_TX_PWR_HIGH=y
    CONFIG_HAS_HW_NRF_RNG=y
    CONFIG_HAS_HW_NRF_SPI1=y
    CONFIG_HAS_HW_NRF_SPIM0=y
    CONFIG_HAS_HW_NRF_SWI0=y
    CONFIG_HAS_HW_NRF_SWI1=y
    CONFIG_HAS_HW_NRF_SWI2=y
    CONFIG_HAS_HW_NRF_SWI3=y
    CONFIG_HAS_HW_NRF_SWI4=y
    CONFIG_HAS_HW_NRF_SWI5=y
    CONFIG_HAS_HW_NRF_TEMP=y
    CONFIG_HAS_HW_NRF_UARTE0=y
    CONFIG_HAS_HW_NRF_USBD=y
    CONFIG_HAS_HW_NRF_WDT0=y
    # CONFIG_GPIO_AS_PINRESET is not set
    CONFIG_NRF_ENABLE_ICACHE=y
    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 is not set
    CONFIG_NRF_APPROTECT_LOCK=y
    # CONFIG_NRF_TRACE_PORT is not set
    # CONFIG_SOC_LOG_LEVEL_OFF is not set
    # CONFIG_SOC_LOG_LEVEL_ERR is not set
    # CONFIG_SOC_LOG_LEVEL_WRN is not set
    # CONFIG_SOC_LOG_LEVEL_INF is not set
    # CONFIG_SOC_LOG_LEVEL_DBG is not set
    CONFIG_SOC_LOG_LEVEL_DEFAULT=y
    CONFIG_SOC_LOG_LEVEL=0
    # end of Hardware Configuration
    
    CONFIG_SOC_COMPATIBLE_NRF=y
    CONFIG_SOC_COMPATIBLE_NRF52X=y
    CONFIG_ARCH="arm"
    CONFIG_ARCH_HAS_SINGLE_THREAD_SUPPORT=y
    # CONFIG_EXTRA_EXCEPTION_INFO is not set
    CONFIG_CPU_CORTEX=y
    # CONFIG_ARM_MPU is not set
    CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE=4
    # CONFIG_MPU_ALLOW_FLASH_WRITE is not set
    
    #
    # ARM Options
    #
    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_FP16=y
    CONFIG_FP16_IEEE=y
    # CONFIG_FP16_ALT is not set
    CONFIG_CPU_CORTEX_M4=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_PROGRAMMABLE_FAULT_PRIOS=y
    CONFIG_ARMV7_M_ARMV8_M_MAINLINE=y
    CONFIG_ARMV7_M_ARMV8_M_FP=y
    
    #
    # ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33/M55 options
    #
    # 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/M55 options
    
    CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
    # CONFIG_NULL_POINTER_EXCEPTION_DETECTION_DWT is not set
    CONFIG_HAS_SWO=y
    # end of ARM Options
    
    CONFIG_ARM=y
    CONFIG_ARCH_IS_SET=y
    
    #
    # General Architecture Options
    #
    # CONFIG_SEMIHOST is not set
    # CONFIG_ARCH_LOG_LEVEL_OFF is not set
    # CONFIG_ARCH_LOG_LEVEL_ERR is not set
    # CONFIG_ARCH_LOG_LEVEL_WRN is not set
    # CONFIG_ARCH_LOG_LEVEL_INF is not set
    # CONFIG_ARCH_LOG_LEVEL_DBG is not set
    CONFIG_ARCH_LOG_LEVEL_DEFAULT=y
    CONFIG_ARCH_LOG_LEVEL=0
    CONFIG_LITTLE_ENDIAN=y
    CONFIG_GEN_PRIV_STACKS=y
    # CONFIG_STACK_GROWS_UP is not set
    
    #
    # Interrupt Configuration
    #
    CONFIG_ISR_TABLES_LOCAL_DECLARATION_SUPPORTED=y
    # CONFIG_ISR_TABLES_LOCAL_DECLARATION is not set
    CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_ADDRESS=y
    # CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_CODE is not set
    CONFIG_EXCEPTION_DEBUG=y
    # CONFIG_SIMPLIFIED_EXCEPTION_CODES is not set
    # end of Interrupt Configuration
    # end of General Architecture Options
    
    CONFIG_ARCH_HAS_TIMING_FUNCTIONS=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_SUPPORTS_ROM_START=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_FPU=y
    CONFIG_CPU_HAS_MPU=y
    # CONFIG_MPU is not set
    
    #
    # DSP Options
    #
    # end of DSP Options
    
    #
    # Floating Point Options
    #
    # end of Floating Point Options
    
    #
    # Cache Options
    #
    # end of Cache Options
    
    CONFIG_TOOLCHAIN_HAS_BUILTIN_FFS=y
    # CONFIG_ARCH_CPU_IDLE_CUSTOM is not set
    
    #
    # General Kernel Options
    #
    # CONFIG_KERNEL_LOG_LEVEL_OFF is not set
    # CONFIG_KERNEL_LOG_LEVEL_ERR is not set
    # CONFIG_KERNEL_LOG_LEVEL_WRN is not set
    # CONFIG_KERNEL_LOG_LEVEL_INF is not set
    # CONFIG_KERNEL_LOG_LEVEL_DBG is not set
    CONFIG_KERNEL_LOG_LEVEL_DEFAULT=y
    CONFIG_KERNEL_LOG_LEVEL=0
    CONFIG_NUM_COOP_PRIORITIES=1
    CONFIG_NUM_PREEMPT_PRIORITIES=0
    CONFIG_MAIN_THREAD_PRIORITY=-2
    CONFIG_COOP_ENABLED=y
    CONFIG_PRIORITY_CEILING=-127
    # CONFIG_SCHED_DEADLINE is not set
    # CONFIG_THREAD_STACK_INFO is not set
    # CONFIG_THREAD_CUSTOM_DATA is not set
    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
    
    #
    # Misc Kernel related options
    #
    CONFIG_ERRNO=y
    # end of Misc Kernel related options
    
    #
    # Kernel Debugging and Metrics
    #
    # 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
    
    # CONFIG_OBJ_CORE is not set
    
    #
    # System Work Queue Options
    #
    # CONFIG_SYSTEM_WORKQUEUE_NO_YIELD is not set
    # end of System Work Queue Options
    
    #
    # Barrier Operations
    #
    CONFIG_BARRIER_OPERATIONS_ARCH=y
    # end of Barrier Operations
    
    #
    # Atomic Operations
    #
    CONFIG_ATOMIC_OPERATIONS_BUILTIN=y
    # end of Atomic Operations
    
    #
    # Timer API Options
    #
    # end of Timer API Options
    
    #
    # Other Kernel Object Options
    #
    # CONFIG_POLL is not set
    # 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
    # CONFIG_HEAP_MEM_POOL_IGNORE_MIN is not set
    # 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
    
    #
    # Security Options
    #
    # CONFIG_STACK_CANARIES is not set
    # end of Security Options
    
    #
    # Memory Domains
    #
    # end of Memory Domains
    
    #
    # SMP Options
    #
    CONFIG_MP_NUM_CPUS=1
    # CONFIG_TICKET_SPINLOCKS is not set
    # end of SMP Options
    
    CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE=y
    # CONFIG_THREAD_LOCAL_STORAGE is not set
    # end of General Kernel Options
    
    #
    # Device Options
    #
    # CONFIG_DEVICE_DEPS is not set
    # CONFIG_DEVICE_MUTABLE is not set
    # end of Device Options
    
    #
    # 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
    
    #
    # Virtual Memory Support
    #
    # end of Virtual Memory Support
    
    #
    # Device Drivers
    #
    # CONFIG_ADC is not set
    # CONFIG_AUDIO is not set
    # CONFIG_AUXDISPLAY is not set
    # CONFIG_BBRAM is not set
    # CONFIG_CAN is not set
    # CONFIG_CHARGER is not set
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_OFF is not set
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_ERR is not set
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_WRN is not set
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_INF is not set
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_DBG is not set
    CONFIG_CLOCK_CONTROL_LOG_LEVEL_DEFAULT=y
    CONFIG_CLOCK_CONTROL_LOG_LEVEL=0
    CONFIG_CLOCK_CONTROL_NRF=y
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_EXT_LOW_SWING is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_EXT_FULL_SWING is not set
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y
    CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_LF_ALWAYS_ON=y
    CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_PERIOD=4000
    CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP=1
    CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF=2
    # 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_CLOCK_CONTROL_FIXED_RATE_CLOCK is not set
    # CONFIG_COREDUMP_DEVICE 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_DISPLAY is not set
    # CONFIG_DMA is not set
    # CONFIG_EDAC is not set
    # CONFIG_EEPROM is not set
    CONFIG_ENTROPY_GENERATOR=y
    # CONFIG_ENTROPY_LOG_LEVEL_OFF is not set
    # CONFIG_ENTROPY_LOG_LEVEL_ERR is not set
    # CONFIG_ENTROPY_LOG_LEVEL_WRN is not set
    # CONFIG_ENTROPY_LOG_LEVEL_INF is not set
    # CONFIG_ENTROPY_LOG_LEVEL_DBG is not set
    CONFIG_ENTROPY_LOG_LEVEL_DEFAULT=y
    CONFIG_ENTROPY_LOG_LEVEL=0
    CONFIG_ENTROPY_NRF5_RNG=y
    CONFIG_ENTROPY_NRF5_BIAS_CORRECTION=y
    CONFIG_ENTROPY_NRF5_THR_POOL_SIZE=8
    CONFIG_ENTROPY_NRF5_THR_THRESHOLD=4
    CONFIG_ENTROPY_NRF5_ISR_POOL_SIZE=16
    CONFIG_ENTROPY_NRF5_ISR_THRESHOLD=12
    CONFIG_ENTROPY_HAS_DRIVER=y
    # CONFIG_ESPI is not set
    CONFIG_FLASH_HAS_DRIVER_ENABLED=y
    CONFIG_FLASH_HAS_PAGE_LAYOUT=y
    CONFIG_FLASH=y
    # CONFIG_FLASH_LOG_LEVEL_OFF is not set
    # CONFIG_FLASH_LOG_LEVEL_ERR is not set
    # CONFIG_FLASH_LOG_LEVEL_WRN is not set
    # CONFIG_FLASH_LOG_LEVEL_INF is not set
    # CONFIG_FLASH_LOG_LEVEL_DBG is not set
    CONFIG_FLASH_LOG_LEVEL_DEFAULT=y
    CONFIG_FLASH_LOG_LEVEL=0
    CONFIG_FLASH_PAGE_LAYOUT=y
    CONFIG_SOC_FLASH_NRF=y
    CONFIG_SOC_FLASH_NRF_RADIO_SYNC_NONE=y
    # CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE is not set
    # CONFIG_SOC_FLASH_NRF_UICR is not set
    # CONFIG_SOC_FLASH_NRF_EMULATE_ONE_BYTE_WRITE_ACCESS is not set
    # CONFIG_FPGA is not set
    # CONFIG_FUEL_GAUGE is not set
    # CONFIG_GNSS is not set
    # CONFIG_HWINFO is not set
    # CONFIG_HWSPINLOCK is not set
    # CONFIG_I2C is not set
    # CONFIG_I2S is not set
    # CONFIG_I3C is not set
    
    #
    # Interrupt controller drivers
    #
    CONFIG_INTC_INIT_PRIORITY=40
    # CONFIG_INTC_LOG_LEVEL_OFF is not set
    # CONFIG_INTC_LOG_LEVEL_ERR is not set
    # CONFIG_INTC_LOG_LEVEL_WRN is not set
    # CONFIG_INTC_LOG_LEVEL_INF is not set
    # CONFIG_INTC_LOG_LEVEL_DBG is not set
    CONFIG_INTC_LOG_LEVEL_DEFAULT=y
    CONFIG_INTC_LOG_LEVEL=0
    # CONFIG_INTC_ESP32 is not set
    # end of Interrupt controller drivers
    
    # CONFIG_IPM is not set
    # CONFIG_KSCAN is not set
    # CONFIG_LED is not set
    # CONFIG_LED_STRIP is not set
    # CONFIG_LORA is not set
    # CONFIG_MDIO is not set
    # CONFIG_MIPI_DBI is not set
    
    #
    # Miscellaneous Drivers
    #
    # CONFIG_TIMEAWARE_GPIO is not set
    # end of Miscellaneous Drivers
    
    # CONFIG_MM_DRV is not set
    # CONFIG_PCIE is not set
    # CONFIG_PCIE_ENDPOINT is not set
    # CONFIG_PECI is not set
    # CONFIG_PM_CPU_OPS is not set
    # CONFIG_PS2 is not set
    # CONFIG_PTP_CLOCK is not set
    # CONFIG_PWM is not set
    # CONFIG_REGULATOR is not set
    # CONFIG_RETAINED_MEM is not set
    # CONFIG_RTC is not set
    # CONFIG_SDHC is not set
    # CONFIG_SMBUS 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_UHC_DRIVER is not set
    # CONFIG_UVB is not set
    # CONFIG_USB_DEVICE_DRIVER is not set
    # CONFIG_NRF_USBD_COMMON_LOG_LEVEL_OFF is not set
    # CONFIG_NRF_USBD_COMMON_LOG_LEVEL_ERR is not set
    # CONFIG_NRF_USBD_COMMON_LOG_LEVEL_WRN is not set
    # CONFIG_NRF_USBD_COMMON_LOG_LEVEL_INF is not set
    # CONFIG_NRF_USBD_COMMON_LOG_LEVEL_DBG is not set
    CONFIG_NRF_USBD_COMMON_LOG_LEVEL_DEFAULT=y
    CONFIG_NRF_USBD_COMMON_LOG_LEVEL=0
    # CONFIG_NRF_USBD_COMMON is not set
    # CONFIG_USBC_TCPC_DRIVER is not set
    # CONFIG_USBC_LOG_LEVEL_OFF is not set
    # CONFIG_USBC_LOG_LEVEL_ERR is not set
    # CONFIG_USBC_LOG_LEVEL_WRN is not set
    # CONFIG_USBC_LOG_LEVEL_INF is not set
    # CONFIG_USBC_LOG_LEVEL_DBG is not set
    CONFIG_USBC_LOG_LEVEL_DEFAULT=y
    CONFIG_USBC_LOG_LEVEL=0
    # CONFIG_USBC_VBUS_DRIVER is not set
    # CONFIG_USBC_PPC_DRIVER is not set
    # CONFIG_VIDEO is not set
    # CONFIG_VIRTUALIZATION is not set
    # CONFIG_W1 is not set
    # end of Device Drivers
    
    # CONFIG_REQUIRES_FULL_LIBC is not set
    # CONFIG_REQUIRES_FLOAT_PRINTF is not set
    CONFIG_FULL_LIBC_SUPPORTED=y
    CONFIG_MINIMAL_LIBC_SUPPORTED=y
    CONFIG_NEWLIB_LIBC_SUPPORTED=y
    CONFIG_PICOLIBC_SUPPORTED=y
    
    #
    # C Library
    #
    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_COMMON_LIBC_ABORT=y
    CONFIG_COMMON_LIBC_GMTIME_R=y
    CONFIG_COMMON_LIBC_MALLOC=y
    CONFIG_COMMON_LIBC_CALLOC=y
    CONFIG_COMMON_LIBC_REALLOCARRAY=y
    CONFIG_COMMON_LIBC_STRNLEN=y
    CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y
    CONFIG_MINIMAL_LIBC_MALLOC=y
    CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=-2
    CONFIG_MINIMAL_LIBC_CALLOC=y
    CONFIG_MINIMAL_LIBC_REALLOCARRAY=y
    # CONFIG_MINIMAL_LIBC_LL_PRINTF is not set
    # 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
    
    # CONFIG_CRC is not set
    
    #
    # 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
    
    #
    # Heap and Memory Allocation
    #
    # CONFIG_SYS_HEAP_VALIDATE is not set
    # CONFIG_SYS_HEAP_STRESS is not set
    # CONFIG_SYS_HEAP_INFO 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_MULTI_HEAP is not set
    # CONFIG_SHARED_MULTI_HEAP is not set
    # end of Heap and Memory Allocation
    
    #
    # Memory Blocks
    #
    # CONFIG_SYS_MEM_BLOCKS is not set
    # end of Memory Blocks
    
    #
    # OS Support Library
    #
    # CONFIG_FDTABLE is not set
    # CONFIG_PRINTK_SYNC is not set
    # CONFIG_MPSC_PBUF is not set
    # CONFIG_SPSC_PBUF is not set
    CONFIG_HAS_POWEROFF=y
    # CONFIG_POWEROFF is not set
    # CONFIG_CBPRINTF_COMPLETE is not set
    CONFIG_CBPRINTF_NANO=y
    CONFIG_CBPRINTF_FULL_INTEGRAL=y
    # CONFIG_CBPRINTF_REDUCED_INTEGRAL is not set
    # CONFIG_CBPRINTF_FP_A_SUPPORT is not set
    # CONFIG_CBPRINTF_FP_ALWAYS_A is not set
    CONFIG_CBPRINTF_LIBC_SUBSTS=y
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_OFF is not set
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_ERR is not set
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_WRN is not set
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_INF is not set
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_DBG is not set
    CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_DEFAULT=y
    CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL=0
    # CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE is not set
    # CONFIG_CBPRINTF_STATIC_PACKAGE_CHECK_ALIGNMENT is not set
    CONFIG_CBPRINTF_CONVERT_CHECK_PTR=y
    # end of OS Support Library
    
    #
    # POSIX API Support
    #
    
    #
    # POSIX Options
    #
    # CONFIG_POSIX_API is not set
    # CONFIG_POSIX_ASYNCHRONOUS_IO is not set
    # CONFIG_POSIX_CLOCK is not set
    # CONFIG_POSIX_CONFSTR is not set
    # CONFIG_POSIX_ENV is not set
    # CONFIG_POSIX_ENV_LOG_LEVEL_OFF is not set
    # CONFIG_POSIX_ENV_LOG_LEVEL_ERR is not set
    # CONFIG_POSIX_ENV_LOG_LEVEL_WRN is not set
    # CONFIG_POSIX_ENV_LOG_LEVEL_INF is not set
    # CONFIG_POSIX_ENV_LOG_LEVEL_DBG is not set
    CONFIG_POSIX_ENV_LOG_LEVEL_DEFAULT=y
    CONFIG_POSIX_ENV_LOG_LEVEL=0
    # CONFIG_EVENTFD is not set
    
    #
    # File descriptor table options
    #
    # end of File descriptor table options
    
    # CONFIG_FNMATCH is not set
    # CONFIG_GETENTROPY is not set
    # CONFIG_POSIX_MQUEUE is not set
    
    #
    # sem_t support
    #
    CONFIG_SEM_VALUE_MAX=32767
    CONFIG_SEM_NAMELEN_MAX=16
    # end of sem_t support
    
    #
    # Signal support
    #
    CONFIG_POSIX_RTSIG_MAX=0
    # CONFIG_POSIX_SIGNAL is not set
    # end of Signal support
    
    # CONFIG_POSIX_PUTMSG is not set
    
    #
    # Sysconf support
    #
    # CONFIG_POSIX_SYSCONF is not set
    CONFIG_POSIX_PAGE_SIZE_BITS=6
    # end of Sysconf support
    
    # CONFIG_POSIX_SYSLOG is not set
    # CONFIG_TIMER is not set
    # CONFIG_POSIX_UNAME is not set
    # end of POSIX Options
    
    #
    # POSIX Shell Utilities
    #
    # end of POSIX Shell Utilities
    # end of POSIX API Support
    
    # CONFIG_OPENAMP_RSC_TABLE is not set
    # CONFIG_SMF is not set
    CONFIG_LIBGCC_RTLIB=y
    
    #
    # Utility Library
    #
    # CONFIG_JSON_LIBRARY is not set
    # CONFIG_RING_BUFFER is not set
    CONFIG_NOTIFY=y
    # CONFIG_BASE64 is not set
    CONFIG_ONOFF=y
    # CONFIG_WINSTREAM is not set
    # CONFIG_UTF8 is not set
    # end of Utility Library
    # end of Additional libraries
    
    #
    # Subsystems and OS Services
    #
    # CONFIG_BINDESC is not set
    # CONFIG_BT is not set
    
    #
    # Controller Area Network (CAN) bus subsystem
    #
    # 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_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_MIPI_STP_DECODER is not set
    # 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_FCB is not set
    # CONFIG_NVS is not set
    # end of File Systems
    
    #
    # Inter Processor Communication
    #
    # CONFIG_RPMSG_SERVICE is not set
    # CONFIG_IPC_SERVICE is not set
    # end of Inter Processor Communication
    
    # CONFIG_JWT is not set
    # CONFIG_LLEXT is not set
    
    #
    # Linkable loadable Extension Development Kit (EDK)
    #
    CONFIG_LLEXT_EDK_NAME="llext-edk"
    # CONFIG_LLEXT_EDK_USERSPACE_ONLY is not set
    # end of Linkable loadable Extension Development Kit (EDK)
    
    #
    # Logging
    #
    CONFIG_LOG_CORE_INIT_PRIORITY=0
    # CONFIG_LOG_MODE_DEFERRED is not set
    # CONFIG_LOG_MODE_IMMEDIATE is not set
    CONFIG_LOG_MODE_MINIMAL=y
    # CONFIG_LOG_FRONTEND is not set
    # CONFIG_LOG_FRONTEND_OPT_API is not set
    # CONFIG_LOG_CUSTOM_HEADER is not set
    # CONFIG_LOG_MULTIDOMAIN is not set
    
    #
    # Logging levels filtering
    #
    CONFIG_LOG_DEFAULT_LEVEL=0
    CONFIG_LOG_OVERRIDE_LEVEL=0
    CONFIG_LOG_MAX_LEVEL=4
    # end of Logging levels filtering
    
    #
    # Processing
    #
    # end of Processing
    
    #
    # Misc
    #
    CONFIG_LOG_USE_VLA=y
    CONFIG_LOG_SIMPLE_MSG_OPTIMIZE=y
    # CONFIG_LOG_ALWAYS_RUNTIME is not set
    # CONFIG_LOG_FMT_SECTION is not set
    # CONFIG_LOG_FMT_STRING_VALIDATE is not set
    # CONFIG_LOG_USE_TAGGED_ARGUMENTS is not set
    # end of Misc
    
    # CONFIG_LOG_OUTPUT is not set
    # end of Logging
    
    # CONFIG_MEM_ATTR is not set
    
    #
    # Device Management
    #
    
    #
    # Host command handler subsystem
    #
    # CONFIG_EC_HOST_CMD is not set
    # end of Host command handler subsystem
    
    # CONFIG_OSDP is not set
    # end of Device Management
    
    # CONFIG_MODBUS is not set
    # CONFIG_MODEM_MODULES is not set
    
    #
    # Networking
    #
    # CONFIG_NET_BUF is not set
    # CONFIG_NETWORKING is not set
    # end of Networking
    
    #
    # Power Management
    #
    # end of Power Management
    
    #
    # Portability
    #
    # end of Portability
    
    #
    # Random Number Generators
    #
    # CONFIG_TEST_RANDOM_GENERATOR is not set
    CONFIG_TIMER_RANDOM_INITIAL_STATE=123456789
    CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR=y
    # CONFIG_XOSHIRO_RANDOM_GENERATOR is not set
    CONFIG_CSPRNG_ENABLED=y
    CONFIG_HARDWARE_DEVICE_CS_GENERATOR=y
    # CONFIG_CTR_DRBG_CSPRNG_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_FLASH_MAP=y
    # CONFIG_FLASH_AREA_CHECK_INTEGRITY is not set
    # CONFIG_FLASH_MAP_LABELS is not set
    # 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_FORCE_COVERAGE is not set
    # CONFIG_TEST_USERSPACE is not set
    # end of Testing
    
    # CONFIG_TIMING_FUNCTIONS is not set
    # CONFIG_TRACING is not set
    # CONFIG_USB_DEVICE_STACK 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_MODULES 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_FLASH_LOAD_SIZE=0xc000
    CONFIG_ROM_END_OFFSET=0
    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_LINKER_SORT_BY_ALIGNMENT=y
    
    #
    # 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
    
    CONFIG_LINKER_ITERABLE_SUBALIGN=4
    CONFIG_LINKER_DEVNULL_SUPPORT=y
    # CONFIG_LINKER_DEVNULL_MEMORY is not set
    # end of Linker Options
    
    #
    # Compiler Options
    #
    # CONFIG_STD_C90 is not set
    CONFIG_STD_C99=y
    # CONFIG_STD_C11 is not set
    # CONFIG_STD_C17 is not set
    # CONFIG_STD_C23 is not set
    CONFIG_TOOLCHAIN_SUPPORTS_GNU_EXTENSIONS=y
    # CONFIG_GNU_C_EXTENSIONS is not set
    # CONFIG_CODING_GUIDELINE_CHECK 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_TRACK_MACRO_EXPANSION=y
    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 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_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_BUILD_OUTPUT_COMPRESS_DEBUG_SECTIONS is not set
    # CONFIG_BUILD_ALIGN_LMA 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
    CONFIG_CHECK_INIT_PRIORITIES=y
    # CONFIG_EMIT_ALL_SYSCALLS is not set
    # 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_BOOTLOADER_BOSSA is not set
    # end of Boot Options


    But I need SPI in mcuboot for my external memory so it should be configured am I right ? 

  • But look again at my pm_static.yml file, I have  mcuboot_secondary in external flash. In point 4 I showed the dts and pm_static.yml file for my previous config without external flash and the even enabling SPI external flash causes the flash overflow in mcuboot, but maybe then the mcuboot configures SPI. So the first files (.dts and pm_static.yml - point 2 and 3) are layouts that I want. 

  • Bartosz22 said:
    for now I can't change mcuboot size because I will have problems with updating old devices with 48kB bootloader.

    Sorry, I didn't realize you had two partition files. I was looking at the last one you posted. However, since the existing MCUboot bootloader is immutable and can't be upgraded, you won't be able to change the partition layout. The old bootloader will still look for the secondary slot in internal flash.

Related