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

apply, write etc missing on STM32F072x #81

Open Sickeroni opened 8 years ago

Sickeroni commented 8 years ago

apply, write set etc don't work. works on MKL27Z4 trough generated "Chip/MKL27Z4.hpp" thats include generated "Io.hpp" in that includes "Register/Register.hpp". Io.hpp is missing on STM32F072x and therefore Registers.hpp.

helperscript must be modified for this.

odinthenerd commented 7 years ago

yes this is a problem, I think its part of a bigger question: "how best to make a split header implementation?" the way we are doing it now is not strictly split header because we include different named headers. It would be good if someone could, at the command line, decide which target to build.

odinthenerd commented 7 years ago

work around for now is to just include Register.hpp

odinthenerd commented 7 years ago

We should put the "include all" files in the same folder as the rest of the chip files and call it all.hpp, then it should include Register.hpp too.

odinthenerd commented 7 years ago

Chip should not be a sub folder of lib because lib is an include directory and this confuses intelisense because it walks all sub folders