Uart: LPC: replaced preprocessor macros by jinja2 statements