Skip to content

QSPIFBlockDevice.h: No such file or directory (re Raspberry Pi Pico) #489

Closed
@Gerriko

Description

@Gerriko

Using mbed_rp2040/3.1.1

Board Variant: Raspberry Pi Pico

Have included the following libraries in my test example code (based off the AccessFlashAsUSBDisk example):

#include "PluggableUSBMSD.h"
#include "QSPIFBlockDevice.h"
#include "MBRBlockDevice.h"
#include "FATFileSystem.h"

When compiling I get the following response:

Alternatives for QSPIFBlockDevice.h: []
ResolveLibrary(QSPIFBlockDevice.h)
  -> candidates: []
AccessFlashAsUSBDisk:10:10: fatal error: QSPIFBlockDevice.h: No such file or directory
 #include "QSPIFBlockDevice.h"
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

Searching through the previous issues, I assume the fix will be similar to the one given in @facchinm response & clarifications. Issue number: #377

If so, please could someone confirm, especially with regard to macros (e.g. I assume NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS should not be included as nRF52840 specific) and pin numbers. Maybe some sort of guidance/instruction could be added to documentation and/or in the examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions