mcci-catena / Catena-Arduino-Platform

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

Make generic Catena Flash class #245

Open terrillmoore opened 4 years ago

terrillmoore commented 4 years ago

Right now, we need #if blocks for flash support for the various boards. Instead, we should have Catena::Flash class; it should export the appropriate gFlash.begin(), gFlash.end() and gFlash.powerdown() methods, and it should internally manage the appropriate SPI bus.