Commit Briefs
add manpage (main)
use cfmakeraw when setting up the serial line
Somehow missed that function at first. This makes serial I/O work on Linux.
add a second test
This one is designed to let us see when the chip reboots.
reduce serial read timeout to 100ms
Unreliable responses from the board are not due to being busy, but due to flaky serial receive code. If it missed our request, it will never answer, so better to fail (and try again) early.
do nanosleep properly
Also fixes a missing 0 in the timespec. Oops.
add more diagnostics and make upload work
Still somehow only works the first time. To be investigated.
WIP prototype
Designed and tested to run on OpenBSD. Translation works, but upload does not.