The mx25v8035 header file is C-like. The at25fs081 header file is C++ like, and defines things like DEVICE_SIZE to make it easier to do things abstractlhy.
We should
1) create an abstract interface for flash
2) implement at25fs081 in terms of the abstract interface
3) refactor mx25v8035 into a pure C++ file plus a legacy file that #defines the things that were defined by the current file.
4) use the mx25v8035_cpp.h file everywhere internally, removing all references to the legacy file except in continuous integration.
The mx25v8035 header file is C-like. The at25fs081 header file is C++ like, and defines things like DEVICE_SIZE to make it easier to do things abstractlhy.
We should 1) create an abstract interface for flash 2) implement at25fs081 in terms of the abstract interface 3) refactor mx25v8035 into a pure C++ file plus a legacy file that #defines the things that were defined by the current file. 4) use the mx25v8035_cpp.h file everywhere internally, removing all references to the legacy file except in continuous integration.