Ignore compiled Python and firmware files.
Improve flashing.