- Install PlatformIO
- Install “udev” rules 99-platformio-udev.rules for debugging.
- Open platformio interface in IDE
- Platforms -> Search: Tiva -> Install
- Create a new project with choosen platformio IDE
- You are done.
Create executable script of example/build_run.sh by "chmod +x build_run.sh" if the board is a tm4c1294* type.
See the examples from platformio examples
These examples can be found inside platformIO IDE -> boards -> Tiva -> Examples
#include "Energia.h"
For more information go to platformio Tiva
Solution: Install following ncurses5-compat-libs & lib32-ncurses5-compat-libs
Error: SRST error
Error: memory read failed: 0x7
Error: memory write failed: 0x7
in procedure 'program'
*** [upload] Error 1
These errors are to my best knownledge OpenOCD related errors but they do not affect anything(The program will still run).
WARNING: board/ek-tm4c1294xl.cfg is deprecated, please switch to board/ti_ek-tm4c1294xl.cfg
- Solution: Edit /home/$USER/.platformio/platforms/titiva/boards/lptm4c1294ncpdt.json
- Find "-f", "board/ek-tm4c1294xl.cfg" under "debug"
- Change "board/ek-tm4c1294xl.cfg" -> "board/ti_ek-tm4c1294xl.cfg"