Add support for memory mapped peripherals as resources
korken89 opened this issue · 1 comments
korken89 commented
Since we can't do:
std::integral_constant< SPI_typedef*, reinterpret_cast< SPI_typedef* >(0x4000000) >
A more round about way is needed. Proposed solution tested here: https://godbolt.org/g/V8Df6A