Half way through dynamic USART changes to implement Serial2 (efficiently)
Serial2 dynamic version half way there and working so far. Next will be making the USART class dynamic, as planned.
Serial1/2 dynamic re-code complete. Transmit test OK on both ports. Will test RX when I've had some sleep.

(Some refactoring and variable name improvements are no doubt needed.)
Serial1/2 dynamic re-code working. Transmit test OK on both ports. Will test RX when I've had some sleep.

Some refactoring and variable name improvements are no doubt needed.
Too much pointer dereferencing going on, too. It’s a work in progress,
still.
Merge branch 'feature/serial2' of https://github.com/gruvin/core-firmware into feature/serial2
A little tidying of USART_MAP
Tidied up some lazily-unneeded pointers. Created _UMAP macro to improve code readibality.
Ammend/completed USART_MAP doc comments
Serial receive tested OK.
Tidied up interrupt handler pointers. (This resulted in 8 _more_ bytes (4 x 32bit words) of binary code. :-/ Oh well. It's more consistent with the rest of the code, now.
Trivial: removed ambuigous,'Spark_' from USART_Interrupt_Handler(...)
Edited README.md to explain purpose and method of this branch.

Added ::end method code to undo pin re-mapping.
Fixed some README typos and gramma
Removed test code from application.cpp.

Will submit pull request.
Added Flash binary size increase anaylsis from adding Serial2 support, to README.md.
Corrects(?) to code size cost anaylis, README.md.
Removed unintended, temp file in build dir.
Created new libraries folder and moved Serial2 instantiation to libraries/Serial2/Serial2.h.

Edited build/makefile accordingly.

Have left simple test code in application.cpp for now. Will address this and the documentation requrests in Issue 89 later (soon, hopefully).
Final feature/serial2 implementation (for now) including libraries/Serial2/Serial2.h

+ Reverted to tidier pointer (usartMap) instead of _UMAP macro.
+ Tidied up comments.
+ Physical testing OK.
+ Removed test code from src/application.cpp.
Added comment about need for ISR helper function being shared and needing to remain reentrance compliant.