XIAO BLE drawing 570uA with Zephyr

I'm working on a project where we're planning to use XIAO BLEs on an OpenThread network, for that we need very low power consumption. I've been trying samples to get low consumption to verify we can use the XIAO on our project, however I just cannot get to lower the consumption on it.

I've been doing multiple tests on different codes, I've tried stuff on the nrf52840DK that uses around 6uA with nrfOnly moded, which is great, but the same code (for example the blinky)  on the XIAO consumes around 550uA. I've also used system_off with the same results, as well as some code some other fellows have posted on other threads.

When I tried sleeping the device using Arduino/bluefruit I was really happy yo see around 22uA consumption on the XIAO, however it just doesn't transfer when using Zephyr projects.

Here's my blinky (with the light off)

/*
 * Copyright (c) 2016 Intel Corporation
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include <zephyr/kernel.h>
#include <zephyr/drivers/gpio.h>

/* 1000 msec = 1 sec */
#define SLEEP_TIME_MS   1000

/* The devicetree node identifier for the "led0" alias. */
#define LED0_NODE DT_ALIAS(led0)

/*
 * A build error on this line means your board is unsupported.
 * See the sample documentation for information on how to fix this.
 */
static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(LED0_NODE, gpios);

void main(void)
{
	// int ret;

	// if (!device_is_ready(led.port)) {
	// 	return;
	// }

	// ret = gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE);
	// if (ret < 0) {
	// 	return;
	// }

	while (1) {
		// ret = gpio_pin_toggle_dt(&led);
		// if (ret < 0) {
		// 	return;
		// }
		k_msleep(SLEEP_TIME_MS);
	}
}

And my prj.conf

CONFIG_GPIO=n
CONFIG_PM_DEVICE=y
CONFIG_SERIAL=n
# nRF board library
CONFIG_DK_LIBRARY=n
#FIX DEL DTS
CONFIG_USB_DEVICE_STACK=n
#LOW POWER CONFIGURATION RELATED
# #Power management
CONFIG_PM=y

Is there anything I'm missing? any XIAO or Zephyr specific configuration I might be missing?

Parents
  • Hi,

    There is nothing that sticks out here, and you have disabled serial (logging) which is what I would check first. Which target board do you build for? Can you share the board files? Perhaps you enable something there?

    Also, what about the HW? Have you added anything to the module? Or perhaps the module has an onboard regulator that consumes some power or something else?

  • Thank you for the reply

    I've used the target board xiao_ble, the only thing i've changed in the files is this line

    CONFIG_SERIAL=n

    Here's the complete file (apologies if its not the ones you're asking, I'm still kind of new)

    xiao_ble_defconfig

    # SPDX-License-Identifier: Apache-2.0
    
    CONFIG_SOC_SERIES_NRF52X=y
    CONFIG_SOC_NRF52840_QIAA=y
    CONFIG_BOARD_XIAO_BLE=y
    
    # Enable MPU
    CONFIG_ARM_MPU=y
    
    # Enable hardware stack protection
    CONFIG_HW_STACK_PROTECTION=y
    
    # enable GPIO
    CONFIG_GPIO=y
    
    # enable uart driver
    CONFIG_SERIAL=n
    
    # enable console
    CONFIG_CONSOLE=y
    
    # enable USB
    CONFIG_USB_DEVICE_STACK=y
    
    # Build UF2 by default, supported by the Adafruit nRF52 Bootloader
    CONFIG_BUILD_OUTPUT_UF2=y
    CONFIG_USE_DT_CODE_PARTITION=y
    
    # additional board options
    CONFIG_GPIO_AS_PINRESET=y
    
    CONFIG_PINCTRL=y

    xiao_ble.dts

    /*
     * Copyright (c) 2022 Marcin Niestroj
     * Copyright (c) 2022 Peter Johanson
     *
     * SPDX-License-Identifier: Apache-2.0
     */
    
    /dts-v1/;
    #include <nordic/nrf52840_qiaa.dtsi>
    #include "xiao_ble-pinctrl.dtsi"
    #include "seeed_xiao_connector.dtsi"
    
    / {
    	model = "Seeed XIAO BLE";
    	compatible = "seeed,xiao-ble";
    
    	chosen {
    		zephyr,console = &usb_cdc_acm_uart;
    		zephyr,shell-uart = &usb_cdc_acm_uart;
    		zephyr,uart-mcumgr = &usb_cdc_acm_uart;
    		zephyr,bt-mon-uart = &usb_cdc_acm_uart;
    		zephyr,bt-c2h-uart = &usb_cdc_acm_uart;
    		zephyr,sram = &sram0;
    		zephyr,flash = &flash0;
    		zephyr,code-partition = &code_partition;
    		zephyr,ieee802154 = &ieee802154;
    	};
    
    	leds {
    		compatible = "gpio-leds";
    		led0: led_0 {
    			gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
    			label = "Red LED";
    		};
    		led1: led_1 {
    			gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
    			label = "Green LED";
    		};
    		led2: led_2 {
    			gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    			label = "Blue LED";
    		};
    	};
    
    	pwmleds {
    		compatible = "pwm-leds";
    		pwm_led0: pwm_led_0 {
    			pwms = <&pwm0 0 PWM_MSEC(20) PWM_POLARITY_INVERTED>;
    		};
    	};
    
    	/* These aliases are provided for compatibility with samples */
    	aliases {
    		led0 = &led0;
    		led1 = &led1;
    		led2 = &led2;
    		pwm-led0 = &pwm_led0;
    		bootloader-led0 = &led0;
    		mcuboot-led0 = &led0;
    		watchdog0 = &wdt0;
    		spi-flash0 = &p25q16h_spi;
    	};
    };
    
    &adc {
    	status = "okay";
    };
    
    &gpiote {
    	status = "okay";
    };
    
    &gpio0 {
    	status = "okay";
    };
    
    &gpio1 {
    	status = "okay";
    };
    
    &uart0 {
    	compatible = "nordic,nrf-uarte";
    	status = "okay";
    	current-speed = <115200>;
    	pinctrl-0 = <&uart0_default>;
    	pinctrl-1 = <&uart0_sleep>;
    	pinctrl-names = "default", "sleep";
    };
    
    &i2c1 {
    	compatible = "nordic,nrf-twi";
    	/* Cannot be used together with spi1. */
    	status = "okay";
    	pinctrl-0 = <&i2c1_default>;
    	pinctrl-1 = <&i2c1_sleep>;
    	pinctrl-names = "default", "sleep";
    };
    
    &pwm0 {
    	status = "okay";
    	pinctrl-0 = <&pwm0_default>;
    	pinctrl-1 = <&pwm0_sleep>;
    	pinctrl-names = "default", "sleep";
    };
    
    &spi0 {
    	compatible = "nordic,nrf-spi";
    	/* Cannot be used together with i2c0. */
    	status = "okay";
    	pinctrl-0 = <&spi0_default>;
    	pinctrl-1 = <&spi0_sleep>;
    	pinctrl-names = "default", "sleep";
    };
    
    &spi3 {
    	status = "okay";
    	pinctrl-0 = <&spi3_default>;
    	pinctrl-1 = <&spi3_sleep>;
    	pinctrl-names = "default", "sleep";
    	cs-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
    	p25q16h_spi: p25q16h@0 {
    		compatible = "jedec,spi-nor";
    		reg = <0>;
    		wp-gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
    		hold-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
    		spi-max-frequency = <104000000>;
    		jedec-id = [85 60 15];
    		sfdp-bfp = [
    			e5 20 f1 ff  ff ff ff 00  44 eb 08 6b  08 3b 80 bb
    			ee ff ff ff  ff ff 00 ff  ff ff 00 ff  0c 20 0f 52
    			10 d8 08 81
    		];
    		size = <16777216>;
    		has-dpd;
    		t-enter-dpd = <3000>;
    		t-exit-dpd = <8000>;
    	};
    };
    
    &ieee802154 {
    	status = "okay";
    };
    
    &flash0 {
    	partitions {
    		compatible = "fixed-partitions";
    		#address-cells = <1>;
    		#size-cells = <1>;
    
    		sd_partition: partition@0 {
    			label = "softdevice";
    			reg = <0x00000000 0x00027000>;
    		};
    
    		code_partition: partition@27000 {
    			label = "code_partition";
    			reg = <0x00027000 0x000c5000>;
    		};
    
    		/*
    		 * The flash starting at 0x000ec000 and ending at
    		 * 0x000f3fff is reserved for use by the application.
    		 *
    		 * Storage partition will be used by FCB/LittleFS/NVS
    		 * if enabled.
    		 */
    		storage_partition: partition@ec000 {
    			label = "storage";
    			reg = <0x000ec000 0x00008000>;
    		};
    
    		boot_partition: partition@f4000 {
    			label = "adafruit_boot";
    			reg = <0x000f4000 0x0000c000>;
    		};
    	};
    };
    
    zephyr_udc0: &usbd {
    	compatible = "nordic,nrf-usbd";
    	status = "okay";
    
    	usb_cdc_acm_uart: cdc-acm-uart {
    		compatible = "zephyr,cdc-acm-uart";
    	};
    };

    I saw a someone with the exact same issue but no solution in a different post.

    About HW, I have been using the bare retail xiao, sometimes an expansion board for ease of flashing but when measuring consumption just the bare board, the expansion board ends up consuming like 2mA, just the Xiao consumes around 550 or 570uA.

  • Hi

    I see. Please make sure to also set CONFIG_CONSOLE=n.

  • Just did this and it actually got higher to 617uA which is weird, will try to mess with other settings as well.

  • That is strange. Can you upload the .config file under zephyr in your build folder? There we can see what is actually enabled.

Reply Children
  • Here it is, i appreciate the help.

    # CONFIG_GPIO is not set
    # CONFIG_KSCAN is not set
    # CONFIG_WIFI is not set
    # CONFIG_SPI is not set
    # CONFIG_MODEM is not set
    # CONFIG_I2C is not set
    # CONFIG_SENSOR is not set
    CONFIG_BOARD="xiao_ble"
    CONFIG_SOC="nRF52840_QIAA"
    CONFIG_SOC_SERIES="nrf52"
    CONFIG_NUM_IRQS=48
    CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768
    CONFIG_CLOCK_CONTROL_INIT_PRIORITY=30
    CONFIG_FLASH_SIZE=1024
    CONFIG_FLASH_BASE_ADDRESS=0x0
    CONFIG_ICACHE_LINE_SIZE=32
    CONFIG_DCACHE_LINE_SIZE=32
    CONFIG_PINCTRL=y
    # CONFIG_WATCHDOG is not set
    CONFIG_HEAP_MEM_POOL_SIZE=0
    CONFIG_ROM_START_OFFSET=0
    # CONFIG_RESET is not set
    CONFIG_CLOCK_CONTROL=y
    CONFIG_SOC_HAS_TIMING_FUNCTIONS=y
    CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT=y
    CONFIG_PM=y
    CONFIG_PM_DEVICE=y
    CONFIG_NRF_RTC_TIMER=y
    CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768
    CONFIG_BUILD_OUTPUT_HEX=y
    # CONFIG_FPU is not set
    # CONFIG_CODE_DATA_RELOCATION is not set
    # CONFIG_MBEDTLS is not set
    # CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS is not set
    # CONFIG_TINYCRYPT is not set
    # CONFIG_SERIAL is not set
    CONFIG_MAIN_STACK_SIZE=1024
    # CONFIG_SRAM_VECTOR_TABLE is not set
    CONFIG_MP_MAX_NUM_CPUS=1
    CONFIG_PLATFORM_SPECIFIC_INIT=y
    CONFIG_HAS_DTS=y
    
    #
    # Devicetree Info
    #
    CONFIG_DT_HAS_ARM_ARMV7M_ITM_ENABLED=y
    CONFIG_DT_HAS_ARM_CORTEX_M4F_ENABLED=y
    CONFIG_DT_HAS_ARM_CRYPTOCELL_310_ENABLED=y
    CONFIG_DT_HAS_ARM_V7M_NVIC_ENABLED=y
    CONFIG_DT_HAS_FIXED_PARTITIONS_ENABLED=y
    CONFIG_DT_HAS_GPIO_KEYS_ENABLED=y
    CONFIG_DT_HAS_GPIO_LEDS_ENABLED=y
    CONFIG_DT_HAS_JEDEC_SPI_NOR_ENABLED=y
    CONFIG_DT_HAS_MMIO_SRAM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_ACL_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CC310_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CCM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CLOCK_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_ECB_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_EGU_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_FICR_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPIO_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPIOTE_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_IEEE802154_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_MWU_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PINCTRL_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_POWER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PPI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PWM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RADIO_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RNG_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RTC_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SAADC_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SPI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SPIM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SWI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_TEMP_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_TIMER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_TWI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_UARTE_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_UICR_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_USBD_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_WDT_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED=y
    CONFIG_DT_HAS_PWM_LEDS_ENABLED=y
    CONFIG_DT_HAS_SEEED_XIAO_GPIO_ENABLED=y
    CONFIG_DT_HAS_SOC_NV_FLASH_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_BT_HCI_ENTROPY_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_CDC_ACM_UART_ENABLED=y
    # end of Devicetree Info
    
    #
    # Modules
    #
    
    #
    # Available modules.
    #
    
    #
    # nrf (/home/djsa94/ncs/v2.2.0/nrf)
    #
    CONFIG_NUM_METAIRQ_PRIORITIES=0
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024
    # CONFIG_INIT_STACKS is not set
    
    #
    # Nordic nRF Connect
    #
    CONFIG_WARN_EXPERIMENTAL=y
    CONFIG_PRIVILEGED_STACK_SIZE=1024
    # CONFIG_ENTROPY_GENERATOR is not set
    CONFIG_INIT_ARCH_HW_AT_BOOT=y
    CONFIG_LINKER_LAST_SECTION_ID=y
    CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    # CONFIG_NCS_SAMPLES_DEFAULTS is not set
    
    #
    # Image build variants
    #
    # CONFIG_NCS_MCUBOOT_IN_BUILD is not set
    # end of Image build variants
    
    #
    # Bootloader
    #
    # CONFIG_BUILD_S1_VARIANT is not set
    # CONFIG_SECURE_BOOT is not set
    CONFIG_PM_PARTITION_SIZE_PROVISION=0x1000
    # CONFIG_B0_MIN_PARTITION_SIZE is not set
    CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x8000
    # CONFIG_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
    #
    # CONFIG_DFU_MULTI_IMAGE is not set
    # CONFIG_DFU_TARGET is not set
    # end of DFU
    
    # CONFIG_ESB is not set
    
    #
    # Peripheral CPU DFU (PCD)
    #
    # CONFIG_PCD is not set
    # CONFIG_PCD_APP is not set
    # CONFIG_PCD_NET is not set
    # end of Peripheral CPU DFU (PCD)
    
    #
    # Networking
    #
    
    #
    # Application protocols
    #
    
    #
    # nRF Cloud
    #
    
    #
    # Client ID (nRF Cloud Device ID)
    #
    CONFIG_NRF_CLOUD_CLIENT_ID_SRC_COMPILE_TIME=y
    CONFIG_NRF_CLOUD_CLIENT_ID="my-client-id"
    # end of Client ID (nRF Cloud Device ID)
    
    # CONFIG_NRF_CLOUD_MQTT is not set
    # CONFIG_NRF_CLOUD_FOTA is not set
    # CONFIG_NRF_CLOUD_FOTA_FULL_MODEM_UPDATE is not set
    # CONFIG_NRF_CLOUD_REST is not set
    # CONFIG_NRF_CLOUD_GATEWAY is not set
    # end of nRF Cloud
    
    # CONFIG_REST_CLIENT is not set
    # CONFIG_DOWNLOAD_CLIENT is not set
    # CONFIG_AWS_IOT is not set
    # CONFIG_AWS_JOBS is not set
    # CONFIG_AZURE_IOT_HUB is not set
    
    #
    # Self-Registration (Zi ZHu Ce)
    #
    # end of Self-Registration (Zi ZHu Ce)
    
    # CONFIG_ICAL_PARSER is not set
    # CONFIG_FTP_CLIENT is not set
    # CONFIG_LWM2M_CLIENT_UTILS is not set
    # CONFIG_WIFI_CREDENTIALS is not set
    # end of Application protocols
    # end of Networking
    
    #
    # NFC
    #
    # CONFIG_NFC_NDEF is not set
    # CONFIG_NFC_NDEF_PARSER is not set
    # CONFIG_NFC_NDEF_PAYLOAD_TYPE_COMMON is not set
    # CONFIG_NFC_T2T_PARSER is not set
    # CONFIG_NFC_T4T_NDEF_FILE is not set
    # CONFIG_NFC_T4T_ISODEP is not set
    # CONFIG_NFC_T4T_APDU is not set
    # CONFIG_NFC_T4T_CC_FILE is not set
    # CONFIG_NFC_T4T_HL_PROCEDURE is not set
    # CONFIG_NFC_PLATFORM is not set
    # CONFIG_NFC_TNEP_TAG is not set
    # CONFIG_NFC_TNEP_POLLER is not set
    # CONFIG_NFC_TNEP_CH is not set
    # end of NFC
    
    # CONFIG_APP_EVENT_MANAGER is not set
    # CONFIG_NRF_PROFILER is not set
    
    #
    # SPM
    #
    # CONFIG_SPM is not set
    # CONFIG_IS_SPM is not set
    # end of SPM
    
    # CONFIG_FW_INFO is not set
    
    #
    # Debug
    #
    # CONFIG_PPI_TRACE is not set
    # CONFIG_CPU_LOAD is not set
    # end of Debug
    
    # CONFIG_MPSL_FEM_DEVICE_CONFIG_254 is not set
    CONFIG_MPSL_THREAD_COOP_PRIO=8
    CONFIG_MPSL_WORK_STACK_SIZE=1024
    CONFIG_MPSL_TIMESLOT_SESSION_COUNT=0
    # CONFIG_MPSL_ASSERT_HANDLER is not set
    
    #
    # Partition Manager
    #
    # CONFIG_PARTITION_MANAGER_ENABLED is not set
    CONFIG_SRAM_SIZE=256
    CONFIG_SRAM_BASE_ADDRESS=0x20000000
    
    #
    # Zephyr subsystem configurations
    #
    # end of Zephyr subsystem configurations
    
    #
    # NCS subsystem configurations
    #
    # CONFIG_PM_SINGLE_IMAGE is not set
    CONFIG_PM_EXTERNAL_FLASH_BASE=0
    # CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK is not set
    CONFIG_PM_SRAM_BASE=0x20000000
    CONFIG_PM_SRAM_SIZE=0x40000
    # end of Partition Manager
    
    #
    # nRF RPC (Remote Procedure Call) library
    #
    # end of nRF RPC (Remote Procedure Call) library
    
    # CONFIG_ZIGBEE is not set
    
    #
    # Full Modem Firmware Update Management(FMFU)
    #
    # end of Full Modem Firmware Update Management(FMFU)
    
    # CONFIG_CAF is not set
    
    #
    # Nordic IEEE 802.15.4
    #
    # end of Nordic IEEE 802.15.4
    
    # CONFIG_DM_MODULE is not set
    
    #
    # Libraries
    #
    
    #
    # Binary libraries
    #
    # end of Binary libraries
    
    # CONFIG_ADP536X is not set
    # CONFIG_AT_MONITOR is not set
    # CONFIG_DISABLE_FLASH_PATCH is not set
    # CONFIG_LTE_LINK_CONTROL is not set
    CONFIG_NRF_ACL_FLASH_REGION_SIZE=0x1000
    CONFIG_FPROTECT_BLOCK_SIZE=0x1000
    # CONFIG_FPROTECT is not set
    # CONFIG_AT_CUSTOM_CMD is not set
    # CONFIG_DK_LIBRARY is not set
    # CONFIG_MODEM_INFO is not set
    CONFIG_RESET_ON_FATAL_ERROR=y
    # CONFIG_SMS is not set
    # CONFIG_SUPL_CLIENT_LIB is not set
    # CONFIG_DATE_TIME is not set
    # CONFIG_HW_ID_LIBRARY is not set
    # CONFIG_RAM_POWER_DOWN_LIBRARY is not set
    # CONFIG_WAVE_GEN_LIB is not set
    # CONFIG_HW_UNIQUE_KEY_LOAD is not set
    CONFIG_HW_UNIQUE_KEY_PARTITION_SIZE=0x1000
    # CONFIG_MODEM_JWT is not set
    # CONFIG_QOS is not set
    # CONFIG_SFLOAT is not set
    # end of Libraries
    
    #
    # Device Drivers
    #
    # CONFIG_BT_DRIVER_QUIRK_NO_AUTO_DLE is not set
    CONFIG_HW_CC3XX=y
    # CONFIG_ETH_RTT is not set
    # CONFIG_NRF_SW_LPUART is not set
    # end of Device Drivers
    
    #
    # External libraries
    #
    # end of External libraries
    
    #
    # Test
    #
    CONFIG_ZTEST_MULTICORE_DEFAULT_SETTINGS=y
    # CONFIG_UNITY is not set
    
    #
    # Mocks
    #
    # CONFIG_MOCK_NRF_MODEM_AT is not set
    # end of Mocks
    # end of Test
    # end of Nordic nRF Connect
    
    CONFIG_ZEPHYR_NRF_MODULE=y
    # end of nrf (/home/djsa94/ncs/v2.2.0/nrf)
    
    #
    # hostap (/home/djsa94/ncs/v2.2.0/modules/lib/hostap)
    #
    CONFIG_ZEPHYR_HOSTAP_MODULE=y
    # end of hostap (/home/djsa94/ncs/v2.2.0/modules/lib/hostap)
    
    #
    # mcuboot (/home/djsa94/ncs/v2.2.0/bootloader/mcuboot)
    #
    
    #
    # MCUboot
    #
    CONFIG_BOOT_SIGNATURE_KEY_FILE=""
    CONFIG_DT_FLASH_WRITE_BLOCK_SIZE=4
    CONFIG_MCUBOOT_USB_SUPPORT=y
    # end of MCUboot
    
    CONFIG_ZEPHYR_MCUBOOT_MODULE=y
    # end of mcuboot (/home/djsa94/ncs/v2.2.0/bootloader/mcuboot)
    
    #
    # mbedtls (/home/djsa94/ncs/v2.2.0/modules/crypto/mbedtls)
    #
    CONFIG_ZEPHYR_MBEDTLS_MODULE=y
    CONFIG_MBEDTLS_BUILTIN=y
    # CONFIG_MBEDTLS_LIBRARY is not set
    # end of mbedtls (/home/djsa94/ncs/v2.2.0/modules/crypto/mbedtls)
    
    #
    # trusted-firmware-m (/home/djsa94/ncs/v2.2.0/modules/tee/tf-m/trusted-firmware-m)
    #
    # CONFIG_BOOTLOADER_MCUBOOT is not set
    CONFIG_ZEPHYR_TRUSTED_FIRMWARE_M_MODULE=y
    # end of trusted-firmware-m (/home/djsa94/ncs/v2.2.0/modules/tee/tf-m/trusted-firmware-m)
    
    #
    # cjson (/home/djsa94/ncs/v2.2.0/modules/lib/cjson)
    #
    CONFIG_ZEPHYR_CJSON_MODULE=y
    # end of cjson (/home/djsa94/ncs/v2.2.0/modules/lib/cjson)
    
    #
    # azure-sdk-for-c (/home/djsa94/ncs/v2.2.0/modules/lib/azure-sdk-for-c)
    #
    # CONFIG_AZURE_SDK is not set
    CONFIG_ZEPHYR_AZURE_SDK_FOR_C_MODULE=y
    # end of azure-sdk-for-c (/home/djsa94/ncs/v2.2.0/modules/lib/azure-sdk-for-c)
    
    #
    # memfault-firmware-sdk (/home/djsa94/ncs/v2.2.0/modules/lib/memfault-firmware-sdk)
    #
    # CONFIG_MEMFAULT is not set
    CONFIG_ZEPHYR_MEMFAULT_FIRMWARE_SDK_MODULE=y
    # end of memfault-firmware-sdk (/home/djsa94/ncs/v2.2.0/modules/lib/memfault-firmware-sdk)
    
    #
    # cirrus-logic (/home/djsa94/ncs/v2.2.0/modules/hal/cirrus-logic)
    #
    # CONFIG_HW_CODEC_CIRRUS_LOGIC is not set
    CONFIG_ZEPHYR_CIRRUS_LOGIC_MODULE=y
    # end of cirrus-logic (/home/djsa94/ncs/v2.2.0/modules/hal/cirrus-logic)
    
    #
    # openthread (/home/djsa94/ncs/v2.2.0/modules/lib/openthread)
    #
    # CONFIG_OPENTHREAD is not set
    CONFIG_ZEPHYR_OPENTHREAD_MODULE=y
    # end of openthread (/home/djsa94/ncs/v2.2.0/modules/lib/openthread)
    
    #
    # canopennode (/home/djsa94/ncs/v2.2.0/modules/lib/canopennode)
    #
    CONFIG_ZEPHYR_CANOPENNODE_MODULE=y
    # end of canopennode (/home/djsa94/ncs/v2.2.0/modules/lib/canopennode)
    
    #
    # chre (/home/djsa94/ncs/v2.2.0/modules/lib/chre)
    #
    CONFIG_ZEPHYR_CHRE_MODULE=y
    # CONFIG_CHRE is not set
    # end of chre (/home/djsa94/ncs/v2.2.0/modules/lib/chre)
    
    #
    # hal_nordic (/home/djsa94/ncs/v2.2.0/modules/hal/nordic)
    #
    CONFIG_ZEPHYR_HAL_NORDIC_MODULE=y
    CONFIG_HAS_NORDIC_DRIVERS=y
    
    #
    # Nordic drivers
    #
    # CONFIG_NRF_802154_SOURCE_HAL_NORDIC is not set
    # CONFIG_NRF_802154_RADIO_DRIVER is not set
    # CONFIG_NRF_802154_SER_RADIO is not set
    # end of Nordic drivers
    
    CONFIG_HAS_NRFX=y
    
    #
    # nrfx drivers
    #
    CONFIG_NRFX_CLOCK=y
    CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED=y
    # CONFIG_NRFX_COMP is not set
    # CONFIG_NRFX_EGU0 is not set
    # CONFIG_NRFX_EGU1 is not set
    # CONFIG_NRFX_EGU2 is not set
    # CONFIG_NRFX_EGU3 is not set
    # CONFIG_NRFX_EGU4 is not set
    # CONFIG_NRFX_EGU5 is not set
    # CONFIG_NRFX_GPIOTE is not set
    # CONFIG_NRFX_I2S is not set
    # CONFIG_NRFX_NFCT is not set
    # CONFIG_NRFX_NVMC is not set
    # CONFIG_NRFX_PDM is not set
    # CONFIG_NRFX_POWER is not set
    # CONFIG_NRFX_PPI 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_QDEC is not set
    # CONFIG_NRFX_QSPI is not set
    # CONFIG_NRFX_RNG is not set
    # CONFIG_NRFX_RTC0 is not set
    # CONFIG_NRFX_RTC1 is not set
    # CONFIG_NRFX_RTC2 is not set
    # CONFIG_NRFX_SAADC is not set
    # CONFIG_NRFX_SPI0 is not set
    # CONFIG_NRFX_SPIM1 is not set
    # CONFIG_NRFX_SPIM2 is not set
    # CONFIG_NRFX_SPIM3 is not set
    # CONFIG_NRFX_SYSTICK is not set
    # CONFIG_NRFX_TEMP is not set
    # CONFIG_NRFX_TIMER0 is not set
    # CONFIG_NRFX_TIMER1 is not set
    # CONFIG_NRFX_TIMER2 is not set
    # CONFIG_NRFX_TIMER3 is not set
    # CONFIG_NRFX_TIMER4 is not set
    # CONFIG_NRFX_TWI1 is not set
    # CONFIG_NRFX_TWIM0 is not set
    # CONFIG_NRFX_UARTE0 is not set
    # CONFIG_NRFX_UARTE1 is not set
    # CONFIG_NRFX_USBD is not set
    # CONFIG_NRFX_WDT0 is not set
    
    #
    # Peripheral Resource Sharing module
    #
    # CONFIG_NRFX_PRS_BOX_0 is not set
    # CONFIG_NRFX_PRS_BOX_1 is not set
    # CONFIG_NRFX_PRS_BOX_2 is not set
    # CONFIG_NRFX_PRS_BOX_3 is not set
    # CONFIG_NRFX_PRS_BOX_4 is not set
    # end of Peripheral Resource Sharing module
    # end of nrfx drivers
    # end of hal_nordic (/home/djsa94/ncs/v2.2.0/modules/hal/nordic)
    
    #
    # liblc3 (/home/djsa94/ncs/v2.2.0/modules/lib/liblc3)
    #
    CONFIG_ZEPHYR_LIBLC3_MODULE=y
    # end of liblc3 (/home/djsa94/ncs/v2.2.0/modules/lib/liblc3)
    
    #
    # littlefs (/home/djsa94/ncs/v2.2.0/modules/fs/littlefs)
    #
    CONFIG_ZEPHYR_LITTLEFS_MODULE=y
    # end of littlefs (/home/djsa94/ncs/v2.2.0/modules/fs/littlefs)
    
    #
    # loramac-node (/home/djsa94/ncs/v2.2.0/modules/lib/loramac-node)
    #
    CONFIG_ZEPHYR_LORAMAC_NODE_MODULE=y
    # CONFIG_HAS_SEMTECH_RADIO_DRIVERS is not set
    # end of loramac-node (/home/djsa94/ncs/v2.2.0/modules/lib/loramac-node)
    
    #
    # lvgl (/home/djsa94/ncs/v2.2.0/modules/lib/gui/lvgl)
    #
    CONFIG_ZEPHYR_LVGL_MODULE=y
    # end of lvgl (/home/djsa94/ncs/v2.2.0/modules/lib/gui/lvgl)
    
    #
    # lz4 (/home/djsa94/ncs/v2.2.0/modules/lib/lz4)
    #
    CONFIG_ZEPHYR_LZ4_MODULE=y
    # CONFIG_LZ4 is not set
    # end of lz4 (/home/djsa94/ncs/v2.2.0/modules/lib/lz4)
    
    #
    # nanopb (/home/djsa94/ncs/v2.2.0/modules/lib/nanopb)
    #
    CONFIG_ZEPHYR_NANOPB_MODULE=y
    # CONFIG_NANOPB is not set
    # end of nanopb (/home/djsa94/ncs/v2.2.0/modules/lib/nanopb)
    
    #
    # picolibc (/home/djsa94/ncs/v2.2.0/modules/lib/picolibc)
    #
    # CONFIG_PICOLIBC_MODULE is not set
    CONFIG_ZEPHYR_PICOLIBC_MODULE=y
    # end of picolibc (/home/djsa94/ncs/v2.2.0/modules/lib/picolibc)
    
    #
    # TraceRecorder (/home/djsa94/ncs/v2.2.0/modules/debug/TraceRecorder)
    #
    CONFIG_ZEPHYR_TRACERECORDER_MODULE=y
    # end of TraceRecorder (/home/djsa94/ncs/v2.2.0/modules/debug/TraceRecorder)
    
    #
    # uoscore-uedhoc (/home/djsa94/ncs/v2.2.0/modules/lib/uoscore-uedhoc)
    #
    CONFIG_ZEPHYR_UOSCORE_UEDHOC_MODULE=y
    # end of uoscore-uedhoc (/home/djsa94/ncs/v2.2.0/modules/lib/uoscore-uedhoc)
    
    #
    # zcbor (/home/djsa94/ncs/v2.2.0/modules/lib/zcbor)
    #
    CONFIG_ZEPHYR_ZCBOR_MODULE=y
    # CONFIG_ZCBOR is not set
    # end of zcbor (/home/djsa94/ncs/v2.2.0/modules/lib/zcbor)
    
    #
    # zscilib (/home/djsa94/ncs/v2.2.0/modules/lib/zscilib)
    #
    # CONFIG_ZSL is not set
    CONFIG_ZEPHYR_ZSCILIB_MODULE=y
    # end of zscilib (/home/djsa94/ncs/v2.2.0/modules/lib/zscilib)
    
    #
    # nrfxlib (/home/djsa94/ncs/v2.2.0/nrfxlib)
    #
    
    #
    # Nordic nrfxlib
    #
    CONFIG_NRF_MODEM_SHMEM_CTRL_SIZE=0x4e8
    # CONFIG_NFC_T2T_NRFXLIB is not set
    # CONFIG_NFC_T4T_NRFXLIB is not set
    # CONFIG_MPSL is not set
    
    #
    # Crypto libraries for nRF5x SOCs.
    #
    CONFIG_NRFXLIB_CRYPTO=y
    CONFIG_CRYPTOCELL_CC310_USABLE=y
    CONFIG_CRYPTOCELL_USABLE=y
    # CONFIG_NRF_OBERON is not set
    # CONFIG_NRF_CC310_BL is not set
    CONFIG_NRF_CC3XX_PLATFORM=y
    # CONFIG_HW_CC3XX_INTERRUPT is not set
    CONFIG_CC3XX_MUTEX_LOCK=y
    # CONFIG_CC3XX_ATOMIC_LOCK is not set
    # end of Crypto libraries for nRF5x SOCs.
    
    #
    # nrf_security module
    #
    # CONFIG_NORDIC_SECURITY_BACKEND is not set
    # CONFIG_NRF_SECURITY is not set
    # end of nrf_security module
    
    # CONFIG_NRF_RPC is not set
    CONFIG_NRF_802154_SOURCE_NRFXLIB=y
    # CONFIG_GZLL is not set
    # CONFIG_NRF_DM is not set
    # CONFIG_LC3_PLC_DISABLED is not set
    CONFIG_LC3_ENC_CHAN_MAX=1
    CONFIG_LC3_DEC_CHAN_MAX=1
    
    #
    # Encoder sample rates
    #
    CONFIG_LC3_ENC_SAMPLE_RATE_8KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_16KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_24KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_32KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_441KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_48KHZ_SUPPORT=y
    # end of Encoder sample rates
    
    #
    # Decoder sample rates
    #
    CONFIG_LC3_DEC_SAMPLE_RATE_8KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_16KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_24KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_32KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_441KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_48KHZ_SUPPORT=y
    # end of Decoder sample rates
    # end of Nordic nrfxlib
    
    CONFIG_ZEPHYR_NRFXLIB_MODULE=y
    # end of nrfxlib (/home/djsa94/ncs/v2.2.0/nrfxlib)
    
    #
    # connectedhomeip (/home/djsa94/ncs/v2.2.0/modules/lib/matter)
    #
    # CONFIG_CHIP is not set
    CONFIG_ZEPHYR_CONNECTEDHOMEIP_MODULE=y
    # end of connectedhomeip (/home/djsa94/ncs/v2.2.0/modules/lib/matter)
    
    #
    # Optional modules. Make sure they're installed, via the project manifest.
    #
    CONFIG_HAS_CMSIS_CORE=y
    CONFIG_HAS_CMSIS_CORE_M=y
    # CONFIG_CMSIS_NN is not set
    # CONFIG_LIBMETAL is not set
    # CONFIG_LVGL is not set
    # CONFIG_HAS_MEC_HAL is not set
    # CONFIG_HAS_MPFS_HAL is not set
    # CONFIG_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 is not set
    
    #
    # Unavailable modules, please install those via the project manifest.
    #
    
    #
    # hal_gigadevice module not available.
    #
    
    #
    # Trusted-firmware-a module not available.
    #
    # end of Modules
    
    CONFIG_BOARD_REVISION=""
    # CONFIG_NET_DRIVERS is not set
    CONFIG_BOARD_XIAO_BLE=y
    
    #
    # Board Options
    #
    CONFIG_BOARD_ENABLE_DCDC=y
    CONFIG_BOARD_ENABLE_DCDC_HV=y
    # end of Board Options
    
    # CONFIG_SOC_SERIES_BEETLE is not set
    # CONFIG_SOC_SERIES_ARM_DESIGNSTART is not set
    # CONFIG_SOC_SERIES_FVP_AEMV8R_AARCH32 is not set
    # CONFIG_SOC_SERIES_MPS2 is not set
    # CONFIG_SOC_SERIES_MPS3 is not set
    # CONFIG_SOC_SERIES_MUSCA_B1 is not set
    # CONFIG_SOC_SERIES_MUSCA_S1 is not set
    # CONFIG_SOC_SERIES_AST10X0 is not set
    # CONFIG_SOC_SERIES_SAM3X is not set
    # CONFIG_SOC_SERIES_SAM4E is not set
    # CONFIG_SOC_SERIES_SAM4L is not set
    # CONFIG_SOC_SERIES_SAM4S is not set
    # CONFIG_SOC_SERIES_SAME70 is not set
    # CONFIG_SOC_SERIES_SAMV71 is not set
    # CONFIG_SOC_SERIES_SAMD20 is not set
    # CONFIG_SOC_SERIES_SAMD21 is not set
    # CONFIG_SOC_SERIES_SAMD51 is not set
    # CONFIG_SOC_SERIES_SAME51 is not set
    # CONFIG_SOC_SERIES_SAME53 is not set
    # CONFIG_SOC_SERIES_SAME54 is not set
    # CONFIG_SOC_SERIES_SAML21 is not set
    # CONFIG_SOC_SERIES_SAMR21 is not set
    # CONFIG_SOC_SERIES_SAMR34 is not set
    # CONFIG_SOC_SERIES_SAMR35 is not set
    # CONFIG_SOC_SERIES_VALKYRIE is not set
    # CONFIG_SOC_SERIES_VIPER is not set
    # CONFIG_SOC_SERIES_PSOC62 is not set
    # CONFIG_SOC_SERIES_PSOC63 is not set
    # CONFIG_SOC_SERIES_GD32E10X is not set
    # CONFIG_SOC_SERIES_GD32E50X is not set
    # CONFIG_SOC_SERIES_GD32F3X0 is not set
    # CONFIG_SOC_SERIES_GD32F403 is not set
    # CONFIG_SOC_SERIES_GD32F4XX is not set
    # CONFIG_SOC_SERIES_XMC_4XXX is not set
    # CONFIG_SOC_SERIES_CYCLONE5 is not set
    # CONFIG_SOC_SERIES_MEC1501X is not set
    # CONFIG_SOC_SERIES_MEC1701X is not set
    # CONFIG_SOC_SERIES_MEC172X is not set
    # CONFIG_SOC_SERIES_NRF51X is not set
    CONFIG_SOC_SERIES_NRF52X=y
    # CONFIG_SOC_SERIES_NRF53X is not set
    # CONFIG_SOC_SERIES_NRF91X is not set
    # CONFIG_SOC_SERIES_NPCX7 is not set
    # CONFIG_SOC_SERIES_NPCX9 is not set
    # CONFIG_SOC_SERIES_M48X is not set
    # CONFIG_SOC_SERIES_IMX_6X_M4 is not set
    # CONFIG_SOC_SERIES_IMX7_M4 is not set
    # CONFIG_SOC_SERIES_IMX8ML_M7 is not set
    # CONFIG_SOC_SERIES_IMX8MM_M4 is not set
    # CONFIG_SOC_SERIES_IMX8MQ_M4 is not set
    # CONFIG_SOC_SERIES_IMX_RT is not set
    # CONFIG_SOC_SERIES_IMX_RT5XX is not set
    # CONFIG_SOC_SERIES_IMX_RT6XX is not set
    # CONFIG_SOC_SERIES_KINETIS_K2X is not set
    # CONFIG_SOC_SERIES_KINETIS_K6X is not set
    # CONFIG_SOC_SERIES_KINETIS_K8X is not set
    # CONFIG_SOC_SERIES_KINETIS_KE1XF is not set
    # CONFIG_SOC_SERIES_KINETIS_KL2X is not set
    # CONFIG_SOC_SERIES_KINETIS_KV5X is not set
    # CONFIG_SOC_SERIES_KINETIS_KWX is not set
    # CONFIG_SOC_SERIES_LPC11U6X is not set
    # CONFIG_SOC_SERIES_LPC51U68 is not set
    # CONFIG_SOC_SERIES_LPC54XXX is not set
    # CONFIG_SOC_SERIES_LPC55XXX is not set
    # CONFIG_SOC_SERIES_S32ZE_R52 is not set
    # CONFIG_SOC_EOS_S3 is not set
    # CONFIG_SOC_SERIES_RCAR_GEN3 is not set
    # CONFIG_SOC_SERIES_DA1469X is not set
    # CONFIG_SOC_SERIES_RP2XXX is not set
    # CONFIG_SOC_SERIES_EFM32GG11B is not set
    # CONFIG_SOC_SERIES_EFM32HG is not set
    # CONFIG_SOC_SERIES_EFM32JG12B is not set
    # CONFIG_SOC_SERIES_EFM32PG12B is not set
    # CONFIG_SOC_SERIES_EFM32PG1B is not set
    # CONFIG_SOC_SERIES_EFM32WG is not set
    # CONFIG_SOC_SERIES_EFR32BG13P is not set
    # CONFIG_SOC_SERIES_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_SERIES_XILINX_XC7ZXXX is not set
    # CONFIG_SOC_SERIES_XILINX_XC7ZXXXS is not set
    # CONFIG_SOC_XILINX_ZYNQMP_RPU is not set
    
    #
    # Hardware Configuration
    #
    CONFIG_CPU_HAS_ARM_MPU=y
    CONFIG_HAS_SWO=y
    CONFIG_SOC_FAMILY="nordic_nrf"
    CONFIG_SOC_FAMILY_NRF=y
    CONFIG_HAS_HW_NRF_ACL=y
    CONFIG_HAS_HW_NRF_CC310=y
    CONFIG_HAS_HW_NRF_CCM=y
    CONFIG_HAS_HW_NRF_CCM_LFLEN_8BIT=y
    CONFIG_HAS_HW_NRF_CLOCK=y
    CONFIG_HAS_HW_NRF_ECB=y
    CONFIG_HAS_HW_NRF_EGU0=y
    CONFIG_HAS_HW_NRF_EGU1=y
    CONFIG_HAS_HW_NRF_EGU2=y
    CONFIG_HAS_HW_NRF_EGU3=y
    CONFIG_HAS_HW_NRF_EGU4=y
    CONFIG_HAS_HW_NRF_EGU5=y
    CONFIG_HAS_HW_NRF_GPIO0=y
    CONFIG_HAS_HW_NRF_GPIO1=y
    CONFIG_HAS_HW_NRF_GPIOTE=y
    CONFIG_HAS_HW_NRF_MWU=y
    CONFIG_HAS_HW_NRF_NVMC_PE=y
    CONFIG_HAS_HW_NRF_POWER=y
    CONFIG_HAS_HW_NRF_PPI=y
    CONFIG_HAS_HW_NRF_PWM0=y
    CONFIG_HAS_HW_NRF_RADIO_BLE_2M=y
    CONFIG_HAS_HW_NRF_RADIO_BLE_CODED=y
    CONFIG_HAS_HW_NRF_RADIO_IEEE802154=y
    CONFIG_HAS_HW_NRF_RADIO_TX_PWR_HIGH=y
    CONFIG_HAS_HW_NRF_RNG=y
    CONFIG_HAS_HW_NRF_RTC0=y
    CONFIG_HAS_HW_NRF_RTC1=y
    CONFIG_HAS_HW_NRF_RTC2=y
    CONFIG_HAS_HW_NRF_SAADC=y
    CONFIG_HAS_HW_NRF_SPI0=y
    CONFIG_HAS_HW_NRF_SPIM3=y
    CONFIG_HAS_HW_NRF_SWI0=y
    CONFIG_HAS_HW_NRF_SWI1=y
    CONFIG_HAS_HW_NRF_SWI2=y
    CONFIG_HAS_HW_NRF_SWI3=y
    CONFIG_HAS_HW_NRF_SWI4=y
    CONFIG_HAS_HW_NRF_SWI5=y
    CONFIG_HAS_HW_NRF_TEMP=y
    CONFIG_HAS_HW_NRF_TIMER0=y
    CONFIG_HAS_HW_NRF_TIMER1=y
    CONFIG_HAS_HW_NRF_TIMER2=y
    CONFIG_HAS_HW_NRF_TIMER3=y
    CONFIG_HAS_HW_NRF_TIMER4=y
    CONFIG_HAS_HW_NRF_TWI1=y
    CONFIG_HAS_HW_NRF_UARTE0=y
    CONFIG_HAS_HW_NRF_USBD=y
    CONFIG_HAS_HW_NRF_WDT0=y
    CONFIG_NRF_HW_RTC1_RESERVED=y
    CONFIG_SOC_NRF52840=y
    # CONFIG_SOC_NRF52805_CAAA is not set
    # CONFIG_SOC_NRF52810_QFAA is not set
    # CONFIG_SOC_NRF52811_QFAA is not set
    # CONFIG_SOC_NRF52820_QDAA is not set
    # CONFIG_SOC_NRF52832_CIAA is not set
    # CONFIG_SOC_NRF52832_QFAA is not set
    # CONFIG_SOC_NRF52832_QFAB is not set
    # CONFIG_SOC_NRF52833_QIAA is not set
    CONFIG_SOC_NRF52840_QIAA=y
    CONFIG_SOC_DCDC_NRF52X=y
    CONFIG_SOC_DCDC_NRF52X_HV=y
    CONFIG_GPIO_AS_PINRESET=y
    CONFIG_NRF_ENABLE_ICACHE=y
    CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=0
    CONFIG_NRF_SOC_SECURE_SUPPORTED=y
    # CONFIG_NFCT_PINS_AS_GPIOS is not set
    CONFIG_NRF_APPROTECT_USE_UICR=y
    # CONFIG_NRF_APPROTECT_LOCK is not set
    # CONFIG_NRF_TRACE_PORT is not set
    # end of Hardware Configuration
    
    CONFIG_SOC_COMPATIBLE_NRF=y
    CONFIG_SOC_COMPATIBLE_NRF52X=y
    
    #
    # ARM Options
    #
    CONFIG_ARCH="arm"
    CONFIG_CPU_CORTEX=y
    # 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_FAULT_DUMP=2
    CONFIG_ARM_STACK_PROTECTION=y
    CONFIG_FP16=y
    CONFIG_FP16_IEEE=y
    # CONFIG_FP16_ALT is not set
    CONFIG_CPU_CORTEX_M4=y
    CONFIG_CPU_CORTEX_M_HAS_SYSTICK=y
    CONFIG_CPU_CORTEX_M_HAS_DWT=y
    CONFIG_CPU_CORTEX_M_HAS_BASEPRI=y
    CONFIG_CPU_CORTEX_M_HAS_VTOR=y
    CONFIG_CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS=y
    CONFIG_ARMV7_M_ARMV8_M_MAINLINE=y
    CONFIG_ARMV7_M_ARMV8_M_FP=y
    
    #
    # ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options
    #
    CONFIG_GEN_ISR_TABLES=y
    # CONFIG_ZERO_LATENCY_IRQS is not set
    # CONFIG_SW_VECTOR_RELAY is not set
    # CONFIG_CORTEX_M_DWT is not set
    # CONFIG_TRAP_UNALIGNED_ACCESS is not set
    # end of ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options
    
    CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
    # CONFIG_NULL_POINTER_EXCEPTION_DETECTION_DWT is not set
    # CONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU is not set
    CONFIG_GEN_IRQ_VECTOR_TABLE=y
    CONFIG_ARM_MPU=y
    CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE=32
    CONFIG_MPU_STACK_GUARD=y
    # CONFIG_MPU_ALLOW_FLASH_WRITE is not set
    # CONFIG_CUSTOM_SECTION_ALIGN is not set
    CONFIG_CUSTOM_SECTION_MIN_ALIGN_SIZE=32
    # end of ARM Options
    
    CONFIG_ARM=y
    CONFIG_ARCH_IS_SET=y
    
    #
    # General Architecture Options
    #
    # CONFIG_SEMIHOST is not set
    CONFIG_LITTLE_ENDIAN=y
    CONFIG_HW_STACK_PROTECTION=y
    # CONFIG_USERSPACE is not set
    CONFIG_KOBJECT_TEXT_AREA=256
    CONFIG_KOBJECT_DATA_AREA_RESERVE_EXTRA_PERCENT=100
    CONFIG_KOBJECT_RODATA_AREA_EXTRA_BYTES=16
    CONFIG_GEN_PRIV_STACKS=y
    # CONFIG_STACK_GROWS_UP is not set
    
    #
    # Interrupt Configuration
    #
    # CONFIG_DYNAMIC_INTERRUPTS is not set
    CONFIG_ARCH_IRQ_VECTOR_TABLE_ALIGN=4
    CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_ADDRESS=y
    # CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_CODE is not set
    CONFIG_GEN_SW_ISR_TABLE=y
    CONFIG_ARCH_SW_ISR_TABLE_ALIGN=4
    CONFIG_GEN_IRQ_START_VECTOR=0
    # CONFIG_EXTRA_EXCEPTION_INFO is not set
    # 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_STACK_PROTECTION=y
    CONFIG_ARCH_HAS_USERSPACE=y
    CONFIG_ARCH_HAS_EXECUTABLE_PAGE_BIT=y
    CONFIG_ARCH_HAS_RAMFUNC_SUPPORT=y
    CONFIG_ARCH_HAS_NESTED_EXCEPTION_DETECTION=y
    CONFIG_ARCH_SUPPORTS_COREDUMP=y
    CONFIG_ARCH_SUPPORTS_ARCH_HW_INIT=y
    CONFIG_ARCH_HAS_EXTRA_EXCEPTION_INFO=y
    CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE=y
    CONFIG_ARCH_HAS_SUSPEND_TO_RAM=y
    CONFIG_ARCH_HAS_THREAD_ABORT=y
    CONFIG_ARCH_HAS_CODE_DATA_RELOCATION=y
    CONFIG_CPU_HAS_FPU=y
    CONFIG_CPU_HAS_MPU=y
    CONFIG_MPU=y
    CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT=y
    CONFIG_SRAM_REGION_PERMISSIONS=y
    
    #
    # Floating Point Options
    #
    # end of Floating Point Options
    
    #
    # Cache Options
    #
    # end of Cache Options
    
    CONFIG_TOOLCHAIN_HAS_BUILTIN_FFS=y
    
    #
    # General Kernel Options
    #
    CONFIG_MULTITHREADING=y
    CONFIG_NUM_COOP_PRIORITIES=16
    CONFIG_NUM_PREEMPT_PRIORITIES=15
    CONFIG_MAIN_THREAD_PRIORITY=0
    CONFIG_COOP_ENABLED=y
    CONFIG_PREEMPT_ENABLED=y
    CONFIG_PRIORITY_CEILING=-127
    # CONFIG_SCHED_DEADLINE is not set
    # CONFIG_SCHED_CPU_MASK is not set
    CONFIG_IDLE_STACK_SIZE=320
    CONFIG_ISR_STACK_SIZE=2048
    CONFIG_THREAD_STACK_INFO=y
    # CONFIG_THREAD_CUSTOM_DATA is not set
    CONFIG_ERRNO=y
    CONFIG_SCHED_DUMB=y
    # CONFIG_SCHED_SCALABLE is not set
    # CONFIG_SCHED_MULTIQ is not set
    # CONFIG_WAITQ_SCALABLE is not set
    CONFIG_WAITQ_DUMB=y
    
    #
    # Kernel Debugging and Metrics
    #
    CONFIG_BOOT_BANNER=y
    CONFIG_BOOT_DELAY=0
    # CONFIG_THREAD_MONITOR is not set
    # CONFIG_THREAD_NAME is not set
    # CONFIG_THREAD_RUNTIME_STATS is not set
    # end of Kernel Debugging and Metrics
    
    #
    # Work Queue Options
    #
    CONFIG_SYSTEM_WORKQUEUE_PRIORITY=-1
    # CONFIG_SYSTEM_WORKQUEUE_NO_YIELD is not set
    # end of Work Queue Options
    
    #
    # Atomic Operations
    #
    CONFIG_ATOMIC_OPERATIONS_BUILTIN=y
    # end of Atomic Operations
    
    #
    # Timer API Options
    #
    CONFIG_TIMESLICING=y
    CONFIG_TIMESLICE_SIZE=0
    CONFIG_TIMESLICE_PRIORITY=0
    # CONFIG_TIMESLICE_PER_THREAD is not set
    # CONFIG_POLL 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_EVENTS is not set
    # CONFIG_PIPES is not set
    CONFIG_KERNEL_MEM_POOL=y
    # end of Other Kernel Object Options
    
    CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN=y
    CONFIG_SWAP_NONATOMIC=y
    CONFIG_SYS_CLOCK_EXISTS=y
    CONFIG_TIMEOUT_64BIT=y
    CONFIG_SYS_CLOCK_MAX_TIMEOUT_DAYS=365
    CONFIG_XIP=y
    
    #
    # Initialization Priorities
    #
    CONFIG_KERNEL_INIT_PRIORITY_OBJECTS=30
    CONFIG_KERNEL_INIT_PRIORITY_DEFAULT=40
    CONFIG_KERNEL_INIT_PRIORITY_DEVICE=50
    CONFIG_APPLICATION_INIT_PRIORITY=90
    # end of Initialization Priorities
    
    #
    # Security Options
    #
    # end of Security Options
    
    #
    # SMP Options
    #
    CONFIG_MP_NUM_CPUS=1
    # end of SMP Options
    
    CONFIG_TICKLESS_KERNEL=y
    CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE=y
    # CONFIG_THREAD_LOCAL_STORAGE is not set
    # end of General Kernel Options
    
    #
    # Device Options
    #
    # end of Device Options
    
    #
    # Virtual Memory Support
    #
    # end of Virtual Memory Support
    
    #
    # Device Drivers
    #
    # CONFIG_LORA is not set
    # CONFIG_CONSOLE is not set
    CONFIG_HAS_SEGGER_RTT=y
    # CONFIG_USE_SEGGER_RTT is not set
    # CONFIG_EC_HOST_CMD_PERIPH is not set
    CONFIG_ETH_INIT_PRIORITY=80
    # CONFIG_MDIO is not set
    
    #
    # Interrupt Controllers
    #
    CONFIG_INTC_INIT_PRIORITY=40
    # CONFIG_MULTI_LEVEL_INTERRUPTS is not set
    # CONFIG_INTC_ESP32 is not set
    # end of Interrupt Controllers
    
    #
    # Timer Drivers
    #
    # CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME is not set
    # CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE is not set
    CONFIG_SYSTEM_CLOCK_INIT_PRIORITY=0
    CONFIG_TICKLESS_CAPABLE=y
    # CONFIG_SYSTEM_CLOCK_NO_WAIT is not set
    # CONFIG_SYSTEM_CLOCK_WAIT_FOR_AVAILABILITY is not set
    CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY=y
    # end of Timer Drivers
    
    # CONFIG_PCIE is not set
    # CONFIG_PCIE_ENDPOINT is not set
    # CONFIG_SDHC is not set
    # CONFIG_I3C is not set
    # CONFIG_I2S is not set
    # CONFIG_DAI is not set
    # CONFIG_PWM is not set
    # CONFIG_PINMUX is not set
    # CONFIG_ADC is not set
    # CONFIG_DAC is not set
    # CONFIG_W1 is not set
    CONFIG_CLOCK_CONTROL_NRF=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC is not set
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_EXT_LOW_SWING is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_EXT_FULL_SWING is not set
    # 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 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
    #
    # CONFIG_GROVE_LCD_RGB is not set
    # 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
    CONFIG_PINCTRL_STORE_REG=y
    # CONFIG_PINCTRL_DYNAMIC is not set
    CONFIG_PINCTRL_NRF=y
    # CONFIG_MBOX is not set
    # CONFIG_MM_DRV is not set
    # CONFIG_POWER_DOMAIN is not set
    # CONFIG_USBC_TCPC_DRIVER is not set
    # CONFIG_USBC_VBUS_DRIVER is not set
    # CONFIG_MIPI_DSI is not set
    # CONFIG_COREDUMP_DEVICE is not set
    # end of Device Drivers
    
    #
    # C Library
    #
    CONFIG_SUPPORT_MINIMAL_LIBC=y
    CONFIG_PICOLIBC_SUPPORTED=y
    CONFIG_MINIMAL_LIBC=y
    # CONFIG_PICOLIBC is not set
    # CONFIG_NEWLIB_LIBC is not set
    # CONFIG_EXTERNAL_LIBC is not set
    CONFIG_HAS_NEWLIB_LIBC_NANO=y
    CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y
    CONFIG_MINIMAL_LIBC_MALLOC=y
    CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=0
    CONFIG_MINIMAL_LIBC_CALLOC=y
    CONFIG_MINIMAL_LIBC_REALLOCARRAY=y
    # CONFIG_MINIMAL_LIBC_LL_PRINTF is not set
    CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE=y
    # CONFIG_MINIMAL_LIBC_RAND is not set
    CONFIG_MINIMAL_LIBC_TIME=y
    # CONFIG_MINIMAL_LIBC_STRING_ERROR_TABLE is not set
    CONFIG_NEED_LIBC_MEM_PARTITION=y
    # end of C Library
    
    #
    # Additional libraries
    #
    
    #
    # OS Support Library
    #
    # CONFIG_JSON_LIBRARY is not set
    # CONFIG_RING_BUFFER is not set
    CONFIG_NOTIFY=y
    # CONFIG_BASE64 is not set
    # CONFIG_PRINTK_SYNC is not set
    # CONFIG_MPSC_PBUF is not set
    CONFIG_ONOFF=y
    # CONFIG_SPSC_PBUF is not set
    # CONFIG_SHARED_MULTI_HEAP is not set
    # CONFIG_WINSTREAM is not set
    CONFIG_REBOOT=y
    # CONFIG_UTF8 is not set
    CONFIG_CBPRINTF_COMPLETE=y
    # CONFIG_CBPRINTF_NANO is not set
    CONFIG_CBPRINTF_FULL_INTEGRAL=y
    # CONFIG_CBPRINTF_REDUCED_INTEGRAL is not set
    # CONFIG_CBPRINTF_FP_SUPPORT is not set
    # CONFIG_CBPRINTF_FP_A_SUPPORT is not set
    # CONFIG_CBPRINTF_FP_ALWAYS_A is not set
    CONFIG_CBPRINTF_N_SPECIFIER=y
    # CONFIG_CBPRINTF_LIBC_SUBSTS is not set
    # CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE is not set
    # CONFIG_CBPRINTF_STATIC_PACKAGE_CHECK_ALIGNMENT is not set
    
    #
    # Heap and Memory Allocation
    #
    # CONFIG_SYS_HEAP_VALIDATE is not set
    CONFIG_SYS_HEAP_ALLOC_LOOPS=3
    # CONFIG_SYS_HEAP_RUNTIME_STATS is not set
    # CONFIG_SYS_HEAP_LISTENER is not set
    CONFIG_SYS_HEAP_SMALL_ONLY=y
    # CONFIG_SYS_HEAP_BIG_ONLY is not set
    # CONFIG_SYS_HEAP_AUTO is not set
    # CONFIG_SYS_MEM_BLOCKS is not set
    # end of Heap and Memory Allocation
    # end of OS Support Library
    
    # CONFIG_GETOPT is not set
    CONFIG_POSIX_MAX_FDS=4
    # CONFIG_POSIX_API 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
    # end of Util libraries
    
    # CONFIG_SMF is not set
    # 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 is not set
    # CONFIG_FORCE_NO_ASSERT is not set
    CONFIG_ASSERT_VERBOSE=y
    # CONFIG_ASSERT_NO_FILE_INFO is not set
    # CONFIG_ASSERT_NO_COND_INFO is not set
    # CONFIG_ASSERT_NO_MSG_INFO is not set
    # CONFIG_ASSERT_TEST is not set
    # CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT is not set
    # CONFIG_DEBUG_INFO is not set
    # CONFIG_DEBUG_THREAD_INFO is not set
    # CONFIG_DEBUG_COREDUMP is not set
    # end of Debugging Options
    
    # CONFIG_DISK_ACCESS is not set
    # CONFIG_EMUL is not set
    # CONFIG_CHARACTER_FRAMEBUFFER is not set
    
    #
    # File Systems
    #
    # CONFIG_FILE_SYSTEM is not set
    # CONFIG_NVS is not set
    # end of File Systems
    
    #
    # Inter Processor Communication
    #
    # CONFIG_RPMSG_SERVICE is not set
    # CONFIG_IPC_SERVICE is not set
    # end of Inter Processor Communication
    
    # CONFIG_JWT is not set
    
    #
    # Logging
    #
    # CONFIG_LOG is not set
    # CONFIG_LOG_OUTPUT is not set
    # end of Logging
    
    #
    # Device Management
    #
    
    #
    # Host command handler subsystem
    #
    # CONFIG_EC_HOST_CMD is not set
    # 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_PM_S2RAM is not set
    CONFIG_PM_POLICY_DEFAULT=y
    # CONFIG_PM_POLICY_CUSTOM is not set
    CONFIG_PM_DEVICE_POWER_DOMAIN=y
    # CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC is not set
    # CONFIG_PM_DEVICE_RUNTIME 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_USBC_STACK is not set
    # CONFIG_SD_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_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_ZTRESS 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
    # CONFIG_RTIO is not set
    # end of Sub Systems and OS Services
    
    CONFIG_TOOLCHAIN_ZEPHYR_0_15=y
    CONFIG_TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE=y
    
    #
    # Build and Link Features
    #
    
    #
    # Linker Options
    #
    # CONFIG_LINKER_ORPHAN_SECTION_PLACE is not set
    CONFIG_LINKER_ORPHAN_SECTION_WARN=y
    # CONFIG_LINKER_ORPHAN_SECTION_ERROR is not set
    CONFIG_HAS_FLASH_LOAD_OFFSET=y
    CONFIG_USE_DT_CODE_PARTITION=y
    CONFIG_FLASH_LOAD_OFFSET=0x27000
    CONFIG_FLASH_LOAD_SIZE=0xc5000
    CONFIG_LD_LINKER_SCRIPT_SUPPORTED=y
    CONFIG_LD_LINKER_TEMPLATE=y
    # CONFIG_CMAKE_LINKER_GENERATOR is not set
    # CONFIG_HAVE_CUSTOM_LINKER_SCRIPT is not set
    CONFIG_KERNEL_ENTRY="__start"
    CONFIG_LINKER_SORT_BY_ALIGNMENT=y
    CONFIG_SRAM_OFFSET=0
    
    #
    # Linker Sections
    #
    # CONFIG_LINKER_USE_BOOT_SECTION is not set
    # CONFIG_LINKER_USE_PINNED_SECTION is not set
    CONFIG_LINKER_GENERIC_SECTIONS_PRESENT_AT_BOOT=y
    CONFIG_LINKER_LAST_SECTION_ID_PATTERN=0xE015E015
    # 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_FORTIFY_SOURCE_NONE=y
    # CONFIG_FORTIFY_SOURCE_COMPILE_TIME is not set
    # CONFIG_FORTIFY_SOURCE_RUN_TIME is not set
    CONFIG_COMPILER_OPT=""
    # CONFIG_MISRA_SANE is not set
    # end of Compiler Options
    
    # CONFIG_ASSERT_ON_ERRORS is not set
    # CONFIG_NO_RUNTIME_CHECKS is not set
    CONFIG_RUNTIME_ERROR_CHECKS=y
    
    #
    # Build Options
    #
    CONFIG_KERNEL_BIN_NAME="zephyr"
    CONFIG_OUTPUT_STAT=y
    # CONFIG_OUTPUT_SYMBOLS is not set
    CONFIG_OUTPUT_DISASSEMBLY=y
    # CONFIG_OUTPUT_DISASSEMBLE_ALL is not set
    CONFIG_OUTPUT_PRINT_MEMORY_USAGE=y
    # CONFIG_CLEANUP_INTERMEDIATE_FILES is not set
    # CONFIG_BUILD_NO_GAP_FILL is not set
    CONFIG_BUILD_OUTPUT_BIN=y
    # CONFIG_BUILD_OUTPUT_EXE is not set
    # CONFIG_BUILD_OUTPUT_S19 is not set
    CONFIG_BUILD_OUTPUT_UF2=y
    CONFIG_BUILD_OUTPUT_UF2_FAMILY_ID="0xada52840"
    # CONFIG_BUILD_OUTPUT_STRIPPED is not set
    # CONFIG_BUILD_OUTPUT_INFO_HEADER is not set
    # CONFIG_APPLICATION_DEFINED_SYSCALL is not set
    # CONFIG_MAKEFILE_EXPORTS is not set
    # CONFIG_BUILD_OUTPUT_META is not set
    # end of Build Options
    
    CONFIG_WARN_DEPRECATED=y
    CONFIG_ENFORCE_ZEPHYR_STDINT=y
    # end of Build and Link Features
    
    #
    # Boot Options
    #
    # CONFIG_IS_BOOTLOADER is not set
    # CONFIG_BOOTLOADER_BOSSA is not set
    # end of Boot Options
    
    #
    # Compatibility
    #
    CONFIG_COMPAT_INCLUDES=y
    # end of Compatibility
    
    # CONFIG_LEGACY_INCLUDE_PATH is not set
    

  • There is nothing here that should cause a high current consumption on the nRF. How do you measure the current consumption?

  • I'm using an otii arc, feeding the xiao and measuring, both through the battery pins on the bottom.

  • I see. Is that the same way you measured the current consumption when you programmed the board with some Arduino based project and got a much lower current consumption? Can you re-do that test with the exact same test setup and see if you still get the low current consumption with Arduino code? If so, I guess we can assume the measurement setup is OK.

    And there is no LEDs or anything lit on the board, and you have disconnected the expansions you had, so that it is just the module itself?

  • Just tried it, tried a blinky with deep sleep flashing with arduino, deactivated the LED and its drawing 23.2uA, measuring the exact same way, no expansion board, no LED turning on, nothing connected. Then tried again the Zephyr blinky with sleep and am again getting around 500uA. I also tried the Zephyr system off example and get a similar consumption.

Related