Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
4 years, 11 months ago.
hi, My board is DISCO-F469NI. I want to use internal flash to record variables. Firstly, I called the flash class like this; FlashIAP my_flash;
but compiler gave error. Then I realized that I must change mbed library. I imported mbed-dev to the project and changed "mbed-dev/targets/targets.json" file. I added "FLASH" to "device has" line of related code fragment. Now, no problem with "FlashIAP my_flash" but I get an another error: "Error: Incomplete type is not allowed in "mbed-dev/drivers/FlashIAP.h", Line: 128, Col: 14"
Error is at line " flash_t _flash; " of FlashIAP.h file.
How can I fix this error or where do I make a mistake?