/ { chosen { nordic,pm-ext-flash = &mx25r64_ext; }; }; &qspi { status = "okay"; pinctrl-0 = <&qspi_default>; pinctrl-1 = <&qspi_sleep>; pinctrl-names = "default", "sleep"; mx25r64_ext: mx25r6435f@0 { compatible = "nordic,qspi-nor"; reg = <0>; /* MX25R64 supports only pp and pp4io */ writeoc = "pp4io"; /* MX25R64 supports all readoc options */ readoc = "read4io"; sck-frequency = <8000000>; jedec-id = [ c2 28 17 ]; size = <67108864>; }; };
CONFIG_PRINTK=y CONFIG_LOG=y CONFIG_CBPRINTF_FP_SUPPORT=y CONFIG_CONSOLE=y CONFIG_UART_CONSOLE=y CONFIG_I2C=y CONFIG_PWM=y CONFIG_JSON_LIBRARY=y CONFIG_GPIO=y CONFIG_BT=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DEVICE_NAME="WIDGET" CONFIG_BT_EXT_ADV=y CONFIG_BT_SMP=y CONFIG_BT_BONDABLE=n CONFIG_BT_FIXED_PASSKEY=y CONFIG_MCUMGR_GRP_ZBASIC=y CONFIG_MCUMGR_GRP_ZBASIC_STORAGE_ERASE=n CONFIG_BT_BUF_ACL_RX_SIZE=517 CONFIG_BT_L2CAP_TX_MTU= 517 CONFIG_BT_BUF_ACL_TX_SIZE=517 CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 CONFIG_BT_RX_STACK_SIZE=2048 CONFIG_SENSOR=y CONFIG_FLASH=y CONFIG_NVS=y CONFIG_SETTINGS=y CONFIG_FLASH_PAGE_LAYOUT=y CONFIG_FLASH_MAP=y CONFIG_SETTINGS_RUNTIME=y # # External FLASH as Storage Partition CONFIG_NORDIC_QSPI_NOR=y CONFIG_PM_PARTITION_REGION_SETTINGS_STORAGE_EXTERNAL=y CONFIG_PM_PARTITION_SIZE_SETTINGS_STORAGE=0x100000 CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n #Enable MCUBOOT bootloader build in the application CONFIG_BOOTLOADER_MCUBOOT=y #Include MCUMGR and the dependencies in the build CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y CONFIG_MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY=y CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_VALIDATION=y CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP=y #Improve read/write performance to/from External flash CONFIG_SETTINGS_NVS_NAME_CACHE=y CONFIG_NVS_LOOKUP_CACHE=y CONFIG_NVS_LOOKUP_CACHE_FOR_SETTINGS=y CONFIG_NVS_LOOKUP_CACHE_SIZE=1024