User Tools

Site Tools


arduino:configuring_netbeans_for_arduino_development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arduino:configuring_netbeans_for_arduino_development [2018/10/02 19:00] – [Arduino-Build] mithatarduino: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 [[https://github.com/sudar/Arduino-Makefile|Arduino-Makefile]] or my own [[https://github.com/mithat/arduino-build | Arduino-Build]] to do the actual building. I won't cover using either of those in any depth here as they are each their own thing. However, you can use the following as a cheatsheet for setting things up. +I use my own [[https://github.com/mithat/arduino-build | Arduino-Build]] to do the actual building. I used to use [[https://github.com/sudar/Arduino-Makefile|Arduino-Makefile]], so you may prefer this if it works for your project. I won't cover either of those in any depth here as they are each their own thing. However, you can use the following as a cheatsheet for setting things up.
- +
-==== Arduino-Makefile ==== +
- +
-When creating a new project with Arduino-Makefile, your local project Makefile should look something like the following: +
- +
-<file make Makefile> +
-# Project config +
-ARDUINO_LIBS = SoftwareWire AsyncTimer +
-BOARD_TAG = pro +
-BOARD_SUB = 16MHzatmega328 +
-MONITOR_PORT = /dev/ttyUSB0 +
-MONITOR_CMD = screen-wrap +
- +
-# "Platform" config +
-ARDUINO_QUIET = true +
-ARDUINO_SKETCHBOOK = $(HOME)/Arduino +
-ARDUINO_DIR = $(HOME)/opt/arduino +
-ARDMK_DIR = $(HOME)/Build/Arduino-Makefile +
- +
-# Include parent Makefile from <https://github.com/sudar/Arduino-Makefile> +
-include $(HOME)/Build/Arduino-Makefile/Arduino.mk +
-</file>+
  
 ==== Arduino-Build ==== ==== Arduino-Build ====
Line 62: Line 40:
 </file> </file>
  
-You will also need an ''arduino.conf'' file in the root of your project that looks like:+You will also need an ''arduino.conf'' file in the root of your project that's similar to:
  
 <file bash arduino.conf> <file bash arduino.conf>
Line 79: Line 57:
 </file> </file>
  
-See the Arduino-Build readme for information on figuring out the board parameters and other fiddly bits.+Consult the Arduino-Build readme for information on figuring out the board parameters and other fiddly bits. 
 + 
 +==== Arduino-Makefile ==== 
 + 
 +When creating a new project with Arduino-Makefile, your local project Makefile should look something like the following: 
 + 
 +<file make Makefile> 
 +# Project config 
 +ARDUINO_LIBS = SoftwareWire AsyncTimer 
 +BOARD_TAG = pro 
 +BOARD_SUB = 16MHzatmega328 
 +MONITOR_PORT = /dev/ttyUSB0 
 +MONITOR_CMD = screen-wrap 
 + 
 +# "Platform" config 
 +ARDUINO_QUIET = true 
 +ARDUINO_SKETCHBOOK = $(HOME)/Arduino 
 +ARDUINO_DIR = $(HOME)/opt/arduino 
 +ARDMK_DIR = $(HOME)/Build/Arduino-Makefile 
 + 
 +# Include parent Makefile from <https://github.com/sudar/Arduino-Makefile> 
 +include $(HOME)/Build/Arduino-Makefile/Arduino.mk 
 +</file>
  
 ===== Code completion ===== ===== Code completion =====
arduino/configuring_netbeans_for_arduino_development.1538506826.txt.gz · Last modified: 2018/10/02 19:00 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki