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 revision | ||
arduino:configuring_netbeans_for_arduino_development [2018/08/24 16:15] – [The tool collection] mithat | arduino:configuring_netbeans_for_arduino_development [2024/02/05 19:06] (current) – 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 [[https:// |
===== The tool collection ===== | ===== The tool collection ===== | ||
Line 8: | Line 8: | ||
{{: | {{: | ||
- | If you are using something other than an Arduinos with AVR microcontrollers, the paths will need to be adjusted. | + | If you are using an Arduino that uses something other than an AVR microcontroller, the paths will need to be adjusted. |
===== The Makefile and config ===== | ===== The Makefile and config ===== | ||
- | I use either | + | I use my own [[https:// |
- | + | ||
- | ==== Arduino-Makefile ==== | + | |
- | + | ||
- | When creating a new project with Arduino-Makefile, | + | |
- | + | ||
- | <file make Makefile> | + | |
- | # Project config | + | |
- | ARDUINO_LIBS = SoftwareWire AsyncTimer | + | |
- | BOARD_TAG = pro | + | |
- | BOARD_SUB = 16MHzatmega328 | + | |
- | MONITOR_PORT = / | + | |
- | MONITOR_CMD = screen-wrap | + | |
- | + | ||
- | # " | + | |
- | ARDUINO_QUIET = true | + | |
- | ARDUINO_SKETCHBOOK = $(HOME)/ | + | |
- | ARDUINO_DIR = $(HOME)/ | + | |
- | ARDMK_DIR = $(HOME)/ | + | |
- | + | ||
- | # Include parent Makefile from < | + | |
- | include $(HOME)/ | + | |
- | </ | + | |
==== Arduino-Build ==== | ==== Arduino-Build ==== | ||
Line 41: | Line 19: | ||
<file make Makefile> | <file make Makefile> | ||
- | # Point BB at the arduino-build.sh script | + | # Point BB at the arduino-build script |
- | BB=<your-path-to>/ | + | BB=/your/path/to/ |
# You shouldn' | # You shouldn' | ||
Line 62: | Line 40: | ||
</ | </ | ||
- | You will also need an '' | + | You will also need an '' |
- | < | + | < |
# === Arduino path === | # === Arduino path === | ||
ARDUINO_PATH=/ | ARDUINO_PATH=/ | ||
Line 79: | Line 57: | ||
</ | </ | ||
- | See the Arduino-Build readme for information on figuring out the board parameters and other fiddly bits. | + | Consult |
+ | |||
+ | ==== Arduino-Makefile ==== | ||
+ | |||
+ | When creating a new project with Arduino-Makefile, | ||
+ | |||
+ | <file make Makefile> | ||
+ | # Project config | ||
+ | ARDUINO_LIBS = SoftwareWire AsyncTimer | ||
+ | BOARD_TAG = pro | ||
+ | BOARD_SUB = 16MHzatmega328 | ||
+ | MONITOR_PORT = / | ||
+ | MONITOR_CMD = screen-wrap | ||
+ | |||
+ | # " | ||
+ | ARDUINO_QUIET = true | ||
+ | ARDUINO_SKETCHBOOK = $(HOME)/ | ||
+ | ARDUINO_DIR = $(HOME)/ | ||
+ | ARDMK_DIR = $(HOME)/ | ||
+ | |||
+ | # Include parent Makefile from < | ||
+ | include $(HOME)/ | ||
+ | </ | ||
===== Code completion ===== | ===== Code completion ===== |
arduino/configuring_netbeans_for_arduino_development.1535127354.txt.gz · Last modified: 2018/08/24 16:15 by mithat