"FlashIAPBlockDevice" is undefined in using STM32F429I-DISC1

I’m using STM32F429I-DISC1’s internal FLASH,I write “#include “FlashIAPBlockDevice.h”” in my x.cpp file. but it tip: “FlashIAPBlockDevice” is undefined.How to use internal FLASH in STM32F429I-DISC1,Anyone can give me an example?

Hello,

Add a mbed_app.json file to the root directory of your project (if not done yet) with the following content:

{
    "target_overrides": {
        "*": {
            "platform.stdio-baud-rate": 115200,
            "target.components_add" : ["FLASHIAP"]
        }
    }
}

Thanks! I get the reason, It need to add code:
bd= new FlashIAPBlockDevice(ADDR_FLASH_SECTOR_0, FLASH_SIZE);