Hello James Smith,
Sorry the SDK of LPC80x series product haven't includes FALSH driver.
In fact, the LPC802 flash driver use IAP command, so you can refer to the Code Bundle code:
LPC802 Example Code Bundle MCUXpresso
Also there is a Application about using EEPROM on LPC802, you can refer to the code and how to
using IAP command to erase, write flash, etc.
https://www.nxp.com/docs/en/application-note/AN12125_LPC802.zip
Wish it helps you!
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------