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/10/02 18:58] – [Configuring Netbeans for Arduino Development] mithat | arduino:configuring_netbeans_for_arduino_development [2024/02/05 19:06] (current) – mithat | ||
---|---|---|---|
Line 12: | Line 12: | ||
===== 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 42: | Line 20: | ||
<file make Makefile> | <file make Makefile> | ||
# Point BB at the arduino-build 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 '' |
<file bash arduino.conf> | <file bash arduino.conf> | ||
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.txt · Last modified: 2024/02/05 19:06 by mithat