Content originally posted in LPCWare by mch0 on Tue Aug 19 11:16:03 MST 2014
Hi Dill,
thanks for the pointer, found the code you referenced!
First of all it indeed uses the new API, much better to have a reference now.
Second observation:
The library code is still broken, but the bug is not triggered by the test code.
Reason:
I had to register a new device (S25FL064P), the test code does not register any device besides the "built in" devices. Since I decided to keep my add-ons clear from the supplied library to avoid any overwrite when the next SPIFI lib arrives, I had to use the return parameter of the register-family function.
Well, that's where (one) bug is in V 0.6.
The test code never uses the return parameter ...
Anyway, since I'm now more confident that the files are basically usable I started some fixing.
At least I the library now correctly registers and detects my device :)
Thanks,
Mike