This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How To add theother QSPI FLASH

I use the NCS SDK 1.5.1, the sample is use a QSPI FLASH(MX25R64), and we want to change this QSPI FLASH. we will use P25Q80H, which code should be modify?

Parents Reply
  • Our HomeKit experts responds with:

    In HomeKit sample in prj.configs there are:
    ### External flash Cconfiguration for secondary app image slot
    CONFIG_NORDIC_QSPI_NOR=y
    CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE=16
     
    CONFIG_PM_EXTERNAL_FLASH=y
    CONFIG_PM_EXTERNAL_FLASH_DEV_NAME="MX25R64"
    CONFIG_PM_EXTERNAL_FLASH_BASE=0x0
    CONFIG_PM_EXTERNAL_FLASH_SIZE=0x800000
    and in homekit/samples/multiprotocol/child_image/mcuboot.conf
    ### External flash
    CONFIG_NORDIC_QSPI_NOR=y
    CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE=16

    Let me know how this works for you. 

    Kind regards,
    Øyvind
Children
Related