openbsd-ports/devel/arduino/pkg/README
jasper aa0045971b - update arduino to 1.0, please see the changelog:
http://arduino.cc/blog/2011/10/04/arduino-1-0/
   - various changes related to this port:
      * adjust sketch extensions from .pde to .ino
	 * deal better with different arduino variants
	    * adjust template to get it compiling/linking again

	    tested by various
2012-04-24 06:37:32 +00:00

34 lines
1.1 KiB
Plaintext

$OpenBSD: README,v 1.2 2012/04/24 06:37:32 jasper Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
This port contains the libraries/headers as well as examples and documentation
needed to start developing with Arduino.
For now it doesn't contain the frontend application yet, instead a Makefile
and various helper scripts are provided.
Typical Usage
=============
* Use ${TRUEPREFIX}/bin/arduinoproject to create a new project directory.
* Hack the .ino file.
* `make` will build the project.
* `make upload` flashes the program to your arduino.
Before you can upload your programs, you should review the AVRdude
variables in the BSDmakefile. Different arduino models require different
parameters; pay particular attention to UPLOAD_RATE and
AVRDUDE_PROGRAMMER.
If you do not know which parameters you need, take a peek at:
${TRUEPREFIX}/share/arduino/boards.txt
Syntax Highlighting
===================
* vim: http://www.vim.org/scripts/script.php?script_id=2654
* emacs: https://github.com/bookest/arduino-mode