SPI-NOR driver does not work join to ble uart example

Hi everybody,

I'm working on a project where I want to write in an external flash nor memory, and transfer data over BLE. The combination of the peripherical_uart sample with the nor-flash driver sample running in another thread is a good example of what I'm trying to achieve. But, I couldn't manage to make this combination works. For some reason I always get "SPI flash driver MX25R64 was not found!" if a paste the NOR-FLASH example (and the project.conf)  Inside the peripheral sample, even though the nor-flash sample works out of the box.

I have checked many times the project configuration, all seems to be OK. I'm pasting below, so you can check. PLEASE, HELP ME!!!

# Enable the UART driver
CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_UARTE0=y
CONFIG_SERIAL=y

CONFIG_GPIO=y

# Make sure printk is printing to the UART console
CONFIG_CONSOLE=y

CONFIG_HEAP_MEM_POOL_SIZE=2048

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="Nordic_UART_Service"
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_MAX_CONN=1
CONFIG_BT_MAX_PAIRED=1

# Enable the NUS service
CONFIG_BT_NUS=y

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

# Enable DK LED and Buttons library
CONFIG_DK_LIBRARY=y

# This example requires more workqueue stack
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

# Config logger
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n

CONFIG_ASSERT=y

CONFIG_STDOUT_CONSOLE=y
CONFIG_SPI=y
Related