picoUART icon indicating copy to clipboard operation
picoUART copied to clipboard

add parity support

Open nerdralph opened this issue 5 years ago • 1 comments

https://github.com/MCUdude/MicroCore/issues/101#issuecomment-628206624

nerdralph avatar May 14 '20 00:05 nerdralph

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.

nerdralph avatar Feb 04 '21 13:02 nerdralph