Port Implementation Tutorial

Steps required to implement a port of the Serial Port Driver.

The actions needed in porting a Serial Port Driver are based on the experience of porting the template reference board port. Note however that the code shown here is idealized to show the basic principles; it is not an exact copy of the template port code.

In the template reference board port, the .mmp for the physical device driver is ...\template_variant\datxtemplate.mmp. This is one of the PRJ_MMPFILES referenced in the variant's bld.inf in the ...\template_variant\... directory, and means that the Serial Port Driver is built as part of the variant. The source for the driver is contained entirely within ...\template_variant\specific\uart.cpp.