Add target flashing for C4. Closes #4659
Merge pull request #5904 from ScottNZ/c4-flashtarget

Add target flashing for C4.