This serves as a tutorial for myself to setup my own IDE for microcontroller programming
Why command-line (No IDE)?
- Customization
- Favorite tools: Editor, terminal
- Script, aliases, configs
- Consistency
- One good setup across projects
- Avoid IDE hopping (some IDEs suck!!)
- Build automation
- Continous integration (CI), testing etc.
- Hard to automate from IDE
- Knowledge
- Understand build process better
Toolchains (ex: MSP-CGT)
- Proprietary
- only targets MSP430s
- +15% better than GCC
GNU Compiler Collection (GCC)
- De-facto standard on Linux part of GNU Toolchain
- Widely used (e.g Linux kernel)
- Support many targets (x86, ARM, ...)
- Open Source
- Well documented
Install GCC Toolchain:
- Download GCC Open source from TI website -https://www.ti.com/tool/MSP430-GCC-OPENSOURCE#downloads