2012-04-24 02:37:32 -04:00
|
|
|
$OpenBSD: README,v 1.2 2012/04/24 06:37:32 jasper Exp $
|
2011-09-17 12:41:30 -04:00
|
|
|
|
|
|
|
+-----------------------------------------------------------------------
|
|
|
|
| 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
|
2012-04-24 02:37:32 -04:00
|
|
|
and various helper scripts are provided.
|
2011-09-17 12:41:30 -04:00
|
|
|
|
2012-04-24 02:37:32 -04:00
|
|
|
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
|
2011-09-17 12:41:30 -04:00
|
|
|
===================
|
|
|
|
|
|
|
|
* vim: http://www.vim.org/scripts/script.php?script_id=2654
|
|
|
|
* emacs: https://github.com/bookest/arduino-mode
|