p3p / pio-framework-arduino-lpc176x

10 stars 18 forks source link

Allow DiskIO functions to be overwritten by the client code #45

Closed rhapsodyv closed 3 years ago

rhapsodyv commented 3 years ago

This PR makes DiskIO functions weak references, allowing client code to easily overwritte them.

It's needed when the board have a SD card that don't follow the SPI requirements of the LPC framework. Example: MKS SGEN L V2.