I’m trying to use the mbed built in drivers. How can I include either Blockdevice.h or SPIFBlockDevice.h into my project.
I’ve enabled Storage and SPIF by adding the code below to mbed_app.json
{
"target_overrides": {
"*": {
"target.components_add": ["SPIF"],
"target.features_add": ["STORAGE", "BOOTLOADER"]
}
}
}
But I can’t seem to be able include either file of the following files in main.cpp
#include <SPIFBlockDevice.h>
#include <BlockDevice.h>