How to enable SPIF device blcok in custom_targets.json

I am trying to figure out how to enable the use of SPIFBlockDevice.h from mbed os. I was not able to figure out what I needed to add to the various .json files in order to enable this feature. As of right now, there is only a custom_targets.json that specifies the custom board. I tried adding “features_add”: [“STORAGE”] as well as “components_add”: [“SPIF”] to get platformio to recognize SPIFBlockDevice.h

No matter how I changed the json files, I was not able to get platformio to compile in the SPIFBlockDevice file from the mbed library.

@valeros please help

Hi @WHOmagoo! Could you please provide a simple project to reproduce the issue?