It's not working but I want to upload
After hours of debugging it seems that this wasn't working because of the -I or -L in the Makefile. I don't know which but removing all the references to the toolchain's includes and libs made things work much better.
Oops, set initial to true to start.
Merge pull request #1 from balshetzer/master

A working demo of txbolt