Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply, write etc missing on STM32F072x #81

Open
Sickeroni opened this issue Nov 25, 2016 · 4 comments
Open

apply, write etc missing on STM32F072x #81

Sickeroni opened this issue Nov 25, 2016 · 4 comments

Comments

@Sickeroni
Copy link
Contributor

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
Copy link
Member

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
Copy link
Member

odinthenerd commented Nov 29, 2016

work around for now is to just include Register.hpp

@odinthenerd
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants