How to reject old firmware version from AWS FOTA at NRF9160 side?

Hi Nordic team

Customer Delta was running a street lamp project.

For AWS FOTA, they applied a AWS account and firmware update already can work.

However, it looks like no version control ability. No matter new or old firmware from AWS,

NRF9160 accepted both.

How can we make it at NRF9160 side? Let NRF9160 reject older version update.

This project was from SDK Connect v1.3.0 http_application_update.

Jeffery

Parents
  • Hi Simon

    1. I tried sdk connect v1.8.0 application update example. Added configuration settings to prevent downgrade.

       However, it popped error as the project was opened. Anything wrong?

    2. The project customer referred to was v1.3.0. So, does it support mcuboot preventing downgrade?

    Jeffery

  • Hi Simon

    1. It can compile now. My test project is v1.8.0 application update. What I did as below.

    A. Added below string at CMakeLists.txt

    set(mcuboot_OVERLAY_CONFIG
    ${CMAKE_CURRENT_LIST_DIR}/mcuboot.conf
    )

    B. Create mcuboot.conf at project folder. Then, fill below settngs.

    CONFIG_BOOTLOADER_MCUBOOT=y
    CONFIG_MCUBOOT_DOWNGRADE_PREVENTION=y
    CONFIG_BOOT_UPGRADE_ONLY=y

    C. Added below setting at prj.conf

    CONFIG_MCUBOOT_IMAGE_VERSION="0.1.0"

    2. AWS address was default and not overwritten. So, nrf9160 will connect to Nordic's AWS account.

    3. After press button1, it started downloading data. As reached to 100%, reset DK for swap test.

       The FOTA was done. 

       However, it shall not be successfully since mcuboot version at my DK (1.0.0) is newer than version

       from AWS(0.0.0). Why is it successful to be downgraded?

    Jeffery

  • Could you show me the files <sample>/build/zephyr/.config and <sample>/build/mcuboot/zephyr/.config of the firmware on the DK (where version is 1.0.0).

    Can you also show me the file <sample>/build/zephyr/.config of the firmware to be updated (where version is 0.0.0).

    Best regards,

    Simon

  • Hi Simon

    1.config =>v1.8.0...\app_test\build_nrf9160dk_nrf9160_ns\zephyr\.config

    2.config=>v1.8.0...\app_test\build_nrf9160dk_nrf9160_ns\mcuboot\zephyr\.config

    Also, I attached CMakeLists.txt and log result.

    The log result was different to what I said at previous message after I put set(mcuboot_OVERLAY_CONFIG~ just under cmake_minimum_required at CMakeLists.txt.

    As to the file <sample>/build/zephyr/.config of the firmware to be updated (where version is 0.0.0), I don't have it. I used your demo AWS FOTA to verify as below in prj.conf. 

    CONFIG_DOWNLOAD_HOST="nrfconnectsdk.s3.eu-central-1.amazonaws.com"
    CONFIG_DOWNLOAD_FILE="app_update.bin"
    CONFIG_APPLICATION_VERSION=1

    #
    # HTTP application update sample
    #
    CONFIG_DOWNLOAD_HOST="nrfconnectsdk.s3.eu-central-1.amazonaws.com"
    CONFIG_DOWNLOAD_FILE="app_update.bin"
    CONFIG_APPLICATION_VERSION=1
    # CONFIG_USE_HTTPS is not set
    # end of HTTP application update sample
    
    #
    # Zephyr Kernel
    #
    CONFIG_GPIO=y
    # CONFIG_SPI is not set
    # CONFIG_I2C is not set
    # CONFIG_KSCAN is not set
    # CONFIG_WIFI is not set
    # CONFIG_NET_L2_ETHERNET is not set
    # CONFIG_MODEM is not set
    # CONFIG_UART_INTERRUPT_DRIVEN is not set
    CONFIG_NET_IPV6=y
    # CONFIG_NET_CONFIG_NEED_IPV6 is not set
    CONFIG_BOARD="nrf9160dk_nrf9160"
    CONFIG_FLASH_LOAD_SIZE=0x30000
    CONFIG_FLASH_LOAD_OFFSET=0x50000
    CONFIG_SOC="nRF9160_SICA"
    CONFIG_SOC_SERIES="nrf91"
    CONFIG_NUM_IRQS=65
    CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768
    CONFIG_HEAP_MEM_POOL_SIZE=2048
    CONFIG_ROM_START_OFFSET=0
    # CONFIG_WATCHDOG is not set
    # CONFIG_UART_NS16550 is not set
    CONFIG_PM=y
    # CONFIG_PM_DEVICE is not set
    CONFIG_SOC_HAS_TIMING_FUNCTIONS=y
    CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT=y
    # CONFIG_CORTEX_M_SYSTICK is not set
    CONFIG_CLOCK_CONTROL=y
    CONFIG_NRF_RTC_TIMER=y
    CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768
    CONFIG_BUILD_OUTPUT_HEX=y
    # CONFIG_FPU is not set
    CONFIG_FLASH_SIZE=1024
    CONFIG_FLASH_BASE_ADDRESS=0x0
    # CONFIG_MBEDTLS is not set
    CONFIG_TEST_EXTRA_STACKSIZE=0
    # CONFIG_GPIO_MCUX is not set
    # CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS is not set
    # CONFIG_TINYCRYPT is not set
    # CONFIG_NET_L2_IEEE802154 is not set
    CONFIG_SERIAL=y
    # CONFIG_UART_PL011 is not set
    # CONFIG_SRAM_VECTOR_TABLE is not set
    
    #
    # Modules
    #
    
    #
    # Available modules.
    #
    
    #
    # nrf (D:TOOLCHAINv1.8.0nrf)
    #
    CONFIG_NUM_METAIRQ_PRIORITIES=0
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024
    CONFIG_MAIN_STACK_SIZE=8192
    # CONFIG_NET_CONNECTION_MANAGER is not set
    # CONFIG_INIT_STACKS is not set
    # CONFIG_NET_LOG is not set
    # CONFIG_NET_STATISTICS is not set
    CONFIG_NET_IPV6_NBR_CACHE=y
    CONFIG_NET_IPV6_MLD=y
    CONFIG_NET_PKT_RX_COUNT=4
    CONFIG_NET_PKT_TX_COUNT=4
    
    #
    # Nordic nRF Connect
    #
    CONFIG_WARN_EXPERIMENTAL=y
    CONFIG_PRIVILEGED_STACK_SIZE=1024
    CONFIG_ENTROPY_GENERATOR=y
    CONFIG_INIT_ARCH_HW_AT_BOOT=y
    CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    CONFIG_NCS_SAMPLES_DEFAULTS=y
    CONFIG_LOG_DEFAULT_LEVEL=1
    
    #
    # 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_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
    #
    
    #
    # BLE over nRF RPC
    #
    # end of BLE over nRF RPC
    # end of Bluetooth Low Energy
    
    #
    # DFU
    #
    
    #
    # DFU
    #
    CONFIG_DFU_TARGET=y
    CONFIG_DFU_TARGET_MCUBOOT=y
    CONFIG_DFU_TARGET_STREAM=y
    # CONFIG_DFU_TARGET_MCUBOOT_SAVE_PROGRESS is not set
    CONFIG_DFU_TARGET_MODEM_DELTA=y
    CONFIG_DFU_TARGET_MODEM_TIMEOUT=60
    # CONFIG_DFU_TARGET_LOG_LEVEL_OFF is not set
    # CONFIG_DFU_TARGET_LOG_LEVEL_ERR is not set
    # CONFIG_DFU_TARGET_LOG_LEVEL_WRN is not set
    CONFIG_DFU_TARGET_LOG_LEVEL_INF=y
    # CONFIG_DFU_TARGET_LOG_LEVEL_DBG is not set
    CONFIG_DFU_TARGET_LOG_LEVEL=3
    # end of DFU
    # 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
    #
    # CONFIG_NRF_CLOUD_MQTT is not set
    # CONFIG_NRF_CLOUD_REST is not set
    
    #
    # Client ID (nRF Cloud Device ID)
    #
    CONFIG_NRF_CLOUD_CLIENT_ID_SRC_IMEI=y
    # CONFIG_NRF_CLOUD_CLIENT_ID_SRC_COMPILE_TIME is not set
    CONFIG_NRF_CLOUD_CLIENT_ID_PREFIX="nrf-"
    # end of Client ID (nRF Cloud Device ID)
    
    # 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=y
    # CONFIG_NRF_CLOUD_LOG_LEVEL_DBG is not set
    CONFIG_NRF_CLOUD_LOG_LEVEL=3
    # CONFIG_REST_CLIENT is not set
    CONFIG_DOWNLOAD_CLIENT=y
    CONFIG_DOWNLOAD_CLIENT_BUF_SIZE=2048
    CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE=2048
    CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_2048=y
    # CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_1024 is not set
    # CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_512 is not set
    # CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_256 is not set
    
    #
    # Thread and stack buffers
    #
    CONFIG_DOWNLOAD_CLIENT_STACK_SIZE=4096
    CONFIG_DOWNLOAD_CLIENT_MAX_HOSTNAME_SIZE=64
    CONFIG_DOWNLOAD_CLIENT_MAX_FILENAME_SIZE=192
    CONFIG_DOWNLOAD_CLIENT_TCP_SOCK_TIMEO_MS=30000
    CONFIG_DOWNLOAD_CLIENT_UDP_SOCK_TIMEO_MS=4000
    CONFIG_DOWNLOAD_CLIENT_RANGE_REQUESTS=y
    # CONFIG_DOWNLOAD_CLIENT_IPV6 is not set
    # CONFIG_DOWNLOAD_CLIENT_LOG_LEVEL_OFF is not set
    # CONFIG_DOWNLOAD_CLIENT_LOG_LEVEL_ERR is not set
    # CONFIG_DOWNLOAD_CLIENT_LOG_LEVEL_WRN is not set
    CONFIG_DOWNLOAD_CLIENT_LOG_LEVEL_INF=y
    # CONFIG_DOWNLOAD_CLIENT_LOG_LEVEL_DBG is not set
    CONFIG_DOWNLOAD_CLIENT_LOG_LEVEL=3
    CONFIG_FOTA_DOWNLOAD=y
    CONFIG_FOTA_SOCKET_RETRIES=2
    # CONFIG_FOTA_DOWNLOAD_PROGRESS_EVT is not set
    CONFIG_FOTA_DOWNLOAD_MCUBOOT_FLASH_BUF_SZ=512
    # CONFIG_FOTA_DOWNLOAD_LOG_LEVEL_OFF is not set
    # CONFIG_FOTA_DOWNLOAD_LOG_LEVEL_ERR is not set
    # CONFIG_FOTA_DOWNLOAD_LOG_LEVEL_WRN is not set
    CONFIG_FOTA_DOWNLOAD_LOG_LEVEL_INF=y
    # CONFIG_FOTA_DOWNLOAD_LOG_LEVEL_DBG is not set
    CONFIG_FOTA_DOWNLOAD_LOG_LEVEL=3
    # CONFIG_AWS_IOT is not set
    # CONFIG_AWS_JOBS is not set
    # CONFIG_AZURE_IOT_HUB is not set
    # CONFIG_CLOUD_API is not set
    
    #
    # Self-Registration (Zi ZHu Ce)
    #
    # CONFIG_ZZHC is not set
    # end of Self-Registration (Zi ZHu Ce)
    
    # CONFIG_ICAL_PARSER is not set
    # CONFIG_FTP_CLIENT is not set
    # CONFIG_COAP_UTILS is not set
    # CONFIG_LWM2M_CLIENT_UTILS is not set
    # end of Application protocols
    
    # CONFIG_BUILD_WITH_TFM is not set
    # 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_PROFILER is not set
    
    #
    # SPM
    #
    CONFIG_SPM=y
    # CONFIG_SPM_BUILD_STRATEGY_USE_HEX_FILE is not set
    # CONFIG_SPM_BUILD_STRATEGY_SKIP_BUILD is not set
    CONFIG_SPM_BUILD_STRATEGY_FROM_SOURCE=y
    # CONFIG_IS_SPM is not set
    CONFIG_SPM_SECURE_SERVICES=y
    CONFIG_SPM_SERVICE_RNG=y
    CONFIG_SPM_SERVICE_READ=y
    # CONFIG_SPM_SERVICE_REBOOT is not set
    CONFIG_SPM_SERVICE_FIND_FIRMWARE_INFO=y
    CONFIG_SPM_SERVICE_S0_ACTIVE=y
    # CONFIG_SPM_SERVICE_PREVALIDATE is not set
    # CONFIG_SPM_SERVICE_BUSY_WAIT is not set
    # CONFIG_SPM_SERVICE_NS_HANDLER_FROM_SPM_FAULT is not set
    CONFIG_ARM_ENTRY_VENEERS_LIB_NAME="spm/libspmsecureentries.a"
    # end of SPM
    
    CONFIG_FW_INFO=y
    CONFIG_FW_INFO_OFFSET=0x200
    CONFIG_FW_INFO_FIRMWARE_VERSION=1
    CONFIG_FW_INFO_MAGIC_COMMON=0x281ee6de
    CONFIG_FW_INFO_MAGIC_FIRMWARE_INFO=0x8fcebb4c
    CONFIG_FW_INFO_MAGIC_EXT_API=0xb845acea
    CONFIG_FW_INFO_HARDWARE_ID=91
    CONFIG_FW_INFO_VERSION=2
    CONFIG_FW_INFO_CRYPTO_ID=0
    CONFIG_FW_INFO_MAGIC_COMPATIBILITY_ID=0
    CONFIG_FW_INFO_MAGIC_LEN=12
    CONFIG_FW_INFO_VALID_VAL=0x9102FFFF
    CONFIG_EXT_API_PROVIDE_EXT_API_UNUSED=y
    # CONFIG_EXT_API_PROVIDE_EXT_API_OPTIONAL is not set
    # CONFIG_EXT_API_PROVIDE_EXT_API_REQUIRED is not set
    # CONFIG_EXT_API_PROVIDE_EXT_API_ATLEAST_OPTIONAL is not set
    # CONFIG_EXT_API_PROVIDE_EXT_API_ENABLED is not set
    # CONFIG_PPI_TRACE is not set
    # CONFIG_CPU_LOAD is not set
    
    #
    # Nordic MPSL
    #
    # CONFIG_MPSL_CX is not set
    # CONFIG_MPSL_CX_LOG_LEVEL_OFF is not set
    # CONFIG_MPSL_CX_LOG_LEVEL_ERR is not set
    # CONFIG_MPSL_CX_LOG_LEVEL_WRN is not set
    CONFIG_MPSL_CX_LOG_LEVEL_INF=y
    # CONFIG_MPSL_CX_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_CX_LOG_LEVEL=3
    # 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=y
    # CONFIG_MPSL_FEM_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_FEM_LOG_LEVEL=3
    CONFIG_MPSL_THREAD_COOP_PRIO=8
    CONFIG_MPSL_SIGNAL_STACK_SIZE=1024
    CONFIG_MPSL_TIMESLOT_SESSION_COUNT=0
    # CONFIG_MPSL_ASSERT_HANDLER is not set
    # 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=y
    # CONFIG_MPSL_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_LOG_LEVEL=3
    # end of Nordic MPSL
    
    #
    # Partition Manager
    #
    CONFIG_PARTITION_MANAGER_ENABLED=y
    CONFIG_FLASH_MAP_CUSTOM=y
    CONFIG_SRAM_SIZE=128
    CONFIG_SRAM_BASE_ADDRESS=0x20020000
    
    #
    # Zephyr subsystem configurations
    #
    # end of Zephyr subsystem configurations
    
    #
    # Zephyr samples configurations
    #
    # end of Zephyr samples configurations
    
    #
    # NCS subsystem configurations
    #
    
    #
    # NCS samples configurations
    #
    # end of NCS samples configurations
    
    # CONFIG_PM_SINGLE_IMAGE is not set
    CONFIG_PM_EXTERNAL_FLASH_BASE=0
    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
    
    #
    # 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=y
    # CONFIG_MGMT_FMFU_LOG_LEVEL_DBG is not set
    CONFIG_MGMT_FMFU_LOG_LEVEL=3
    # 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_CDDL_GEN is not set
    CONFIG_TFM_BOARD="D:/TOOLCHAIN/v1.8.0/nrf/modules/tfm/tfm/boards/nrf9160"
    
    #
    # Libraries
    #
    # CONFIG_AGPS is not set
    # CONFIG_AGPS_LOG_LEVEL_OFF is not set
    # CONFIG_AGPS_LOG_LEVEL_ERR is not set
    # CONFIG_AGPS_LOG_LEVEL_WRN is not set
    CONFIG_AGPS_LOG_LEVEL_INF=y
    # CONFIG_AGPS_LOG_LEVEL_DBG is not set
    CONFIG_AGPS_LOG_LEVEL=3
    
    #
    # Binary libraries
    #
    # end of Binary libraries
    
    CONFIG_NRF_MODEM_LIB=y
    # CONFIG_NRF_MODEM_LIB_SYS_INIT is not set
    # CONFIG_NRF_MODEM_LIB_TRACE_ENABLED is not set
    # CONFIG_NRF91_SOCKET_SEND_SPLIT_LARGE_BLOCKS is not set
    CONFIG_NRF91_SOCKET_BLOCK_LIMIT=2048
    CONFIG_NRF_MODEM_LIB_SENDMSG_BUF_SIZE=128
    
    #
    # Heap and buffers
    #
    CONFIG_NRF_MODEM_LIB_HEAP_SIZE=1024
    CONFIG_NRF_MODEM_LIB_SHMEM_CTRL_SIZE=0x4e8
    CONFIG_NRF_MODEM_LIB_SHMEM_TX_SIZE=8192
    CONFIG_NRF_MODEM_LIB_SHMEM_RX_SIZE=8192
    CONFIG_NRF_MODEM_LIB_SHMEM_TRACE_SIZE=0
    
    #
    # Diagnostics
    #
    # CONFIG_NRF_MODEM_LIB_DEBUG_ALLOC is not set
    # CONFIG_NRF_MODEM_LIB_DEBUG_SHM_TX_ALLOC is not set
    # CONFIG_NRF_MODEM_LIB_HEAP_DUMP_PERIODIC is not set
    # CONFIG_NRF_MODEM_LIB_SHM_TX_DUMP_PERIODIC is not set
    # end of Diagnostics
    
    # CONFIG_NRF_MODEM_LIB_LOG_LEVEL_OFF is not set
    # CONFIG_NRF_MODEM_LIB_LOG_LEVEL_ERR is not set
    # CONFIG_NRF_MODEM_LIB_LOG_LEVEL_WRN is not set
    CONFIG_NRF_MODEM_LIB_LOG_LEVEL_INF=y
    # CONFIG_NRF_MODEM_LIB_LOG_LEVEL_DBG is not set
    CONFIG_NRF_MODEM_LIB_LOG_LEVEL=3
    # CONFIG_ADP536X is not set
    
    #
    # AT Command driver
    #
    # CONFIG_AT_CMD is not set
    # end of AT Command driver
    
    CONFIG_AT_MONITOR=y
    CONFIG_AT_MONITOR_HEAP_SIZE=256
    # CONFIG_AT_MONITOR_LOG_LEVEL_OFF is not set
    # CONFIG_AT_MONITOR_LOG_LEVEL_ERR is not set
    # CONFIG_AT_MONITOR_LOG_LEVEL_WRN is not set
    CONFIG_AT_MONITOR_LOG_LEVEL_INF=y
    # CONFIG_AT_MONITOR_LOG_LEVEL_DBG is not set
    CONFIG_AT_MONITOR_LOG_LEVEL=3
    CONFIG_LTE_LINK_CONTROL=y
    # CONFIG_LTE_AUTO_INIT_AND_CONNECT is not set
    # CONFIG_LTE_LOCK_BANDS is not set
    # CONFIG_LTE_LOCK_PLMN is not set
    # CONFIG_LTE_UNLOCK_PLMN is not set
    CONFIG_LTE_PSM_REQ_RPTAU="00000011"
    CONFIG_LTE_PSM_REQ_RAT="00100001"
    # CONFIG_LTE_EDRX_REQ is not set
    CONFIG_LTE_EDRX_REQ_VALUE_LTE_M="1001"
    CONFIG_LTE_EDRX_REQ_VALUE_NBIOT="1001"
    CONFIG_LTE_PTW_VALUE_LTE_M=""
    CONFIG_LTE_PTW_VALUE_NBIOT=""
    # CONFIG_LTE_NETWORK_DEFAULT is not set
    CONFIG_LTE_NETWORK_MODE_LTE_M=y
    # CONFIG_LTE_NETWORK_MODE_LTE_M_GPS is not set
    # CONFIG_LTE_NETWORK_MODE_NBIOT is not set
    # CONFIG_LTE_NETWORK_MODE_NBIOT_GPS is not set
    # CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT is not set
    # CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT_GPS is not set
    CONFIG_LTE_MODE_PREFERENCE_AUTO=y
    # CONFIG_LTE_MODE_PREFERENCE_LTE_M is not set
    # CONFIG_LTE_MODE_PREFERENCE_LTE_M_PLMN_PRIO is not set
    CONFIG_LTE_MODE_PREFERENCE=0
    CONFIG_LTE_RAI_REQ_VALUE="0"
    CONFIG_LTE_NETWORK_USE_FALLBACK=y
    CONFIG_LTE_NETWORK_TIMEOUT=600
    # CONFIG_LTE_LC_TAU_PRE_WARNING_NOTIFICATIONS is not set
    CONFIG_LTE_LC_TAU_PRE_WARNING_TIME_MS=5000
    CONFIG_LTE_LC_TAU_PRE_WARNING_THRESHOLD_MS=1200000
    CONFIG_LTE_NEIGHBOR_CELLS_MAX=10
    # CONFIG_LTE_LC_MODEM_SLEEP_NOTIFICATIONS is not set
    CONFIG_LTE_LC_MODEM_SLEEP_PRE_WARNING_TIME_MS=5000
    CONFIG_LTE_LC_MODEM_SLEEP_NOTIFICATIONS_THRESHOLD_MS=1200000
    # CONFIG_LTE_LC_TRACE is not set
    # CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_OFF is not set
    # CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_ERR is not set
    # CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_WRN is not set
    CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_INF=y
    # CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_DBG is not set
    CONFIG_LTE_LINK_CONTROL_LOG_LEVEL=3
    # CONFIG_FPROTECT is not set
    CONFIG_NRF_SPU_FLASH_REGION_SIZE=0x8000
    CONFIG_FPROTECT_BLOCK_SIZE=0x8000
    # CONFIG_AT_SMS_CERT is not set
    
    #
    # AT Host Library for nrf91
    #
    # end of AT Host Library for nrf91
    
    CONFIG_DK_LIBRARY=y
    CONFIG_DK_LIBRARY_BUTTON_SCAN_INTERVAL=10
    CONFIG_DK_LIBRARY_INVERT_BUTTONS=y
    # CONFIG_DK_LIBRARY_INVERT_LEDS is not set
    CONFIG_DK_LIBRARY_DYNAMIC_BUTTON_HANDLERS=y
    # CONFIG_DK_LIBRARY_LOG_LEVEL_OFF is not set
    # CONFIG_DK_LIBRARY_LOG_LEVEL_ERR is not set
    # CONFIG_DK_LIBRARY_LOG_LEVEL_WRN is not set
    CONFIG_DK_LIBRARY_LOG_LEVEL_INF=y
    # CONFIG_DK_LIBRARY_LOG_LEVEL_DBG is not set
    CONFIG_DK_LIBRARY_LOG_LEVEL=3
    CONFIG_AT_CMD_PARSER=y
    # CONFIG_MODEM_INFO is not set
    # CONFIG_PDN is not set
    CONFIG_RESET_ON_FATAL_ERROR=y
    # CONFIG_FATAL_ERROR_LOG_LEVEL_OFF is not set
    # CONFIG_FATAL_ERROR_LOG_LEVEL_ERR is not set
    # CONFIG_FATAL_ERROR_LOG_LEVEL_WRN is not set
    CONFIG_FATAL_ERROR_LOG_LEVEL_INF=y
    # CONFIG_FATAL_ERROR_LOG_LEVEL_DBG is not set
    CONFIG_FATAL_ERROR_LOG_LEVEL=3
    # CONFIG_SMS is not set
    CONFIG_MODEM_KEY_MGMT=y
    # CONFIG_MODEM_KEY_MGMT_LOG_LEVEL_OFF is not set
    # CONFIG_MODEM_KEY_MGMT_LOG_LEVEL_ERR is not set
    # CONFIG_MODEM_KEY_MGMT_LOG_LEVEL_WRN is not set
    CONFIG_MODEM_KEY_MGMT_LOG_LEVEL_INF=y
    # CONFIG_MODEM_KEY_MGMT_LOG_LEVEL_DBG is not set
    CONFIG_MODEM_KEY_MGMT_LOG_LEVEL=3
    # CONFIG_SUPL_CLIENT_LIB is not set
    # CONFIG_DATE_TIME 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_MODEM_ATTEST_TOKEN is not set
    # CONFIG_MULTICELL_LOCATION is not set
    # CONFIG_LOCATION is not set
    # end of Libraries
    
    #
    # Device Drivers
    #
    # CONFIG_BT_DRIVER_QUIRK_NO_AUTO_DLE is not set
    CONFIG_ENTROPY_CC3XX=y
    # CONFIG_ETH_RTT is not set
    # CONFIG_SENSOR is not set
    
    #
    # GPS Drivers
    #
    # CONFIG_GPS_SIM is not set
    # CONFIG_NRF9160_GPS is not set
    # end of GPS Drivers
    
    # CONFIG_NRF_SW_LPUART is not set
    CONFIG_FLASH=y
    # CONFIG_FLASH_NOP_DEVICE is not set
    # end of Device Drivers
    
    #
    # External libraries
    #
    # end of External libraries
    
    # CONFIG_UNITY is not set
    # end of Nordic nRF Connect
    
    CONFIG_ZEPHYR_NRF_MODULE=y
    # end of nrf (D:TOOLCHAINv1.8.0nrf)
    
    #
    # mcuboot (D:TOOLCHAINv1.8.0bootloadermcuboot)
    #
    
    #
    # MCUboot
    #
    CONFIG_SIGN_IMAGES=y
    # 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"
    CONFIG_MCUBOOT_FLASH_WRITE_BLOCK_SIZE=4
    CONFIG_DT_FLASH_WRITE_BLOCK_SIZE=4
    # end of MCUboot
    
    CONFIG_ZEPHYR_MCUBOOT_MODULE=y
    # end of mcuboot (D:TOOLCHAINv1.8.0bootloadermcuboot)
    
    #
    # trusted-firmware-m (D:TOOLCHAINv1.8.0modulesteetfm)
    #
    CONFIG_TFM_SECURE_UART1=y
    # CONFIG_TFM_MINIMAL is not set
    CONFIG_ZEPHYR_TRUSTED_FIRMWARE_M_MODULE=y
    # end of trusted-firmware-m (D:TOOLCHAINv1.8.0modulesteetfm)
    
    #
    # cjson (D:TOOLCHAINv1.8.0moduleslibcjson)
    #
    # CONFIG_CJSON_LIB is not set
    CONFIG_ZEPHYR_CJSON_MODULE=y
    # end of cjson (D:TOOLCHAINv1.8.0moduleslibcjson)
    
    #
    # pelion-dm (D:TOOLCHAINv1.8.0moduleslibpelion-dm)
    #
    # CONFIG_NEWLIB_LIBC_FLOAT_PRINTF is not set
    CONFIG_ZEPHYR_PELION_DM_MODULE=y
    # end of pelion-dm (D:TOOLCHAINv1.8.0moduleslibpelion-dm)
    
    #
    # cddl-gen (D:TOOLCHAINv1.8.0moduleslibcddl-gen)
    #
    CONFIG_ZEPHYR_CDDL_GEN_MODULE=y
    # end of cddl-gen (D:TOOLCHAINv1.8.0moduleslibcddl-gen)
    
    #
    # memfault-firmware-sdk (D:TOOLCHAINv1.8.0moduleslibmemfault-firmware-sdk)
    #
    # CONFIG_MEMFAULT is not set
    CONFIG_ZEPHYR_MEMFAULT_FIRMWARE_SDK_MODULE=y
    # end of memfault-firmware-sdk (D:TOOLCHAINv1.8.0moduleslibmemfault-firmware-sdk)
    
    #
    # CANopenNode (D:TOOLCHAINv1.8.0moduleslibcanopennode)
    #
    CONFIG_ZEPHYR_CANOPENNODE_MODULE=y
    # end of CANopenNode (D:TOOLCHAINv1.8.0moduleslibcanopennode)
    
    #
    # hal_nordic (D:TOOLCHAINv1.8.0moduleshalnordic)
    #
    CONFIG_ZEPHYR_HAL_NORDIC_MODULE=y
    # CONFIG_NRF_802154_SOURCE_HAL_NORDIC is not set
    CONFIG_HAS_NRFX=y
    
    #
    # nrfx drivers
    #
    CONFIG_NRFX_CLOCK=y
    CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED=y
    CONFIG_NRFX_DPPI=y
    # CONFIG_NRFX_EGU 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_NVMC=y
    # CONFIG_NRFX_PDM is not set
    # CONFIG_NRFX_POWER is not set
    # CONFIG_NRFX_PWM is not set
    # 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_RTC is not set
    # CONFIG_NRFX_RTC0 is not set
    # CONFIG_NRFX_RTC1 is not set
    # CONFIG_NRFX_SAADC is not set
    # CONFIG_NRFX_SPIM 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_SPIS is not set
    # CONFIG_NRFX_SPIS0 is not set
    # CONFIG_NRFX_SPIS1 is not set
    # CONFIG_NRFX_SPIS2 is not set
    # CONFIG_NRFX_SPIS3 is not set
    # CONFIG_NRFX_SYSTICK is not set
    # CONFIG_NRFX_TIMER is not set
    # CONFIG_NRFX_TIMER0 is not set
    # CONFIG_NRFX_TIMER1 is not set
    # CONFIG_NRFX_TIMER2 is not set
    # CONFIG_NRFX_TWIM 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_TWIS is not set
    # CONFIG_NRFX_TWIS0 is not set
    # CONFIG_NRFX_TWIS1 is not set
    # CONFIG_NRFX_TWIS2 is not set
    # CONFIG_NRFX_TWIS3 is not set
    # CONFIG_NRFX_UARTE 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_WDT is not set
    # CONFIG_NRFX_WDT0 is not set
    # CONFIG_NRFX_PRS is not set
    # 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 nrfx drivers
    # end of hal_nordic (D:TOOLCHAINv1.8.0moduleshalnordic)
    
    #
    # loramac-node (D:TOOLCHAINv1.8.0moduleslibloramac-node)
    #
    CONFIG_ZEPHYR_LORAMAC_NODE_MODULE=y
    # CONFIG_HAS_SEMTECH_RADIO_DRIVERS is not set
    # end of loramac-node (D:TOOLCHAINv1.8.0moduleslibloramac-node)
    
    #
    # lz4 (D:TOOLCHAINv1.8.0modulesliblz4)
    #
    CONFIG_ZEPHYR_LZ4_MODULE=y
    # CONFIG_LZ4 is not set
    # end of lz4 (D:TOOLCHAINv1.8.0modulesliblz4)
    
    #
    # mbedtls (D:TOOLCHAINv1.8.0modulescryptombedtls)
    #
    CONFIG_ZEPHYR_MBEDTLS_MODULE=y
    CONFIG_MBEDTLS_BUILTIN=y
    # CONFIG_MBEDTLS_LIBRARY is not set
    # end of mbedtls (D:TOOLCHAINv1.8.0modulescryptombedtls)
    
    #
    # nanopb (D:TOOLCHAINv1.8.0moduleslibnanopb)
    #
    CONFIG_ZEPHYR_NANOPB_MODULE=y
    # CONFIG_NANOPB is not set
    # end of nanopb (D:TOOLCHAINv1.8.0moduleslibnanopb)
    
    #
    # TraceRecorder (D:TOOLCHAINv1.8.0modulesdebugTraceRecorder)
    #
    CONFIG_ZEPHYR_TRACERECORDER_MODULE=y
    # end of TraceRecorder (D:TOOLCHAINv1.8.0modulesdebugTraceRecorder)
    
    #
    # nrfxlib (D:TOOLCHAINv1.8.0nrfxlib)
    #
    
    #
    # Nordic nrfxlib
    #
    CONFIG_NRF_MODEM=y
    CONFIG_NRF_MODEM_LINK_BINARY=y
    # CONFIG_NRF_MODEM_LOG is not set
    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_NRF_OBERON is not set
    # CONFIG_NRF_CC310_BL is not set
    # end of Crypto libraries for nRF5x SOCs.
    
    #
    # Nordic Security
    #
    # CONFIG_NORDIC_SECURITY_BACKEND is not set
    # end of Nordic Security
    
    # CONFIG_NRF_RPC is not set
    CONFIG_NRF_802154_SOURCE_NRFXLIB=y
    # end of Nordic nrfxlib
    
    CONFIG_ZEPHYR_NRFXLIB_MODULE=y
    # end of nrfxlib (D:TOOLCHAINv1.8.0nrfxlib)
    
    #
    # connectedhomeip (D:TOOLCHAINv1.8.0moduleslibmatter)
    #
    # CONFIG_CHIP is not set
    # CONFIG_CHIP_NFC_COMMISSIONING is not set
    CONFIG_ZEPHYR_CONNECTEDHOMEIP_MODULE=y
    # end of connectedhomeip (D:TOOLCHAINv1.8.0moduleslibmatter)
    
    #
    # Optional modules. Make sure they're installed, via the project manifest.
    #
    # CONFIG_CIVETWEB is not set
    CONFIG_HAS_CMSIS_CORE=y
    CONFIG_HAS_CMSIS_CORE_M=y
    # CONFIG_CMSIS_DSP is not set
    # CONFIG_LIBMETAL is not set
    # CONFIG_HAS_MEC_HAL is not set
    # CONFIG_OPENAMP is not set
    # CONFIG_SOF is not set
    # CONFIG_MIPI_SYST_LIB is not set
    # CONFIG_HAS_TELINK_DRIVERS is not set
    # CONFIG_TINYCBOR is not set
    CONFIG_MCUBOOT_BOOTUTIL_LIB=y
    CONFIG_MCUBOOT_BOOTUTIL_LIB_OWN_LOG=y
    # CONFIG_MCUBOOT_UTIL_LOG_LEVEL_OFF is not set
    # CONFIG_MCUBOOT_UTIL_LOG_LEVEL_ERR is not set
    # CONFIG_MCUBOOT_UTIL_LOG_LEVEL_WRN is not set
    CONFIG_MCUBOOT_UTIL_LOG_LEVEL_INF=y
    # CONFIG_MCUBOOT_UTIL_LOG_LEVEL_DBG is not set
    CONFIG_MCUBOOT_UTIL_LOG_LEVEL=3
    
    #
    # Unavailable modules, please install those via the project manifest.
    #
    # end of Modules
    
    # CONFIG_NET_DRIVERS is not set
    # CONFIG_BOARD_NRF9160DK_NRF9160 is not set
    CONFIG_BOARD_NRF9160DK_NRF9160_NS=y
    
    #
    # Board Options
    #
    # end of Board Options
    
    # CONFIG_SOC_SERIES_BEETLE is not set
    # CONFIG_SOC_SERIES_ARM_DESIGNSTART 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_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_SAMR21 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_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_XMC_4XXX 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 is not set
    CONFIG_SOC_SERIES_NRF91X=y
    # 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_IMX8MM_M4 is not set
    # CONFIG_SOC_SERIES_IMX_RT6XX is not set
    # CONFIG_SOC_SERIES_IMX_RT 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_LPC54XXX is not set
    # CONFIG_SOC_SERIES_LPC55XXX is not set
    # CONFIG_SOC_EOS_S3 is not set
    # CONFIG_SOC_SERIES_RCAR_GEN3 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_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_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_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_CC32XX is not set
    # CONFIG_SOC_SERIES_MSP432P4XX 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_SOC_FAMILY="nordic_nrf"
    CONFIG_SOC_FAMILY_NRF=y
    CONFIG_HAS_HW_NRF_CC310=y
    CONFIG_HAS_HW_NRF_CLOCK=y
    CONFIG_HAS_HW_NRF_DPPIC=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_GPIOTE=y
    CONFIG_HAS_HW_NRF_I2S=y
    CONFIG_HAS_HW_NRF_IPC=y
    CONFIG_HAS_HW_NRF_KMU=y
    CONFIG_HAS_HW_NRF_NVMC_PE=y
    CONFIG_HAS_HW_NRF_PDM=y
    CONFIG_HAS_HW_NRF_POWER=y
    CONFIG_HAS_HW_NRF_PWM0=y
    CONFIG_HAS_HW_NRF_PWM1=y
    CONFIG_HAS_HW_NRF_PWM2=y
    CONFIG_HAS_HW_NRF_PWM3=y
    CONFIG_HAS_HW_NRF_RTC0=y
    CONFIG_HAS_HW_NRF_RTC1=y
    CONFIG_HAS_HW_NRF_SAADC=y
    CONFIG_HAS_HW_NRF_SPIM0=y
    CONFIG_HAS_HW_NRF_SPIM1=y
    CONFIG_HAS_HW_NRF_SPIM2=y
    CONFIG_HAS_HW_NRF_SPIM3=y
    CONFIG_HAS_HW_NRF_SPIS0=y
    CONFIG_HAS_HW_NRF_SPIS1=y
    CONFIG_HAS_HW_NRF_SPIS2=y
    CONFIG_HAS_HW_NRF_SPIS3=y
    CONFIG_HAS_HW_NRF_SPU=y
    CONFIG_HAS_HW_NRF_TIMER0=y
    CONFIG_HAS_HW_NRF_TIMER1=y
    CONFIG_HAS_HW_NRF_TIMER2=y
    CONFIG_HAS_HW_NRF_TWIM0=y
    CONFIG_HAS_HW_NRF_TWIM1=y
    CONFIG_HAS_HW_NRF_TWIM2=y
    CONFIG_HAS_HW_NRF_TWIM3=y
    CONFIG_HAS_HW_NRF_TWIS0=y
    CONFIG_HAS_HW_NRF_TWIS1=y
    CONFIG_HAS_HW_NRF_TWIS2=y
    CONFIG_HAS_HW_NRF_TWIS3=y
    CONFIG_HAS_HW_NRF_UARTE0=y
    CONFIG_HAS_HW_NRF_UARTE1=y
    CONFIG_HAS_HW_NRF_UARTE2=y
    CONFIG_HAS_HW_NRF_UARTE3=y
    CONFIG_HAS_HW_NRF_WDT=y
    CONFIG_NRF_HW_RTC1_RESERVED=y
    CONFIG_NRF_ENABLE_ICACHE=y
    CONFIG_SOC_NRF9160=y
    CONFIG_SOC_NRF9160_SICA=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=y
    # CONFIG_SOC_LOG_LEVEL_DBG is not set
    CONFIG_SOC_LOG_LEVEL=3
    # end of Hardware Configuration
    
    CONFIG_SOC_COMPATIBLE_NRF=y
    
    #
    # ARM Options
    #
    CONFIG_ARCH="arm"
    CONFIG_CPU_CORTEX=y
    # CONFIG_CODE_DATA_RELOCATION is not set
    # CONFIG_CODE_DATA_RELOCATION_SRAM is not set
    CONFIG_CPU_CORTEX_M=y
    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_PLATFORM_SPECIFIC_INIT=y
    CONFIG_FAULT_DUMP=2
    CONFIG_BUILTIN_STACK_GUARD=y
    CONFIG_ARM_STACK_PROTECTION=y
    CONFIG_ARM_NONSECURE_FIRMWARE=y
    # CONFIG_ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS is not set
    CONFIG_FP16=y
    CONFIG_FP16_IEEE=y
    # CONFIG_FP16_ALT is not set
    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
    # end of ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options
    
    CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
    CONFIG_ARM_TRUSTZONE_M=y
    
    #
    # ARM TrustZone-M Options
    #
    
    #
    # Non-secure firmware
    #
    CONFIG_ARM_FIRMWARE_USES_SECURE_ENTRY_FUNCS=y
    # end of ARM TrustZone-M Options
    
    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=y
    # 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_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=y
    # CONFIG_ARCH_LOG_LEVEL_DBG is not set
    CONFIG_ARCH_LOG_LEVEL=3
    # CONFIG_MPU_LOG_LEVEL_OFF is not set
    # CONFIG_MPU_LOG_LEVEL_ERR is not set
    # CONFIG_MPU_LOG_LEVEL_WRN is not set
    CONFIG_MPU_LOG_LEVEL_INF=y
    # CONFIG_MPU_LOG_LEVEL_DBG is not set
    CONFIG_MPU_LOG_LEVEL=3
    # CONFIG_TRUSTED_EXECUTION_SECURE is not set
    CONFIG_TRUSTED_EXECUTION_NONSECURE=y
    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_GEN_SW_ISR_TABLE=y
    CONFIG_ARCH_SW_ISR_TABLE_ALIGN=0
    CONFIG_GEN_IRQ_START_VECTOR=0
    # CONFIG_EXTRA_EXCEPTION_INFO 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_THREAD_ABORT=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
    #
    # CONFIG_CACHE_MANAGEMENT is not set
    # end of Cache Options
    
    CONFIG_TOOLCHAIN_HAS_BUILTIN_FFS=y
    
    #
    # 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=y
    # CONFIG_KERNEL_LOG_LEVEL_DBG is not set
    CONFIG_KERNEL_LOG_LEVEL=3
    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
    CONFIG_DEVICE_HANDLE_PADDING=0
    
    #
    # 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_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_NUM_PIPE_ASYNC_MSGS=10
    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_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
    #
    # CONFIG_STACK_CANARIES is not set
    CONFIG_STACK_POINTER_RANDOM=0
    # end of Security Options
    
    #
    # SMP Options
    #
    CONFIG_MP_NUM_CPUS=1
    # end of SMP Options
    
    CONFIG_TICKLESS_KERNEL=y
    # end of General Kernel Options
    
    CONFIG_HAS_DTS=y
    CONFIG_HAS_DTS_GPIO=y
    
    #
    # Device Drivers
    #
    # CONFIG_IEEE802154 is not set
    # CONFIG_LORA is not set
    CONFIG_CONSOLE=y
    CONFIG_CONSOLE_INPUT_MAX_LINE_LEN=128
    CONFIG_CONSOLE_HAS_DRIVER=y
    # CONFIG_CONSOLE_HANDLER is not set
    CONFIG_UART_CONSOLE=y
    CONFIG_UART_CONSOLE_INIT_PRIORITY=60
    # CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS is not set
    # CONFIG_UART_CONSOLE_MCUMGR is not set
    CONFIG_UART_CONSOLE_INPUT_EXPIRED=y
    CONFIG_UART_CONSOLE_INPUT_EXPIRED_TIMEOUT=15000
    # CONFIG_RAM_CONSOLE is not set
    # CONFIG_IPM_CONSOLE_SENDER is not set
    # CONFIG_IPM_CONSOLE_RECEIVER is not set
    # CONFIG_UART_PIPE is not set
    # CONFIG_UART_MCUMGR is not set
    # CONFIG_SEMIHOST_CONSOLE is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_OFF is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_ERR is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_WRN is not set
    CONFIG_UART_CONSOLE_LOG_LEVEL_INF=y
    # CONFIG_UART_CONSOLE_LOG_LEVEL_DBG is not set
    CONFIG_UART_CONSOLE_LOG_LEVEL=3
    # CONFIG_GSM_MUX is not set
    CONFIG_HAS_SEGGER_RTT=y
    # CONFIG_USE_SEGGER_RTT is not set
    # CONFIG_EC_HOST_CMD_PERIPH is not set
    # CONFIG_MDIO is not set
    
    #
    # Capabilities
    #
    CONFIG_SERIAL_HAS_DRIVER=y
    CONFIG_SERIAL_SUPPORT_ASYNC=y
    CONFIG_SERIAL_SUPPORT_INTERRUPT=y
    CONFIG_SERIAL_INIT_PRIORITY=50
    CONFIG_UART_USE_RUNTIME_CONFIGURE=y
    # CONFIG_UART_ASYNC_API is not set
    # CONFIG_UART_LINE_CTRL is not set
    # CONFIG_UART_DRV_CMD is not set
    
    #
    # Serial Drivers
    #
    CONFIG_UART_NRFX=y
    CONFIG_UART_0_NRF_UARTE=y
    CONFIG_UART_0_ENHANCED_POLL_OUT=y
    # CONFIG_UART_0_NRF_PARITY_BIT is not set
    CONFIG_UART_0_NRF_TX_BUFFER_SIZE=32
    CONFIG_UART_ENHANCED_POLL_OUT=y
    CONFIG_NRF_UARTE_PERIPHERAL=y
    # CONFIG_UART_ALTERA_JTAG is not set
    # CONFIG_UART_XLNX_UARTLITE is not set
    
    #
    # Interrupt Controllers
    #
    # CONFIG_SWERV_PIC is not set
    # CONFIG_MULTI_LEVEL_INTERRUPTS is not set
    # CONFIG_INTC_ESP32 is not set
    # end of Interrupt Controllers
    
    #
    # Timer Drivers
    #
    # CONFIG_HPET_TIMER is not set
    CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=0
    # CONFIG_SYSTEM_CLOCK_NO_WAIT is not set
    # CONFIG_SYSTEM_CLOCK_WAIT_FOR_AVAILABILITY is not set
    CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY=y
    CONFIG_SYSTEM_CLOCK_DISABLE=y
    # 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
    # end of Timer Drivers
    
    CONFIG_ENTROPY_HAS_DRIVER=y
    # CONFIG_PCIE is not set
    # CONFIG_PCIE_ENDPOINT is not set
    # CONFIG_GPIO_LOG_LEVEL_OFF is not set
    # CONFIG_GPIO_LOG_LEVEL_ERR is not set
    # CONFIG_GPIO_LOG_LEVEL_WRN is not set
    CONFIG_GPIO_LOG_LEVEL_INF=y
    # CONFIG_GPIO_LOG_LEVEL_DBG is not set
    CONFIG_GPIO_LOG_LEVEL=3
    # CONFIG_GPIO_DW is not set
    CONFIG_GPIO_NRFX=y
    CONFIG_GPIO_NRF_INIT_PRIORITY=40
    CONFIG_GPIO_NRF_P0=y
    CONFIG_GPIO_NRF_INT_EDGE_USING_GPIOTE=y
    # CONFIG_GPIO_NRF_INT_EDGE_USING_SENSE is not set
    # CONFIG_GPIO_ITE_IT8XXX2 is not set
    # CONFIG_GPIO_INTEL is not set
    # CONFIG_GPIO_XLNX_AXI is not set
    # CONFIG_GPIO_EMUL is not set
    # CONFIG_GPIO_SNPS_CREG is not set
    # CONFIG_FXL6408_LOG_LEVEL_OFF is not set
    # CONFIG_FXL6408_LOG_LEVEL_ERR is not set
    # CONFIG_FXL6408_LOG_LEVEL_WRN is not set
    CONFIG_FXL6408_LOG_LEVEL_INF=y
    # CONFIG_FXL6408_LOG_LEVEL_DBG is not set
    CONFIG_FXL6408_LOG_LEVEL=3
    # CONFIG_SHARED_IRQ is not set
    # CONFIG_I2S is not set
    # CONFIG_PWM is not set
    # CONFIG_PINMUX is not set
    # CONFIG_ADC is not set
    # CONFIG_DAC 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=y
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_DBG is not set
    CONFIG_CLOCK_CONTROL_LOG_LEVEL=3
    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_500PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM is not set
    # 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=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_30PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM is not set
    CONFIG_CLOCK_CONTROL_NRF_ACCURACY=50
    # CONFIG_PTP_CLOCK is not set
    # CONFIG_IPM is not set
    CONFIG_FLASH_HAS_DRIVER_ENABLED=y
    CONFIG_FLASH_HAS_PAGE_LAYOUT=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=y
    # CONFIG_FLASH_LOG_LEVEL_DBG is not set
    CONFIG_FLASH_LOG_LEVEL=3
    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_EMULATE_ONE_BYTE_WRITE_ACCESS is not set
    # CONFIG_FLASH_SIMULATOR is not set
    # CONFIG_COUNTER is not set
    # CONFIG_DMA is not set
    # CONFIG_USB_DEVICE_DRIVER is not set
    # CONFIG_CRYPTO is not set
    # CONFIG_DISPLAY is not set
    # CONFIG_LED_STRIP is not set
    # CONFIG_LED is not set
    # CONFIG_CAN is not set
    # CONFIG_AUDIO is not set
    # CONFIG_NEURAL_NET_ACCEL is not set
    # CONFIG_HWINFO is not set
    # CONFIG_ESPI is not set
    # CONFIG_PS2 is not set
    # CONFIG_VIDEO is not set
    # CONFIG_EEPROM is not set
    # CONFIG_PECI is not set
    # CONFIG_PECI_INTERRUPT_DRIVEN is not set
    # CONFIG_REGULATOR is not set
    # CONFIG_MEMC is not set
    # CONFIG_VIRTUALIZATION is not set
    # CONFIG_EDAC is not set
    # CONFIG_PM_CPU_OPS is not set
    
    #
    # Miscellaneous Drivers
    #
    # end of Miscellaneous Drivers
    
    # CONFIG_DISK_DRIVERS is not set
    # CONFIG_CACHE is not set
    # CONFIG_SYSCON is not set
    # CONFIG_BBRAM is not set
    # CONFIG_FPGA is not set
    # end of Device Drivers
    
    #
    # C Library
    #
    CONFIG_SUPPORT_MINIMAL_LIBC=y
    # CONFIG_MINIMAL_LIBC is not set
    CONFIG_NEWLIB_LIBC=y
    # CONFIG_EXTERNAL_LIBC is not set
    CONFIG_HAS_NEWLIB_LIBC_NANO=y
    CONFIG_NEWLIB_LIBC_NANO=y
    CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=2048
    # CONFIG_NEWLIB_LIBC_FLOAT_SCANF is not set
    CONFIG_STDOUT_CONSOLE=y
    # end of C Library
    
    #
    # Additional libraries
    #
    # CONFIG_LVGL is not set
    
    #
    # OS Support Library
    #
    # CONFIG_JSON_LIBRARY is not set
    # CONFIG_RING_BUFFER is not set
    # CONFIG_BASE64 is not set
    # CONFIG_SYS_HEAP_VALIDATE is not set
    CONFIG_SYS_HEAP_ALLOC_LOOPS=3
    # CONFIG_PRINTK_SYNC is not set
    CONFIG_MPSC_PBUF=y
    # CONFIG_MPSC_CLEAR_ALLOCATED is not set
    CONFIG_REBOOT=y
    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
    # end of OS Support Library
    
    CONFIG_POSIX_MAX_FDS=4
    # CONFIG_POSIX_API is not set
    # CONFIG_PTHREAD_IPC is not set
    # CONFIG_POSIX_CLOCK is not set
    CONFIG_MAX_TIMER_COUNT=5
    # CONFIG_POSIX_MQUEUE is not set
    # CONFIG_EVENTFD is not set
    # CONFIG_OPENAMP_RSC_TABLE is not set
    
    #
    # Util libraries
    #
    # CONFIG_FNMATCH is not set
    # CONFIG_GETOPT is not set
    # end of Util libraries
    # end of Additional libraries
    
    #
    # Sub Systems and OS Services
    #
    # CONFIG_BT is not set
    
    #
    # 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
    # CONFIG_CPLUSPLUS 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=y
    CONFIG_ASSERT_LEVEL=2
    CONFIG_SPIN_VALIDATE=y
    # CONFIG_FORCE_NO_ASSERT is not set
    CONFIG_ASSERT_VERBOSE=y
    # CONFIG_ASSERT_NO_FILE_INFO is not set
    CONFIG_ASSERT_NO_COND_INFO=y
    CONFIG_ASSERT_NO_MSG_INFO=y
    # CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT is not set
    # CONFIG_DEBUG_INFO is not set
    # CONFIG_OPENOCD_SUPPORT 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_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_RPMSG_MULTI_INSTANCE is not set
    # CONFIG_IPC_SERVICE is not set
    # end of Inter Processor Communication
    
    # CONFIG_JWT is not set
    CONFIG_LOG=y
    CONFIG_LOG_MODE_DEFERRED=y
    # CONFIG_LOG2_MODE_DEFERRED is not set
    # CONFIG_LOG2_MODE_IMMEDIATE is not set
    # CONFIG_LOG_MODE_IMMEDIATE is not set
    # CONFIG_LOG_MODE_MINIMAL is not set
    # CONFIG_LOG_FRONTEND is not set
    CONFIG_LOG_MINIMAL=y
    
    #
    # Logging levels filtering
    #
    CONFIG_LOG_OVERRIDE_LEVEL=0
    CONFIG_LOG_MAX_LEVEL=4
    # end of Logging levels filtering
    
    #
    # Misc
    #
    CONFIG_LOG2_USE_VLA=y
    # CONFIG_LOG2_ALWAYS_RUNTIME is not set
    # CONFIG_LOG2_FMT_SECTION is not set
    # end of Misc
    
    #
    # Device Management
    #
    
    #
    # Host command handler subsystem
    #
    # CONFIG_EC_HOST_CMD is not set
    # end of Host command handler subsystem
    
    # CONFIG_MCUMGR is not set
    # CONFIG_HAWKBIT is not set
    # CONFIG_UPDATEHUB is not set
    # CONFIG_OSDP is not set
    # end of Device Management
    
    # CONFIG_MODBUS is not set
    
    #
    # Networking
    #
    CONFIG_NET_BUF=y
    CONFIG_NET_BUF_USER_DATA_SIZE=4
    # CONFIG_NET_BUF_LOG is not set
    # CONFIG_NET_BUF_LOG_LEVEL_OFF is not set
    # CONFIG_NET_BUF_LOG_LEVEL_ERR is not set
    # CONFIG_NET_BUF_LOG_LEVEL_WRN is not set
    CONFIG_NET_BUF_LOG_LEVEL_INF=y
    # CONFIG_NET_BUF_LOG_LEVEL_DBG is not set
    CONFIG_NET_BUF_LOG_LEVEL=3
    # CONFIG_NET_BUF_POOL_USAGE is not set
    CONFIG_NETWORKING=y
    # CONFIG_NET_HOSTNAME_ENABLE is not set
    
    #
    # Link layer options
    #
    # CONFIG_NET_L2_DUMMY is not set
    # CONFIG_NET_L2_BT_SHELL is not set
    # CONFIG_NET_L2_VIRTUAL is not set
    # CONFIG_NET_L2_PPP is not set
    # CONFIG_NET_L2_OPENTHREAD is not set
    # CONFIG_NET_L2_CANBUS_RAW is not set
    # CONFIG_NET_L2_ZIGBEE is not set
    # CONFIG_NET_L2_WIFI_MGMT is not set
    # CONFIG_NET_L2_WIFI_SHELL is not set
    # end of Link layer options
    
    #
    # IP stack
    #
    # CONFIG_NET_NATIVE is not set
    # CONFIG_NET_OFFLOAD is not set
    CONFIG_NET_INIT_PRIO=90
    CONFIG_NET_IF_MAX_IPV6_COUNT=1
    CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=2
    CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=3
    CONFIG_NET_IF_IPV6_PREFIX_COUNT=2
    CONFIG_NET_INITIAL_HOP_LIMIT=64
    CONFIG_NET_IPV6_MAX_NEIGHBORS=8
    # CONFIG_NET_IPV6_FRAGMENT is not set
    CONFIG_NET_IPV6_ND=y
    CONFIG_NET_IPV6_DAD=y
    CONFIG_NET_IPV6_RA_RDNSS=y
    # CONFIG_NET_6LO is not set
    CONFIG_NET_IPV6_LOG_LEVEL=0
    CONFIG_NET_ICMPV6_LOG_LEVEL=0
    CONFIG_NET_IPV6_NBR_CACHE_LOG_LEVEL=0
    # CONFIG_NET_IPV4 is not set
    # CONFIG_NET_SHELL is not set
    CONFIG_NET_TC_TX_COUNT=0
    CONFIG_NET_TC_RX_COUNT=1
    # CONFIG_NET_TC_SKIP_FOR_HIGH_PRIO is not set
    CONFIG_NET_TC_THREAD_COOPERATIVE=y
    # CONFIG_NET_TC_THREAD_PREEMPTIVE is not set
    CONFIG_NET_TC_NUM_PRIORITIES=16
    CONFIG_NET_TC_MAPPING_STRICT=y
    CONFIG_NET_TX_DEFAULT_PRIORITY=1
    CONFIG_NET_RX_DEFAULT_PRIORITY=0
    CONFIG_NET_IP_ADDR_CHECK=y
    CONFIG_NET_MAX_ROUTERS=1
    CONFIG_NET_ROUTE=y
    CONFIG_NET_MAX_ROUTES=8
    CONFIG_NET_MAX_NEXTHOPS=8
    # CONFIG_NET_ROUTE_MCAST is not set
    # CONFIG_NET_TCP is not set
    # CONFIG_NET_TEST_PROTOCOL is not set
    CONFIG_NET_UDP=y
    CONFIG_NET_UDP_CHECKSUM=y
    CONFIG_NET_UDP_LOG_LEVEL=0
    CONFIG_NET_MAX_CONN=4
    CONFIG_NET_MAX_CONTEXTS=6
    # CONFIG_NET_CONTEXT_NET_PKT_POOL is not set
    CONFIG_NET_CONTEXT_SYNC_RECV=y
    CONFIG_NET_CONTEXT_CHECK=y
    # CONFIG_NET_CONTEXT_PRIORITY is not set
    # CONFIG_NET_CONTEXT_TXTIME is not set
    # CONFIG_NET_CONTEXT_RCVTIMEO is not set
    # CONFIG_NET_CONTEXT_SNDTIMEO is not set
    # CONFIG_NET_TEST is not set
    # CONFIG_NET_TRICKLE is not set
    CONFIG_NET_BUF_RX_COUNT=16
    CONFIG_NET_BUF_TX_COUNT=16
    CONFIG_NET_BUF_FIXED_DATA_SIZE=y
    # CONFIG_NET_BUF_VARIABLE_DATA_SIZE is not set
    CONFIG_NET_BUF_DATA_SIZE=128
    CONFIG_NET_DEFAULT_IF_FIRST=y
    # CONFIG_NET_PKT_TIMESTAMP is not set
    # CONFIG_NET_PKT_TXTIME is not set
    # CONFIG_NET_PROMISCUOUS_MODE is not set
    # CONFIG_NET_DISABLE_ICMP_DESTINATION_UNREACHABLE is not set
    
    #
    # Stack usage
    #
    CONFIG_NET_TX_STACK_SIZE=1200
    CONFIG_NET_RX_STACK_SIZE=1500
    # end of Stack usage
    
    # CONFIG_NET_MGMT is not set
    CONFIG_NET_PKT_LOG_LEVEL=0
    # CONFIG_NET_DEBUG_NET_PKT_ALLOC is not set
    CONFIG_NET_DEBUG_NET_PKT_EXTERNALS=0
    # CONFIG_NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS is not set
    CONFIG_NET_CORE_LOG_LEVEL=0
    CONFIG_NET_IF_LOG_LEVEL=0
    CONFIG_NET_TC_LOG_LEVEL=0
    CONFIG_NET_UTILS_LOG_LEVEL=0
    CONFIG_NET_CONTEXT_LOG_LEVEL=0
    CONFIG_NET_CONN_LOG_LEVEL=0
    CONFIG_NET_ROUTE_LOG_LEVEL=0
    # end of IP stack
    
    #
    # Network Protocols
    #
    # CONFIG_COAP is not set
    # CONFIG_DNS_SD is not set
    # CONFIG_MQTT_LIB is not set
    # CONFIG_TFTP_LIB is not set
    # CONFIG_HTTP_PARSER is not set
    # CONFIG_HTTP_PARSER_URL is not set
    # CONFIG_HTTP_CLIENT is not set
    CONFIG_NET_HTTP_LOG_LEVEL=0
    # CONFIG_WEBSOCKET_CLIENT is not set
    # CONFIG_LWM2M is not set
    # CONFIG_SOCKS is not set
    # CONFIG_SNTP is not set
    # end of Network Protocols
    
    #
    # Network Libraries
    #
    CONFIG_NET_CONFIG_AUTO_INIT=y
    CONFIG_NET_CONFIG_INIT_PRIO=95
    CONFIG_NET_CONFIG_INIT_TIMEOUT=30
    # CONFIG_NET_CONFIG_NEED_IPV6_ROUTER is not set
    # CONFIG_NET_CONFIG_NEED_IPV4 is not set
    CONFIG_NET_CONFIG_LOG_LEVEL=0
    # CONFIG_NET_CONFIG_SETTINGS is not set
    CONFIG_NET_SOCKETS=y
    CONFIG_NET_SOCKETS_PRIORITY_DEFAULT=50
    CONFIG_NET_SOCKETS_POSIX_NAMES=y
    CONFIG_NET_SOCKETS_POLL_MAX=3
    CONFIG_NET_SOCKETS_CONNECT_TIMEOUT=3000
    # CONFIG_NET_SOCKETS_SOCKOPT_TLS is not set
    CONFIG_NET_SOCKETS_TLS_PRIORITY=45
    CONFIG_NET_SOCKETS_TLS_SET_MAX_FRAGMENT_LENGTH=y
    CONFIG_NET_SOCKETS_OFFLOAD=y
    CONFIG_NET_SOCKETS_OFFLOAD_TLS=y
    # CONFIG_NET_SOCKETS_PACKET is not set
    # CONFIG_NET_SOCKETS_CAN is not set
    # CONFIG_NET_SOCKETPAIR is not set
    CONFIG_NET_SOCKETS_LOG_LEVEL=0
    # CONFIG_TLS_CREDENTIALS is not set
    # end of Network Libraries
    
    #
    # Network additional services
    #
    # CONFIG_NET_CAPTURE is not set
    # end of Network additional services
    # end of Networking
    
    #
    # Portability
    #
    # end of Portability
    
    #
    # Power Management
    #
    # CONFIG_SYS_POWER_MANAGEMENT is not set
    # CONFIG_PM_DEBUG is not set
    CONFIG_PM_POLICY_RESIDENCY=y
    # CONFIG_PM_POLICY_DUMMY is not set
    # CONFIG_PM_POLICY_APP is not set
    CONFIG_PM_POLICY_RESIDENCY_DEFAULT=y
    # CONFIG_PM_LOG_LEVEL_OFF is not set
    # CONFIG_PM_LOG_LEVEL_ERR is not set
    # CONFIG_PM_LOG_LEVEL_WRN is not set
    CONFIG_PM_LOG_LEVEL_INF=y
    # CONFIG_PM_LOG_LEVEL_DBG is not set
    CONFIG_PM_LOG_LEVEL=3
    # CONFIG_DEVICE_POWER_MANAGEMENT is not set
    # end of Power Management
    
    # CONFIG_SHELL is not set
    # CONFIG_STATS is not set
    # CONFIG_USB_DEVICE_STACK is not set
    CONFIG_IMG_MANAGER=y
    CONFIG_MCUBOOT_IMG_MANAGER=y
    CONFIG_MCUBOOT_TRAILER_SWAP_TYPE=y
    CONFIG_IMG_BLOCK_BUF_SIZE=512
    CONFIG_IMG_ERASE_PROGRESSIVELY=y
    # CONFIG_IMG_ENABLE_IMAGE_CHECK is not set
    # CONFIG_IMG_MANAGER_LOG_LEVEL_OFF is not set
    # CONFIG_IMG_MANAGER_LOG_LEVEL_ERR is not set
    # CONFIG_IMG_MANAGER_LOG_LEVEL_WRN is not set
    CONFIG_IMG_MANAGER_LOG_LEVEL_INF=y
    # CONFIG_IMG_MANAGER_LOG_LEVEL_DBG is not set
    CONFIG_IMG_MANAGER_LOG_LEVEL=3
    CONFIG_UPDATEABLE_IMAGE_NUMBER=1
    
    #
    # Random Number Generators
    #
    CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR=y
    # CONFIG_XOROSHIRO_RANDOM_GENERATOR is not set
    # CONFIG_XOSHIRO_RANDOM_GENERATOR is not set
    CONFIG_CSPRING_ENABLED=y
    CONFIG_HARDWARE_DEVICE_CS_GENERATOR=y
    # end of Random Number Generators
    
    #
    # Storage
    #
    CONFIG_FLASH_MAP=y
    # CONFIG_FLASH_AREA_CHECK_INTEGRITY is not set
    CONFIG_STREAM_FLASH=y
    CONFIG_STREAM_FLASH_ERASE=y
    # CONFIG_STREAM_FLASH_LOG_LEVEL_OFF is not set
    # CONFIG_STREAM_FLASH_LOG_LEVEL_ERR is not set
    # CONFIG_STREAM_FLASH_LOG_LEVEL_WRN is not set
    CONFIG_STREAM_FLASH_LOG_LEVEL_INF=y
    # CONFIG_STREAM_FLASH_LOG_LEVEL_DBG is not set
    CONFIG_STREAM_FLASH_LOG_LEVEL=3
    # end of Storage
    
    # CONFIG_SETTINGS is not set
    # CONFIG_TASK_WDT is not set
    
    #
    # Testing
    #
    # CONFIG_ZTEST is not set
    # CONFIG_ZTEST_MOCKING is not set
    # CONFIG_TEST is not set
    # CONFIG_TEST_USERSPACE is not set
    # end of Testing
    
    # CONFIG_TIMING_FUNCTIONS is not set
    # CONFIG_TRACING is not set
    # end of Sub Systems and OS Services
    
    CONFIG_TOOLCHAIN_GNUARMEMB=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
    # end of Linker Sections
    # end of Linker Options
    
    #
    # Compiler Options
    #
    # CONFIG_CODING_GUIDELINE_CHECK is not set
    # CONFIG_NATIVE_APPLICATION is not set
    CONFIG_SIZE_OPTIMIZATIONS=y
    # CONFIG_SPEED_OPTIMIZATIONS is not set
    # CONFIG_DEBUG_OPTIMIZATIONS is not set
    # CONFIG_NO_OPTIMIZATIONS is not set
    CONFIG_COMPILER_COLOR_DIAGNOSTICS=y
    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_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
    # end of Build Options
    
    CONFIG_EXPERIMENTAL=y
    # end of Build and Link Features
    
    #
    # Boot Options
    #
    # CONFIG_IS_BOOTLOADER is not set
    CONFIG_BOOTLOADER_MCUBOOT=y
    CONFIG_MCUBOOT_SIGNATURE_KEY_FILE=""
    CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS=""
    # CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE is not set
    # CONFIG_BOOTLOADER_BOSSA is not set
    # end of Boot Options
    
    #
    # Compatibility
    #
    CONFIG_COMPAT_INCLUDES=y
    # end of Compatibility
    # end of Zephyr Kernel
    
    #
    # 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_BOOT_USE_NRF_CC310_BL=y
    CONFIG_MCUBOOT_NRF_CLEANUP_PERIPHERAL=y
    CONFIG_BOOT_SIGNATURE_KEY_FILE="root-ec-p256.pem"
    # CONFIG_BOOT_NRF_EXTERNAL_CRYPTO is not set
    CONFIG_BOOT_ERASE_PROGRESSIVELY=y
    # CONFIG_BOOT_IMAGE_ACCESS_HOOKS is not set
    CONFIG_MCUBOOT=y
    CONFIG_BOOT_USE_CC310=y
    CONFIG_NRFXLIB_CRYPTO=y
    CONFIG_NRF_CC310_BL=y
    
    #
    # MCUBoot settings
    #
    # CONFIG_SINGLE_APPLICATION_SLOT is not set
    # CONFIG_BOOT_SIGNATURE_TYPE_NONE is not set
    # CONFIG_BOOT_SIGNATURE_TYPE_RSA is not set
    CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    # CONFIG_BOOT_ECDSA_TINYCRYPT is not set
    CONFIG_BOOT_ECDSA_CC310=y
    # CONFIG_BOOT_SIGNATURE_TYPE_ED25519 is not set
    # CONFIG_MCUBOOT_CLEANUP_ARM_CORE is not set
    CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h"
    # CONFIG_BOOT_HW_KEY is not set
    CONFIG_BOOT_VALIDATE_SLOT0=y
    # CONFIG_BOOT_SWAP_USING_SCRATCH is not set
    CONFIG_BOOT_UPGRADE_ONLY=y
    # CONFIG_BOOT_SWAP_USING_MOVE is not set
    # CONFIG_BOOT_DIRECT_XIP is not set
    # CONFIG_BOOT_BOOTSTRAP is not set
    # CONFIG_BOOT_SWAP_SAVE_ENCTLV is not set
    # CONFIG_BOOT_ENCRYPT_RSA is not set
    # CONFIG_BOOT_ENCRYPT_EC256 is not set
    # CONFIG_BOOT_ENCRYPT_X25519 is not set
    CONFIG_BOOT_MAX_IMG_SECTORS=128
    # CONFIG_MEASURED_BOOT is not set
    # CONFIG_BOOT_SHARE_DATA 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_ZEPHYR_TRY_MASS_ERASE=y
    # 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=3
    CONFIG_MCUBOOT_LOG_THREAD_STACK_SIZE=768
    # CONFIG_MCUBOOT_SERIAL is not set
    # CONFIG_BOOT_INTR_VEC_RELOC is not set
    CONFIG_UPDATEABLE_IMAGE_NUMBER=1
    CONFIG_MCUBOOT_DOWNGRADE_PREVENTION=y
    # CONFIG_MCUBOOT_HW_DOWNGRADE_PREVENTION is not set
    CONFIG_BOOT_WATCHDOG_FEED=y
    # end of MCUBoot settings
    
    CONFIG_MCUBOOT_DEVICE_SETTINGS=y
    
    #
    # Zephyr configuration options
    #
    # CONFIG_MULTITHREADING is not set
    CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
    CONFIG_GPIO=y
    # CONFIG_SPI is not set
    # CONFIG_I2C is not set
    # CONFIG_KSCAN is not set
    # CONFIG_WIFI is not set
    # CONFIG_MODEM is not set
    CONFIG_UART_INTERRUPT_DRIVEN=y
    CONFIG_BOARD="nrf9160dk_nrf9160"
    CONFIG_FLASH_LOAD_SIZE=0x10000
    CONFIG_FLASH_LOAD_OFFSET=0x0
    CONFIG_SOC="nRF9160_SICA"
    CONFIG_SOC_SERIES="nrf91"
    CONFIG_NUM_IRQS=65
    CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768
    CONFIG_HEAP_MEM_POOL_SIZE=0
    CONFIG_ROM_START_OFFSET=0
    # CONFIG_WATCHDOG is not set
    # CONFIG_UART_NS16550 is not set
    # CONFIG_PM is not set
    # CONFIG_PM_DEVICE is not set
    CONFIG_SOC_HAS_TIMING_FUNCTIONS=y
    CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT=y
    # CONFIG_CORTEX_M_SYSTICK is not set
    CONFIG_CLOCK_CONTROL=y
    CONFIG_NRF_RTC_TIMER=y
    CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768
    CONFIG_BUILD_OUTPUT_HEX=y
    CONFIG_FPU=y
    CONFIG_FLASH_SIZE=1024
    CONFIG_FLASH_BASE_ADDRESS=0x0
    # CONFIG_MBEDTLS is not set
    CONFIG_TEST_EXTRA_STACKSIZE=0
    # CONFIG_GPIO_MCUX is not set
    # CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS is not set
    # CONFIG_TINYCRYPT is not set
    CONFIG_SERIAL=y
    # CONFIG_UART_PL011 is not set
    # CONFIG_SRAM_VECTOR_TABLE is not set
    
    #
    # Modules
    #
    
    #
    # Available modules.
    #
    
    #
    # nrf (D:TOOLCHAINv1.8.0nrf)
    #
    CONFIG_NUM_METAIRQ_PRIORITIES=0
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024
    CONFIG_MAIN_STACK_SIZE=10240
    # CONFIG_INIT_STACKS is not set
    
    #
    # Nordic nRF Connect
    #
    CONFIG_WARN_EXPERIMENTAL=y
    CONFIG_PRIVILEGED_STACK_SIZE=1024
    # CONFIG_ENTROPY_GENERATOR is not set
    CONFIG_INIT_ARCH_HW_AT_BOOT=y
    CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    # CONFIG_NCS_SAMPLES_DEFAULTS is not set
    CONFIG_LOG_DEFAULT_LEVEL=0
    
    #
    # 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_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
    #
    
    #
    # BLE over nRF RPC
    #
    # end of BLE over nRF RPC
    # end of Bluetooth Low Energy
    
    #
    # DFU
    #
    
    #
    # DFU
    #
    # CONFIG_DFU_TARGET is not set
    # end of DFU
    # 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
    #
    # CONFIG_NRF_CLOUD_MQTT is not set
    # CONFIG_NRF_CLOUD_REST is not set
    
    #
    # 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_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=y
    # CONFIG_NRF_CLOUD_LOG_LEVEL_DBG is not set
    CONFIG_NRF_CLOUD_LOG_LEVEL=3
    # 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
    # CONFIG_CLOUD_API 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
    # 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_PROFILER is not set
    
    #
    # SPM
    #
    # CONFIG_SPM is not set
    # CONFIG_IS_SPM is not set
    # end of SPM
    
    # CONFIG_FW_INFO is not set
    # CONFIG_PPI_TRACE is not set
    # CONFIG_CPU_LOAD is not set
    
    #
    # Nordic MPSL
    #
    # CONFIG_MPSL_CX is not set
    # CONFIG_MPSL_CX_LOG_LEVEL_OFF is not set
    # CONFIG_MPSL_CX_LOG_LEVEL_ERR is not set
    # CONFIG_MPSL_CX_LOG_LEVEL_WRN is not set
    CONFIG_MPSL_CX_LOG_LEVEL_INF=y
    # CONFIG_MPSL_CX_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_CX_LOG_LEVEL=3
    # 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=y
    # CONFIG_MPSL_FEM_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_FEM_LOG_LEVEL=3
    CONFIG_MPSL_THREAD_COOP_PRIO=8
    CONFIG_MPSL_SIGNAL_STACK_SIZE=1024
    CONFIG_MPSL_TIMESLOT_SESSION_COUNT=0
    # CONFIG_MPSL_ASSERT_HANDLER is not set
    # 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=y
    # CONFIG_MPSL_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_LOG_LEVEL=3
    # end of Nordic MPSL
    
    #
    # Partition Manager
    #
    # CONFIG_PARTITION_MANAGER_ENABLED is not set
    # CONFIG_FLASH_MAP_CUSTOM is not set
    CONFIG_SRAM_SIZE=88
    CONFIG_SRAM_BASE_ADDRESS=0x20000000
    
    #
    # Zephyr subsystem configurations
    #
    # end of Zephyr subsystem configurations
    
    #
    # Zephyr samples configurations
    #
    # end of Zephyr samples configurations
    
    #
    # NCS subsystem configurations
    #
    
    #
    # NCS samples configurations
    #
    # end of NCS samples configurations
    
    # CONFIG_PM_SINGLE_IMAGE is not set
    CONFIG_PM_EXTERNAL_FLASH_BASE=0
    # CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY 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
    
    #
    # 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=y
    # CONFIG_MGMT_FMFU_LOG_LEVEL_DBG is not set
    CONFIG_MGMT_FMFU_LOG_LEVEL=3
    # 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_CDDL_GEN is not set
    
    #
    # Libraries
    #
    # CONFIG_AGPS_LOG_LEVEL_OFF is not set
    # CONFIG_AGPS_LOG_LEVEL_ERR is not set
    # CONFIG_AGPS_LOG_LEVEL_WRN is not set
    CONFIG_AGPS_LOG_LEVEL_INF=y
    # CONFIG_AGPS_LOG_LEVEL_DBG is not set
    CONFIG_AGPS_LOG_LEVEL=3
    
    #
    # Binary libraries
    #
    # end of Binary libraries
    
    # CONFIG_NRF_MODEM_LIB is not set
    # CONFIG_ADP536X is not set
    
    #
    # AT Command driver
    #
    # end of AT Command driver
    
    # CONFIG_AT_MONITOR is not set
    # CONFIG_LTE_LINK_CONTROL is not set
    CONFIG_FPROTECT=y
    CONFIG_NRF_SPU_FLASH_REGION_SIZE=0x8000
    CONFIG_FPROTECT_BLOCK_SIZE=0x8000
    # CONFIG_AT_SMS_CERT is not set
    
    #
    # AT Host Library for nrf91
    #
    # end of AT Host Library for nrf91
    
    # CONFIG_DK_LIBRARY is not set
    # CONFIG_MODEM_INFO is not set
    CONFIG_RESET_ON_FATAL_ERROR=y
    # CONFIG_FATAL_ERROR_LOG_LEVEL_OFF is not set
    # CONFIG_FATAL_ERROR_LOG_LEVEL_ERR is not set
    # CONFIG_FATAL_ERROR_LOG_LEVEL_WRN is not set
    CONFIG_FATAL_ERROR_LOG_LEVEL_INF=y
    # CONFIG_FATAL_ERROR_LOG_LEVEL_DBG is not set
    CONFIG_FATAL_ERROR_LOG_LEVEL=3
    # CONFIG_SMS is not set
    # CONFIG_SUPL_CLIENT_LIB is not set
    # CONFIG_DATE_TIME 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
    # 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_SENSOR is not set
    
    #
    # GPS Drivers
    #
    # CONFIG_GPS_SIM is not set
    # end of GPS Drivers
    
    # CONFIG_NRF_SW_LPUART is not set
    CONFIG_FLASH=y
    # CONFIG_FLASH_NOP_DEVICE is not set
    # end of Device Drivers
    
    #
    # External libraries
    #
    # end of External libraries
    
    # CONFIG_UNITY is not set
    # end of Nordic nRF Connect
    
    CONFIG_ZEPHYR_NRF_MODULE=y
    # end of nrf (D:TOOLCHAINv1.8.0nrf)
    
    #
    # mcuboot (D:TOOLCHAINv1.8.0bootloadermcuboot)
    #
    
    #
    # MCUboot
    #
    CONFIG_SIGN_IMAGES=y
    CONFIG_DT_FLASH_WRITE_BLOCK_SIZE=4
    # end of MCUboot
    
    CONFIG_ZEPHYR_MCUBOOT_MODULE=y
    # end of mcuboot (D:TOOLCHAINv1.8.0bootloadermcuboot)
    
    #
    # trusted-firmware-m (D:TOOLCHAINv1.8.0modulesteetfm)
    #
    # CONFIG_TFM_MINIMAL is not set
    CONFIG_ZEPHYR_TRUSTED_FIRMWARE_M_MODULE=y
    # end of trusted-firmware-m (D:TOOLCHAINv1.8.0modulesteetfm)
    
    #
    # cjson (D:TOOLCHAINv1.8.0moduleslibcjson)
    #
    CONFIG_ZEPHYR_CJSON_MODULE=y
    # end of cjson (D:TOOLCHAINv1.8.0moduleslibcjson)
    
    #
    # pelion-dm (D:TOOLCHAINv1.8.0moduleslibpelion-dm)
    #
    CONFIG_ZEPHYR_PELION_DM_MODULE=y
    # end of pelion-dm (D:TOOLCHAINv1.8.0moduleslibpelion-dm)
    
    #
    # cddl-gen (D:TOOLCHAINv1.8.0moduleslibcddl-gen)
    #
    CONFIG_ZEPHYR_CDDL_GEN_MODULE=y
    # end of cddl-gen (D:TOOLCHAINv1.8.0moduleslibcddl-gen)
    
    #
    # memfault-firmware-sdk (D:TOOLCHAINv1.8.0moduleslibmemfault-firmware-sdk)
    #
    # CONFIG_MEMFAULT is not set
    CONFIG_ZEPHYR_MEMFAULT_FIRMWARE_SDK_MODULE=y
    # end of memfault-firmware-sdk (D:TOOLCHAINv1.8.0moduleslibmemfault-firmware-sdk)
    
    #
    # CANopenNode (D:TOOLCHAINv1.8.0moduleslibcanopennode)
    #
    CONFIG_ZEPHYR_CANOPENNODE_MODULE=y
    # end of CANopenNode (D:TOOLCHAINv1.8.0moduleslibcanopennode)
    
    #
    # hal_nordic (D:TOOLCHAINv1.8.0moduleshalnordic)
    #
    CONFIG_ZEPHYR_HAL_NORDIC_MODULE=y
    # CONFIG_NRF_802154_SOURCE_HAL_NORDIC is not set
    CONFIG_HAS_NRFX=y
    
    #
    # nrfx drivers
    #
    CONFIG_NRFX_CLOCK=y
    CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED=y
    CONFIG_NRFX_DPPI=y
    # CONFIG_NRFX_EGU 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 is not set
    CONFIG_NRFX_NVMC=y
    # CONFIG_NRFX_PDM is not set
    # CONFIG_NRFX_POWER is not set
    # CONFIG_NRFX_PWM is not set
    # 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_RTC is not set
    # CONFIG_NRFX_RTC0 is not set
    # CONFIG_NRFX_RTC1 is not set
    # CONFIG_NRFX_SAADC is not set
    # CONFIG_NRFX_SPIM 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_SPIS is not set
    # CONFIG_NRFX_SPIS0 is not set
    # CONFIG_NRFX_SPIS1 is not set
    # CONFIG_NRFX_SPIS2 is not set
    # CONFIG_NRFX_SPIS3 is not set
    # CONFIG_NRFX_SYSTICK is not set
    # CONFIG_NRFX_TIMER is not set
    # CONFIG_NRFX_TIMER0 is not set
    # CONFIG_NRFX_TIMER1 is not set
    # CONFIG_NRFX_TIMER2 is not set
    # CONFIG_NRFX_TWIM 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_TWIS is not set
    # CONFIG_NRFX_TWIS0 is not set
    # CONFIG_NRFX_TWIS1 is not set
    # CONFIG_NRFX_TWIS2 is not set
    # CONFIG_NRFX_TWIS3 is not set
    # CONFIG_NRFX_UARTE 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_WDT=y
    CONFIG_NRFX_WDT0=y
    # CONFIG_NRFX_PRS is not set
    # 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 nrfx drivers
    # end of hal_nordic (D:TOOLCHAINv1.8.0moduleshalnordic)
    
    #
    # loramac-node (D:TOOLCHAINv1.8.0moduleslibloramac-node)
    #
    CONFIG_ZEPHYR_LORAMAC_NODE_MODULE=y
    # CONFIG_HAS_SEMTECH_RADIO_DRIVERS is not set
    # end of loramac-node (D:TOOLCHAINv1.8.0moduleslibloramac-node)
    
    #
    # lz4 (D:TOOLCHAINv1.8.0modulesliblz4)
    #
    CONFIG_ZEPHYR_LZ4_MODULE=y
    # CONFIG_LZ4 is not set
    # end of lz4 (D:TOOLCHAINv1.8.0modulesliblz4)
    
    #
    # mbedtls (D:TOOLCHAINv1.8.0modulescryptombedtls)
    #
    CONFIG_ZEPHYR_MBEDTLS_MODULE=y
    CONFIG_MBEDTLS_BUILTIN=y
    # CONFIG_MBEDTLS_LIBRARY is not set
    # end of mbedtls (D:TOOLCHAINv1.8.0modulescryptombedtls)
    
    #
    # nanopb (D:TOOLCHAINv1.8.0moduleslibnanopb)
    #
    CONFIG_ZEPHYR_NANOPB_MODULE=y
    # CONFIG_NANOPB is not set
    # end of nanopb (D:TOOLCHAINv1.8.0moduleslibnanopb)
    
    #
    # TraceRecorder (D:TOOLCHAINv1.8.0modulesdebugTraceRecorder)
    #
    CONFIG_ZEPHYR_TRACERECORDER_MODULE=y
    # end of TraceRecorder (D:TOOLCHAINv1.8.0modulesdebugTraceRecorder)
    
    #
    # nrfxlib (D:TOOLCHAINv1.8.0nrfxlib)
    #
    
    #
    # Nordic nrfxlib
    #
    # CONFIG_NRF_MODEM_LOG is not set
    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_CRYPTOCELL_CC310_USABLE=y
    CONFIG_CRYPTOCELL_USABLE=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.
    
    #
    # Nordic Security
    #
    # CONFIG_NORDIC_SECURITY_BACKEND is not set
    # end of Nordic Security
    
    # CONFIG_NRF_RPC is not set
    CONFIG_NRF_802154_SOURCE_NRFXLIB=y
    # end of Nordic nrfxlib
    
    CONFIG_ZEPHYR_NRFXLIB_MODULE=y
    # end of nrfxlib (D:TOOLCHAINv1.8.0nrfxlib)
    
    #
    # connectedhomeip (D:TOOLCHAINv1.8.0moduleslibmatter)
    #
    # CONFIG_CHIP is not set
    # CONFIG_CHIP_NFC_COMMISSIONING is not set
    CONFIG_ZEPHYR_CONNECTEDHOMEIP_MODULE=y
    # end of connectedhomeip (D:TOOLCHAINv1.8.0moduleslibmatter)
    
    #
    # Optional modules. Make sure they're installed, via the project manifest.
    #
    # CONFIG_CIVETWEB is not set
    CONFIG_HAS_CMSIS_CORE=y
    CONFIG_HAS_CMSIS_CORE_M=y
    # CONFIG_LIBMETAL is not set
    # CONFIG_HAS_MEC_HAL is not set
    # CONFIG_OPENAMP is not set
    # CONFIG_SOF is not set
    # CONFIG_MIPI_SYST_LIB is not set
    # CONFIG_HAS_TELINK_DRIVERS is not set
    # CONFIG_TINYCBOR is not set
    CONFIG_MCUBOOT_BOOTUTIL_LIB=y
    
    #
    # Unavailable modules, please install those via the project manifest.
    #
    # end of Modules
    
    # CONFIG_NET_DRIVERS is not set
    CONFIG_BOARD_NRF9160DK_NRF9160=y
    # CONFIG_BOARD_NRF9160DK_NRF9160_NS is not set
    
    #
    # Board Options
    #
    # end of Board Options
    
    # CONFIG_SOC_SERIES_BEETLE is not set
    # CONFIG_SOC_SERIES_ARM_DESIGNSTART 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_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_SAMR21 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_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_XMC_4XXX 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 is not set
    CONFIG_SOC_SERIES_NRF91X=y
    # 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_IMX8MM_M4 is not set
    # CONFIG_SOC_SERIES_IMX_RT6XX is not set
    # CONFIG_SOC_SERIES_IMX_RT 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_LPC54XXX is not set
    # CONFIG_SOC_SERIES_LPC55XXX is not set
    # CONFIG_SOC_EOS_S3 is not set
    # CONFIG_SOC_SERIES_RCAR_GEN3 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_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_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_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_CC32XX is not set
    # CONFIG_SOC_SERIES_MSP432P4XX 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_SOC_FAMILY="nordic_nrf"
    CONFIG_SOC_FAMILY_NRF=y
    CONFIG_HAS_HW_NRF_CC310=y
    CONFIG_HAS_HW_NRF_CLOCK=y
    CONFIG_HAS_HW_NRF_DPPIC=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_GPIOTE=y
    CONFIG_HAS_HW_NRF_I2S=y
    CONFIG_HAS_HW_NRF_IPC=y
    CONFIG_HAS_HW_NRF_KMU=y
    CONFIG_HAS_HW_NRF_NVMC_PE=y
    CONFIG_HAS_HW_NRF_PDM=y
    CONFIG_HAS_HW_NRF_POWER=y
    CONFIG_HAS_HW_NRF_PWM0=y
    CONFIG_HAS_HW_NRF_PWM1=y
    CONFIG_HAS_HW_NRF_PWM2=y
    CONFIG_HAS_HW_NRF_PWM3=y
    CONFIG_HAS_HW_NRF_RTC0=y
    CONFIG_HAS_HW_NRF_RTC1=y
    CONFIG_HAS_HW_NRF_SAADC=y
    CONFIG_HAS_HW_NRF_SPIM0=y
    CONFIG_HAS_HW_NRF_SPIM1=y
    CONFIG_HAS_HW_NRF_SPIM2=y
    CONFIG_HAS_HW_NRF_SPIM3=y
    CONFIG_HAS_HW_NRF_SPIS0=y
    CONFIG_HAS_HW_NRF_SPIS1=y
    CONFIG_HAS_HW_NRF_SPIS2=y
    CONFIG_HAS_HW_NRF_SPIS3=y
    CONFIG_HAS_HW_NRF_SPU=y
    CONFIG_HAS_HW_NRF_TIMER0=y
    CONFIG_HAS_HW_NRF_TIMER1=y
    CONFIG_HAS_HW_NRF_TIMER2=y
    CONFIG_HAS_HW_NRF_TWIM0=y
    CONFIG_HAS_HW_NRF_TWIM1=y
    CONFIG_HAS_HW_NRF_TWIM2=y
    CONFIG_HAS_HW_NRF_TWIM3=y
    CONFIG_HAS_HW_NRF_TWIS0=y
    CONFIG_HAS_HW_NRF_TWIS1=y
    CONFIG_HAS_HW_NRF_TWIS2=y
    CONFIG_HAS_HW_NRF_TWIS3=y
    CONFIG_HAS_HW_NRF_UARTE0=y
    CONFIG_HAS_HW_NRF_UARTE1=y
    CONFIG_HAS_HW_NRF_UARTE2=y
    CONFIG_HAS_HW_NRF_UARTE3=y
    CONFIG_HAS_HW_NRF_WDT=y
    CONFIG_NRF_HW_RTC1_RESERVED=y
    CONFIG_NRF_ENABLE_ICACHE=y
    CONFIG_SOC_NRF9160=y
    CONFIG_SOC_NRF9160_SICA=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=y
    # CONFIG_SOC_LOG_LEVEL_DBG is not set
    CONFIG_SOC_LOG_LEVEL=3
    # end of Hardware Configuration
    
    CONFIG_SOC_COMPATIBLE_NRF=y
    
    #
    # ARM Options
    #
    CONFIG_ARCH="arm"
    CONFIG_CPU_CORTEX=y
    # CONFIG_CODE_DATA_RELOCATION is not set
    # CONFIG_CODE_DATA_RELOCATION_SRAM is not set
    CONFIG_CPU_CORTEX_M=y
    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_PLATFORM_SPECIFIC_INIT=y
    CONFIG_FAULT_DUMP=2
    CONFIG_BUILTIN_STACK_GUARD=y
    CONFIG_ARM_STACK_PROTECTION=y
    CONFIG_FP_HARDABI=y
    # CONFIG_FP_SOFTABI is not set
    CONFIG_FP16=y
    CONFIG_FP16_IEEE=y
    # CONFIG_FP16_ALT is not set
    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
    # 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=y
    # 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_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=y
    # CONFIG_ARCH_LOG_LEVEL_DBG is not set
    CONFIG_ARCH_LOG_LEVEL=3
    # CONFIG_MPU_LOG_LEVEL_OFF is not set
    # CONFIG_MPU_LOG_LEVEL_ERR is not set
    # CONFIG_MPU_LOG_LEVEL_WRN is not set
    CONFIG_MPU_LOG_LEVEL_INF=y
    # CONFIG_MPU_LOG_LEVEL_DBG is not set
    CONFIG_MPU_LOG_LEVEL=3
    # 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_GEN_SW_ISR_TABLE=y
    CONFIG_ARCH_SW_ISR_TABLE_ALIGN=0
    CONFIG_GEN_IRQ_START_VECTOR=0
    # CONFIG_EXTRA_EXCEPTION_INFO 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_THREAD_ABORT=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
    #
    # CONFIG_CACHE_MANAGEMENT is not set
    # end of Cache Options
    
    CONFIG_TOOLCHAIN_HAS_BUILTIN_FFS=y
    
    #
    # 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=y
    # CONFIG_KERNEL_LOG_LEVEL_DBG is not set
    CONFIG_KERNEL_LOG_LEVEL=3
    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_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
    CONFIG_DEVICE_HANDLE_PADDING=0
    
    #
    # 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=-2
    # 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_POLL is not set
    # 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_NUM_PIPE_ASYNC_MSGS=10
    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_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
    # end of General Kernel Options
    
    CONFIG_HAS_DTS=y
    CONFIG_HAS_DTS_GPIO=y
    
    #
    # Device Drivers
    #
    # CONFIG_IEEE802154 is not set
    # CONFIG_LORA is not set
    CONFIG_CONSOLE=y
    CONFIG_CONSOLE_INPUT_MAX_LINE_LEN=128
    CONFIG_CONSOLE_HAS_DRIVER=y
    CONFIG_CONSOLE_HANDLER=y
    CONFIG_UART_CONSOLE=y
    CONFIG_UART_CONSOLE_INIT_PRIORITY=60
    # CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS is not set
    # CONFIG_UART_CONSOLE_MCUMGR is not set
    # CONFIG_RAM_CONSOLE is not set
    # CONFIG_IPM_CONSOLE_SENDER is not set
    # CONFIG_IPM_CONSOLE_RECEIVER is not set
    # CONFIG_UART_PIPE is not set
    # CONFIG_UART_MCUMGR is not set
    # CONFIG_SEMIHOST_CONSOLE is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_OFF is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_ERR is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_WRN is not set
    CONFIG_UART_CONSOLE_LOG_LEVEL_INF=y
    # CONFIG_UART_CONSOLE_LOG_LEVEL_DBG is not set
    CONFIG_UART_CONSOLE_LOG_LEVEL=3
    # CONFIG_GSM_MUX is not set
    CONFIG_HAS_SEGGER_RTT=y
    # CONFIG_USE_SEGGER_RTT is not set
    # CONFIG_EC_HOST_CMD_PERIPH is not set
    # CONFIG_MDIO is not set
    
    #
    # Capabilities
    #
    CONFIG_SERIAL_HAS_DRIVER=y
    CONFIG_SERIAL_SUPPORT_ASYNC=y
    CONFIG_SERIAL_SUPPORT_INTERRUPT=y
    CONFIG_SERIAL_INIT_PRIORITY=50
    CONFIG_UART_USE_RUNTIME_CONFIGURE=y
    # CONFIG_UART_ASYNC_API is not set
    # CONFIG_UART_LINE_CTRL is not set
    # CONFIG_UART_DRV_CMD is not set
    
    #
    # Serial Drivers
    #
    CONFIG_UART_NRFX=y
    CONFIG_UART_0_NRF_UARTE=y
    CONFIG_UART_0_ENHANCED_POLL_OUT=y
    CONFIG_UART_0_INTERRUPT_DRIVEN=y
    # CONFIG_UART_0_NRF_PARITY_BIT is not set
    CONFIG_UART_0_NRF_TX_BUFFER_SIZE=32
    CONFIG_UART_1_NRF_UARTE=y
    CONFIG_UART_1_INTERRUPT_DRIVEN=y
    CONFIG_UART_1_ENHANCED_POLL_OUT=y
    # CONFIG_UART_1_NRF_PARITY_BIT is not set
    CONFIG_UART_1_NRF_TX_BUFFER_SIZE=32
    CONFIG_UART_ENHANCED_POLL_OUT=y
    CONFIG_NRF_UARTE_PERIPHERAL=y
    # CONFIG_UART_ALTERA_JTAG is not set
    # CONFIG_UART_XLNX_UARTLITE is not set
    
    #
    # Interrupt Controllers
    #
    # CONFIG_SWERV_PIC is not set
    # CONFIG_MULTI_LEVEL_INTERRUPTS is not set
    # CONFIG_INTC_ESP32 is not set
    # end of Interrupt Controllers
    
    #
    # Timer Drivers
    #
    # CONFIG_HPET_TIMER is not set
    CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=0
    # CONFIG_SYSTEM_CLOCK_NO_WAIT is not set
    # CONFIG_SYSTEM_CLOCK_WAIT_FOR_AVAILABILITY is not set
    CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY=y
    CONFIG_SYSTEM_CLOCK_DISABLE=y
    # 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
    # end of Timer Drivers
    
    # CONFIG_PCIE is not set
    # CONFIG_PCIE_ENDPOINT is not set
    # CONFIG_GPIO_LOG_LEVEL_OFF is not set
    # CONFIG_GPIO_LOG_LEVEL_ERR is not set
    # CONFIG_GPIO_LOG_LEVEL_WRN is not set
    CONFIG_GPIO_LOG_LEVEL_INF=y
    # CONFIG_GPIO_LOG_LEVEL_DBG is not set
    CONFIG_GPIO_LOG_LEVEL=3
    # CONFIG_GPIO_DW is not set
    CONFIG_GPIO_NRFX=y
    CONFIG_GPIO_NRF_INIT_PRIORITY=40
    CONFIG_GPIO_NRF_P0=y
    CONFIG_GPIO_NRF_INT_EDGE_USING_GPIOTE=y
    # CONFIG_GPIO_NRF_INT_EDGE_USING_SENSE is not set
    # CONFIG_GPIO_ITE_IT8XXX2 is not set
    # CONFIG_GPIO_INTEL is not set
    # CONFIG_GPIO_XLNX_AXI is not set
    # CONFIG_GPIO_EMUL is not set
    # CONFIG_GPIO_SNPS_CREG is not set
    # CONFIG_FXL6408_LOG_LEVEL_OFF is not set
    # CONFIG_FXL6408_LOG_LEVEL_ERR is not set
    # CONFIG_FXL6408_LOG_LEVEL_WRN is not set
    CONFIG_FXL6408_LOG_LEVEL_INF=y
    # CONFIG_FXL6408_LOG_LEVEL_DBG is not set
    CONFIG_FXL6408_LOG_LEVEL=3
    # CONFIG_SHARED_IRQ is not set
    # CONFIG_I2S is not set
    # CONFIG_PWM is not set
    # CONFIG_PINMUX is not set
    # CONFIG_ADC is not set
    # CONFIG_DAC 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=y
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_DBG is not set
    CONFIG_CLOCK_CONTROL_LOG_LEVEL=3
    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_500PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM is not set
    # 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=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_30PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM is not set
    CONFIG_CLOCK_CONTROL_NRF_ACCURACY=50
    # CONFIG_PTP_CLOCK is not set
    # CONFIG_IPM is not set
    CONFIG_FLASH_HAS_DRIVER_ENABLED=y
    CONFIG_FLASH_HAS_PAGE_LAYOUT=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=y
    # CONFIG_FLASH_LOG_LEVEL_DBG is not set
    CONFIG_FLASH_LOG_LEVEL=3
    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_FLASH_SIMULATOR is not set
    # CONFIG_COUNTER is not set
    # CONFIG_DMA is not set
    # CONFIG_USB_DEVICE_DRIVER is not set
    # CONFIG_CRYPTO is not set
    # CONFIG_DISPLAY is not set
    # CONFIG_LED_STRIP is not set
    # CONFIG_LED is not set
    # CONFIG_CAN is not set
    # CONFIG_AUDIO is not set
    # CONFIG_NEURAL_NET_ACCEL is not set
    # CONFIG_HWINFO is not set
    # CONFIG_ESPI is not set
    # CONFIG_PS2 is not set
    # CONFIG_VIDEO is not set
    # CONFIG_EEPROM is not set
    # CONFIG_PECI is not set
    # CONFIG_PECI_INTERRUPT_DRIVEN is not set
    # CONFIG_REGULATOR is not set
    # CONFIG_MEMC is not set
    # CONFIG_VIRTUALIZATION is not set
    # CONFIG_EDAC is not set
    # CONFIG_PM_CPU_OPS is not set
    
    #
    # Miscellaneous Drivers
    #
    # end of Miscellaneous Drivers
    
    # CONFIG_DISK_DRIVERS is not set
    # CONFIG_CACHE is not set
    # CONFIG_SYSCON is not set
    # CONFIG_BBRAM is not set
    # CONFIG_FPGA is not set
    # end of Device Drivers
    
    #
    # C Library
    #
    CONFIG_SUPPORT_MINIMAL_LIBC=y
    CONFIG_MINIMAL_LIBC=y
    # CONFIG_NEWLIB_LIBC is not set
    # CONFIG_EXTERNAL_LIBC is not set
    CONFIG_HAS_NEWLIB_LIBC_NANO=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_STDOUT_CONSOLE=y
    # end of C Library
    
    #
    # Additional libraries
    #
    # CONFIG_LVGL is not set
    
    #
    # OS Support Library
    #
    # CONFIG_JSON_LIBRARY is not set
    # CONFIG_RING_BUFFER is not set
    # CONFIG_BASE64 is not set
    # CONFIG_SYS_HEAP_VALIDATE is not set
    CONFIG_SYS_HEAP_ALLOC_LOOPS=3
    # CONFIG_PRINTK_SYNC is not set
    # CONFIG_MPSC_PBUF is not set
    CONFIG_REBOOT=y
    # 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_LONGDOUBLE is not set
    # CONFIG_CBPRINTF_STATIC_PACKAGE_CHECK_ALIGNMENT is not set
    # end of OS Support Library
    
    CONFIG_POSIX_MAX_FDS=4
    # CONFIG_POSIX_API is not set
    # CONFIG_PTHREAD_IPC is not set
    # CONFIG_POSIX_CLOCK is not set
    CONFIG_MAX_TIMER_COUNT=5
    # CONFIG_POSIX_MQUEUE is not set
    # CONFIG_EVENTFD is not set
    # CONFIG_OPENAMP_RSC_TABLE is not set
    
    #
    # Util libraries
    #
    # CONFIG_FNMATCH is not set
    # CONFIG_GETOPT is not set
    # end of Util libraries
    # end of Additional libraries
    
    #
    # Sub Systems and OS Services
    #
    # CONFIG_BT is not set
    
    #
    # 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
    # CONFIG_CPLUSPLUS 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_OVERRIDE_FRAME_POINTER_DEFAULT is not set
    # CONFIG_DEBUG_INFO is not set
    # CONFIG_OPENOCD_SUPPORT 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_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_RPMSG_MULTI_INSTANCE is not set
    # CONFIG_IPC_SERVICE is not set
    # end of Inter Processor Communication
    
    # CONFIG_JWT is not set
    CONFIG_LOG=y
    # CONFIG_LOG_MODE_DEFERRED is not set
    # CONFIG_LOG2_MODE_DEFERRED is not set
    # CONFIG_LOG2_MODE_IMMEDIATE is not set
    # CONFIG_LOG_MODE_IMMEDIATE is not set
    CONFIG_LOG_MODE_MINIMAL=y
    # CONFIG_LOG_FRONTEND is not set
    CONFIG_LOG_MINIMAL=y
    
    #
    # Logging levels filtering
    #
    CONFIG_LOG_OVERRIDE_LEVEL=0
    CONFIG_LOG_MAX_LEVEL=4
    # end of Logging levels filtering
    
    #
    # Misc
    #
    CONFIG_LOG2_USE_VLA=y
    # CONFIG_LOG2_ALWAYS_RUNTIME is not set
    # CONFIG_LOG2_FMT_SECTION is not set
    # end of Misc
    
    #
    # Device Management
    #
    
    #
    # Host command handler subsystem
    #
    # CONFIG_EC_HOST_CMD is not set
    # end of Host command handler subsystem
    
    # CONFIG_MCUMGR is not set
    # CONFIG_HAWKBIT is not set
    # CONFIG_UPDATEHUB is not set
    # CONFIG_OSDP is not set
    # end of Device Management
    
    # CONFIG_MODBUS is not set
    
    #
    # Networking
    #
    # CONFIG_NET_BUF is not set
    # CONFIG_NETWORKING is not set
    # end of Networking
    
    #
    # Portability
    #
    # end of Portability
    
    #
    # Power Management
    #
    # CONFIG_SYS_POWER_MANAGEMENT is not set
    # CONFIG_DEVICE_POWER_MANAGEMENT is not set
    # end of Power Management
    
    # CONFIG_SHELL is not set
    # CONFIG_STATS is not set
    # CONFIG_USB_DEVICE_STACK is not set
    # CONFIG_IMG_MANAGER is not set
    
    #
    # Random Number Generators
    #
    # CONFIG_TEST_RANDOM_GENERATOR is not set
    # end of Random Number Generators
    
    #
    # Storage
    #
    CONFIG_FLASH_MAP=y
    # CONFIG_FLASH_AREA_CHECK_INTEGRITY is not set
    # CONFIG_STREAM_FLASH is not set
    # end of Storage
    
    # CONFIG_SETTINGS is not set
    # CONFIG_TASK_WDT is not set
    
    #
    # Testing
    #
    # CONFIG_ZTEST is not set
    # CONFIG_ZTEST_MOCKING is not set
    # CONFIG_TEST is not set
    # CONFIG_TEST_USERSPACE is not set
    # end of Testing
    
    # CONFIG_TIMING_FUNCTIONS is not set
    # CONFIG_TRACING is not set
    # end of Sub Systems and OS Services
    
    CONFIG_TOOLCHAIN_GNUARMEMB=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
    # end of Linker Sections
    # end of Linker Options
    
    #
    # Compiler Options
    #
    # CONFIG_CODING_GUIDELINE_CHECK is not set
    # CONFIG_NATIVE_APPLICATION is not set
    CONFIG_SIZE_OPTIMIZATIONS=y
    # CONFIG_SPEED_OPTIMIZATIONS is not set
    # CONFIG_DEBUG_OPTIMIZATIONS is not set
    # CONFIG_NO_OPTIMIZATIONS is not set
    CONFIG_COMPILER_COLOR_DIAGNOSTICS=y
    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_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
    # end of Build Options
    # end of Build and Link Features
    
    #
    # Boot Options
    #
    # CONFIG_IS_BOOTLOADER is not set
    # CONFIG_BOOTLOADER_BOSSA is not set
    # end of Boot Options
    
    #
    # Compatibility
    #
    CONFIG_COMPAT_INCLUDES=y
    # end of Compatibility
    
    #
    # Copyright (c) 2019 Nordic Semiconductor
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    
    cmake_minimum_required(VERSION 3.20.0)
    #JEFF create a mcuboot.conf for preventing downgrade
    set(mcuboot_OVERLAY_CONFIG ${CMAKE_CURRENT_LIST_DIR}/mcuboot.conf)
    
    find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
    project(application_update)
    
    # NORDIC SDK APP START
    target_sources(app PRIVATE src/main.c)
    target_sources(app PRIVATE ../common/src/update.c)
    target_include_directories(app PRIVATE ../common/include)
    # NORDIC SDK APP END
    
    
    
    

    8880.mcuboot.conf

  • I tested this myself, and it seems like there is some bugs with the OVERLAY_CONFIG functionality. I will report internally as a bug*

    Instead I added the MCUBoot configs in the CMakeListst.txt like this:

    set(mcuboot_CONFIG_MCUBOOT_DOWNGRADE_PREVENTION
        y
    )
    set(mcuboot_CONFIG_BOOT_UPGRADE_ONLY
        y
    )
    

    Could you test the following sample with NCS v1.8.0:

    mcuboot_prevent_downgrade.zip

    • Build it using the board nrf9160dk_nrf9160_ns
    • You should get the following output:

    ...
    ...
    ...
    29 NRF_PDM              Non-Secure      OK
    30 NRF_I2S              Non-Secure      OK
    31 NRF_GPIOTE1          Non-Secure      OK
    
    SPM: NS image at 0x20200
    SPM: NS MSP at 0x200154d0
    SPM: NS reset vector at 0x216cd
    SPM: prepare to jump to Non-Secure image.
    *** Booting Zephyr OS build v2.7.0-ncs1  ***
    MCUBOOT IMAGE VERSION: 1.0.0
    Hello World! nrf9160dk_nrf9160

    • Next, change CONFIG_MCUBOOT_IMAGE_VERSION to "0.0.0" in mcuboot_prevent_downgrade/prj.conf
    • Build the sample again (pristine) without flashing it
      • Make sure CONFIG_MCUBOOT_IMAGE_VERSION is "0.0.0" in <sample>/build/zephyr/.config
    • Open the command line in ../mcuboot_prevent_downgrade/build/zephyr and run the following command:

    nrfjprog --program app_moved_test_update.hex

    Read more about the file app_moved_test_update.hex in the MCUBoot documentation

    • Reset the nRF9160 DK and you should see the following output:

    *** Booting Zephyr OS build v2.7.0-ncs1  ***
    I: Starting bootloader
    I: Swap type: test
    E: insufficient version in secondary slot
    I: Bootloader chainload address offset: 0x10000
    *** Booting Zephyr OS build v2.7.0-ncs1  ***
    Flash regions           Domain          Permissions
    00 03 0x00000 0x20000   Secure          rwxl
    ...
    ...
    ...
    SPM: prepare to jump to Non-Secure image.
    *** Booting Zephyr OS build v2.7.0-ncs1  ***
    MCUBOOT IMAGE VERSION: 1.0.0
    Hello World! nrf9160dk_nrf9160

    Report back to me if this works for you or not

    Best regards,

    Simon


    *I had to enable these in mcuboot.conf, then "Unable to find bootable image.." went away

    CONFIG_PARTITION_MANAGER_ENABLED=y
    CONFIG_FLASH_MAP_CUSTOM=y

    Then I added the below configs to mcuboot.conf as well, but they were not propogated to the file <sample>/build/mcuboot/zephyr/.config

    CONFIG_MCUBOOT_DOWNGRADE_PREVENTION=y
    CONFIG_BOOT_UPGRADE_ONLY=y

    I will report this internally and get back to you in this ticket when we find a solution

  • Hi Simon

    1.

    Added the MCUBoot configs in the CMakeListst.tx of sdk v1.8.0 application_update, preventing downgrade did work.

    set(mcuboot_CONFIG_MCUBOOT_DOWNGRADE_PREVENTION
    y
    )
    set(mcuboot_CONFIG_BOOT_UPGRADE_ONLY
    y
    )

    2.

    However, my project was based on sdk connect v1.3.0 http_application_update.

    When I tried FOTA, it can download new app_update.bin from your AWS "nrfconnectsdk.s3.eu-central-

    1.amazonaws.com". But, swap failed. Log show error and secondary image was invalid.

    Jeffery

Reply
  • Hi Simon

    1.

    Added the MCUBoot configs in the CMakeListst.tx of sdk v1.8.0 application_update, preventing downgrade did work.

    set(mcuboot_CONFIG_MCUBOOT_DOWNGRADE_PREVENTION
    y
    )
    set(mcuboot_CONFIG_BOOT_UPGRADE_ONLY
    y
    )

    2.

    However, my project was based on sdk connect v1.3.0 http_application_update.

    When I tried FOTA, it can download new app_update.bin from your AWS "nrfconnectsdk.s3.eu-central-

    1.amazonaws.com". But, swap failed. Log show error and secondary image was invalid.

    Jeffery

Children
  • I just tested the sample mcuboot_prevent_downgrade I uploaded in my last reply with NCS v1.3.0, with the following addition in CMakeLists.txt

    set(mcuboot_CONFIG_BOOT_SWAP_USING_MOVE n)

     I followed the same instructions as in my last reply and I got this output

    ** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***
    [00:00:00.003,540] <inf> mcuboot: Starting bootloader
    [00:00:00.009,613] <inf> mcuboot: Swap type: test
    [00:00:00.014,801] <err> mcuboot: insufficient version in secondary slot
    [00:00:09.301,605] <inf> mcuboot: Bootloader chainload address offset: 0x10000
    [00:00:09.309,387] <inf> mcuboot: Jumping to the first image slot
    *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***
    Flash regions           Domain          Permissions
    00 02 0x00000 0x18000   Secure          rwxl
    03 31 0x18000 0x100000  Non-Secure      rwxl
    
    Non-secure callable region 0 placed in flash region 2 with size 32.
    
    SRAM region             Domain          Permissions
    00 07 0x00000 0x10000   Secure          rwxl
    08 31 0x10000 0x40000   Non-Secure      rwxl
    
    Peripheral              Domain          Status
    00 NRF_P0               Non-Secure      OK
    01 NRF_CLOCK            Non-Secure      OK
    02 NRF_RTC0             Non-Secure      OK
    03 NRF_RTC1             Non-Secure      OK
    04 NRF_NVMC             Non-Secure      OK
    05 NRF_UARTE1           Non-Secure      OK
    06 NRF_UARTE2           Secure          SKIP
    07 NRF_TWIM2            Non-Secure      OK
    08 NRF_SPIM3            Non-Secure      OK
    09 NRF_TIMER0           Non-Secure      OK
    10 NRF_TIMER1           Non-Secure      OK
    11 NRF_TIMER2           Non-Secure      OK
    12 NRF_SAADC            Non-Secure      OK
    13 NRF_PWM0             Non-Secure      OK
    14 NRF_PWM1             Non-Secure      OK
    15 NRF_PWM2             Non-Secure      OK
    16 NRF_PWM3             Non-Secure      OK
    17 NRF_WDT              Non-Secure      OK
    18 NRF_IPC              Non-Secure      OK
    19 NRF_VMC              Non-Secure      OK
    20 NRF_FPU              Non-Secure      OK
    21 NRF_EGU1             Non-Secure      OK
    22 NRF_EGU2             Non-Secure      OK
    23 NRF_DPPIC            Non-Secure      OK
    24 NRF_GPIOTE1          Non-Secure      OK
    25 NRF_REGULATORS       Non-Secure      OK
    
    SPM: NS image at 0x1c200
    SPM: NS MSP at 0x20020620
    SPM: NS reset vector at 0x1d151
    SPM: prepare to jump to Non-Secure image.
    *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***
    MCUBOOT IMAGE VERSION: 1.0.0
    Hello World! nrf9160dk_nrf9160

    So the downgrade prevention should work fine in NCS v1.3.0. 

    I guess the issue is with the file app_update.bin from your AWS "nrfconnectsdk.s3.eu-central-1.amazonaws.com". 

    How do you know what version app_update.bin using, and that it is less than 1.0.0?

    Please create a new app_update.bin  (should be generated into <application>/build/zephyr/app_update.binwith CONFIG_MCUBOOT_IMAGE_VERSION="0.0.0" and upload it to <your cloud server>, then try again.

  • In your last reply, you replied to an answer I gave eariler, which placed your reply in the middle of the stack of replies, and made it not very easy to find. I provider a counter reply after your reply in the middle and copied it in here at the top as well, to make it more orderly and easier to find.


    This is the struct used to store the image version (bootloader/mcuboot/boot/bootutil/include/bootutil/image.h):

    struct image_version {
        uint8_t iv_major;
        uint8_t iv_minor;
        uint16_t iv_revision;
        uint32_t iv_build_num;
    };

    The format is the following: maj.min.rev+build

    As you can see the major and minor fields are 1 byte long and can store numbers as large as 255. For the revision field (2 byte), the largest number you can store is 65536 and for build_num (4 bytes), the largest number you can store is 2^32.

    Be aware that I have not done any tests using large numbers, so you may want to test yourself first to be certain.

Related