mcci-catena / Catena-Arduino-Platform

Arduino platform library for MCCI Catena IoT Systems
MIT License
12 stars 11 forks source link

Make mx25v8035 support like at25sf081 (c++) #224

Open terrillmoore opened 4 years ago

terrillmoore commented 4 years ago

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.