Complete NVM block support.
Add a demo/test application for NVM.