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

add parity support #2

Open
nerdralph opened this issue May 14, 2020 · 1 comment
Open

add parity support #2

nerdralph opened this issue May 14, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@nerdralph
Copy link
Owner

MCUdude/MicroCore#101 (comment)

@nerdralph nerdralph added the enhancement New feature or request label May 14, 2020
@nerdralph
Copy link
Owner Author

Adding parity support is not difficult to add, but it is difficult to do in a simple and efficient way that does not add overhead to the code when parity is not used.
The current inline asm code is already complex, and I would prefer to avoid adding #ifdef statements to the code for conditional compilation of parity.

One possibility is to use metaprogramming, with common code blocks that are assembled by a makefile, to generate separate include files for a parity and non-parity version of picoUART.

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

No branches or pull requests

1 participant