Add .gitignore for build outputs.
Add serial enumeration code.