korken89/crect

Add support for memory mapped peripherals as resources

korken89 opened this issue · 1 comments

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

Implemented in commit 76d6d89