kvasir-io / Kvasir

C++ Metaprogramming library enabling better static checking and register abstraction in embedded software
Apache License 2.0
409 stars 40 forks source link

no type named 'DataType' #105

Closed TorstenRobitzki closed 7 years ago

TorstenRobitzki commented 7 years ago

Hi, while including "Chip/nrf52.hpp", I get following compiler message:

/Users/todi/Kvasir/Lib/Chip/CM4/Nordic/nrf52/RADIO.hpp:207:89: error: no type named 'DataType' in 'struct Kvasir::Register::FieldValue<Kvasir::Register::FieldLocation<Kvasir::Register::Address<1073746692u, 4294953728u, 0u, unsigned int>, 16u, Kvasir::Register::Access<(Kvasir::Register::AccessType)2>, Kvasir::RadioIntenset::DisabledVal>, (Kvasir::RadioIntenset::DataType)0>' constexpr Register::FieldValue<decltype(disabled)::Type,DisabledVal::enabled> enabled{};

Any idea, how to fix this?

TIA, Torsten

TorstenRobitzki commented 7 years ago

Seems to be fixed on the development branch! :-)