Fixed example for Eclipse IDE with Tiva board

I appreciate the code conventions for `main.c` are different (me being lazy and Eclipse being very keen). I'm happy to change it to whatever you are using, if you feel strongly about it.

Fully working on Eclipse Luna (C/C++ edition). `platformio` command must be in the path (I use `virtualenv`, and therefore the environment for the builder needs some tweaking).