CONFIG_FLASH_MAP was assigned the value y, but got the value n. Missing dependencies: FLASH_HAS_DRIVER_ENABLED

I have the following settings in my prj.conf:
# Enable the BLE stack with GATT Client configuration
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y

# Enable BLE scan
CONFIG_BT_SCAN=y
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_SHORT_NAME_CNT=1
CONFIG_BT_GATT_DM=y

# Enable bonding
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y

# Config logger
CONFIG_LOG=y
and getting the error 
CONFIG_FLASH_MAP was assigned the value y, but got the value n. Missing dependencies:
FLASH_HAS_DRIVER_ENABLED
My understanding is that FLASH_HAS_DRIVER_ENABLED is not set directly, but by inclusion of some config that assures that flash drivers will be included.
I have the same flash setting in another project and it is working...
Using v2.8 SDK and Toolchain.
Running on nRF52840.
Your input is greatly appreciated!
Parents
  • Hello,

    My understanding is that FLASH_HAS_DRIVER_ENABLED

    that is correct. Are you building for the nrf52840dk/nrf52840, or do you have some custom board?

    Is there any way for me to reproduce what you are seeing? 

    I suspect this is either a board problem, if you have a custom board, or that it is some toolchain/configuration issue.

    Can you also share your entire build log? Including the build command in the very beginning.

    Best regards,

    Edvin

  • Sorry for the delay - the site was not letting me reply. I'm going to try replying without the log, and see if that will get through.

    So you can repro, I create a new application using the bluetooth central sample from the 2.8.0 samples.

    I created a build using SDK and toolchain 2.8.0 using the nRF52840dk_nRF52840 board.

    I built to ensure that all was good.

    I then modified the prj.conf to match the above, and got the same error (and discovered there were others).

    Thanks!

  • Nope - I couldn't even post 10 lines of the log. No idea why. I get "An error occurred. Please try again or contact your administrator."

Reply Children
No Data
Related