serial: output formatting
CMakeLists added