In the SDK for the LPCXpresso55S28, in fsl_iap.c, there are the definitions of functions in the ROM API. Eg struct version1FlashDriverInterface, function pointer flash_program().
That function flash_program() has a parameter uint8_t *src. The parameter isn't marked as const. I'm wondering if that is because the parameter is genuinely a non-const pointer — i.e. flash_program() might actually change the src data — or if it is just because the function definitions in fsl_iap.c have not been created with const-correctness in mind.
已解决! 转到解答。
We will fix it in next release SDK 2.15.0
Thank you for bringing the problem to our attention.
Have a nice day,
Jun Zhang
We will fix it in next release SDK 2.15.0
Thank you for bringing the problem to our attention.
Have a nice day,
Jun Zhang