microcontrollers:avr_ides_for_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
microcontrollers:avr_ides_for_linux [2012/01/26 22:34] – mithat | microcontrollers:avr_ides_for_linux [2012/01/26 23:09] – [Netbeans C/C++] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== AVR IDEs for Linux ====== | ====== AVR IDEs for Linux ====== | ||
- | Some quick notes on some options. No matter what, it seems that learning the toolchain' | + | :!: //While I have spent good chunks of time experimenting with the tools listed below, I have yet to develop anything like a non-trivial AVR---or any other microcontroller---project |
- | Executive summary (at this moment): If you are willing to run Java and deal with some intense resource demands, [[# | + | Some quick notes on some options I've investigated are given below in alphabetical order. The more I investigate, |
+ | |||
+ | Executive summary (at this moment): If you are willing to run Java and deal with some intense resource demands, [[# | ||
===== CodeBlocks ===== | ===== CodeBlocks ===== | ||
- | //:!: **Update (2011-01-16)**: | + | //:!: **Update (2011-01-16)**: |
//:!: **Update (2011-01-21)**: | //:!: **Update (2011-01-21)**: | ||
Line 15: | Line 17: | ||
Code completion is pretty good; completions popup automatically or with Ctrl-Space; calltips are available w/ Ctrl-Shift-Space. When you set up an AVR project, make sure to add ''/ | Code completion is pretty good; completions popup automatically or with Ctrl-Space; calltips are available w/ Ctrl-Shift-Space. When you set up an AVR project, make sure to add ''/ | ||
- | ==== Using the built-in AVR template ==== | + | ==== Using the built-in AVR project |
Some cautions: | Some cautions: | ||
- | * The standard CB AVR project doesn' | + | * The standard CB AVR project doesn' |
* How to change the **MCU** and **clock frequency** used isn't that intuitive. | * How to change the **MCU** and **clock frequency** used isn't that intuitive. | ||
* **MCU**: //Project > Build options... > Compiler settings > Compiler flags// (scroll down to the middle) **and** //Project > Build options... > Linker settings > Other linker options:// | * **MCU**: //Project > Build options... > Compiler settings > Compiler flags// (scroll down to the middle) **and** //Project > Build options... > Linker settings > Other linker options:// | ||
* **Clock frequency**: | * **Clock frequency**: | ||
- | There doesn' | + | Any external scripts developed to fill in the holes above (debugging and programming) will require redundant entry of information---because there doesn' |
==== Setting up a CB AVR project that uses a Makefile ==== | ==== Setting up a CB AVR project that uses a Makefile ==== | ||
Line 100: | Line 102: | ||
==== CDT with Makefiles ==== | ==== CDT with Makefiles ==== | ||
- | Initial testing suggests that you can use Eclipse CDT to develop AVR projects with a Makefile even without the AVR Eclipse plugin.((As was the case with CodeBlocks, using Makefiles makes your projects independent of the IDE you used to develop them. You should be aware that the AVR Eclipse plugin actually generates | + | Initial testing suggests that you can use Eclipse CDT to develop AVR projects with a Makefile even without the AVR Eclipse plugin.((As was the case with CodeBlocks, using Makefiles makes your projects independent of the IDE you used to develop them. Note that the AVR Eclipse plugin actually generates |
- | | + | |
- | | + | |
- | | + | |
Now you can copy or create a '' | Now you can copy or create a '' | ||
Line 113: | Line 115: | ||
Eclipse CDT automatically picked up code completions after I added ''/ | Eclipse CDT automatically picked up code completions after I added ''/ | ||
+ | |||
+ | Note that creating a project templates in Eclipse is //not// a trivial activity. | ||
+ | |||
==== AVR Eclipse plugin ==== | ==== AVR Eclipse plugin ==== | ||
Line 123: | Line 128: | ||
Geany is awesomely lightweight, | Geany is awesomely lightweight, | ||
- | Geany' | + | Geany' |
- | Even with the bundle above, Geany still doesn't parse files referenced in the file you're editing for autocomplete symbols---meaning that local header files will need to be open if you want things defined in those to be autocompleted. The only workaround to this that I can think of is to have all the headers that are part of your project open during the session. Geany also won' | + | Even with the bundle above, Geany won't parse files referenced in the file you're editing for autocomplete symbols---meaning that local header files will need to be open if you want things defined in those to be autocompleted. The simplest |
===== Netbeans C/C++ ===== | ===== Netbeans C/C++ ===== | ||
- | //:!: **Update (2011-01-20)**: | + | //:!: **Update (2011-01-20)**: |
It's something of a tossup between Netbeans w/C++ and Eclipse CDT. Both have about the same intense hunger for resources, both have really excellent code completion, both can be configured for Makefile-based builds, both can be directed to additional includes on a per-project basis so autocompletion and tooltips work as expected, both support some C/C++ refactoring. | It's something of a tossup between Netbeans w/C++ and Eclipse CDT. Both have about the same intense hunger for resources, both have really excellent code completion, both can be configured for Makefile-based builds, both can be directed to additional includes on a per-project basis so autocompletion and tooltips work as expected, both support some C/C++ refactoring. | ||
Line 136: | Line 141: | ||
===== No IDE ===== | ===== No IDE ===== | ||
- | Use a text editor, a terminal emulator, and a Makefile. Clean. Minimal. Hardcore. This is actually | + | Use a text editor, a terminal emulator, and a Makefile. Clean. Minimal. Hardcore. This so frightfully close to the [[#Geany]] setup above that you may as well reference that. |
===== Qt Creator ===== | ===== Qt Creator ===== |
microcontrollers/avr_ides_for_linux.txt · Last modified: 2012/09/17 22:16 by mithat