arduino:configuring_netbeans_for_arduino_development
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
arduino:configuring_netbeans_for_arduino_development [2018/08/24 16:05] – mithat | arduino:configuring_netbeans_for_arduino_development [2018/10/02 18:56] – [Configuring Netbeans for Arduino Development] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Configuring Netbeans for Arduino Development ====== | ====== Configuring Netbeans for Arduino Development ====== | ||
- | My current favorite tool for developing non-trivial Arduino projects is Netbeans with C++ support. This documents my setup. It has been vetted with NetBeans 8.2. | + | My current favorite tool for developing non-trivial Arduino projects is Netbeans with C++ support. Netbeans is a great candidate for Arduino programming because it allows you to define specific toolsets for projects and it uses standard Makefiles to manage the build. So all you really need to do is configure a toolset for Auduino and create an appropriate Makefile. This documents my setup and has been vetted with NetBeans 8.2. |
===== The tool collection ===== | ===== The tool collection ===== | ||
- | + | NetBeans will be happiest if you let it know where the build tools for your project live. Set up a new tool collection for Arduino along the lines of the figure below: | |
- | I use either [[https:// | + | |
{{: | {{: | ||
+ | If you are using an Arduino that uses something other than an AVR microcontroller, | ||
===== The Makefile and config ===== | ===== The Makefile and config ===== | ||
+ | |||
+ | I use either [[https:// | ||
==== Arduino-Makefile ==== | ==== Arduino-Makefile ==== | ||
- | When creating a new project with Arduino-Makefile, | + | When creating a new project with Arduino-Makefile, |
<file make Makefile> | <file make Makefile> | ||
Line 35: | Line 37: | ||
==== Arduino-Build ==== | ==== Arduino-Build ==== | ||
+ | |||
If you're using Arduino-Build, | If you're using Arduino-Build, | ||
<file make Makefile> | <file make Makefile> | ||
- | # Point BB at the arduino-build.sh script | + | # Point BB at the arduino-build script |
- | BB=< | + | BB=< |
# You shouldn' | # You shouldn' | ||
Line 61: | Line 64: | ||
You will also need an '' | You will also need an '' | ||
- | < | + | < |
# === Arduino path === | # === Arduino path === | ||
ARDUINO_PATH=/ | ARDUINO_PATH=/ | ||
Line 80: | Line 83: | ||
===== Code completion ===== | ===== Code completion ===== | ||
- | While your setup should be working now, NB will be shouting at you a lot about things not being defined, etc. That's because you need to add [[arduino: | + | While your setup should be working now, NetBeans |
arduino/configuring_netbeans_for_arduino_development.txt · Last modified: 2024/02/05 19:06 by mithat