Hello, I am porting an old application to NuttX. This is running on a hardware board that uses the NXP LPC1769 MCU. I am in need of the up_progmem interface.
Unfortunately, I see that this driver is broken. It is not working, always returning an error. I checked its internals, but it is quite a mess. It makes wrong calculations on the sector sizes, it confuses the terms "page" and "sector" etc. I see that it makes some calculations on the addresses, that to my knowledge do not reflect the hardware in any way. Is it actually that broken, or am I using it so incorrectly? Has anyone used it before successfully? I would appreciate a MWE of this driver. Or someone to confirm that it is not working before I start to rewrite it.