.\" .\" Copyright © 2019 Keith Packard .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation, either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, but .\" WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" General Public License for more details. .\" .TH SNEK-LILYPAD-INSTALL 1 "snek-lilypad-install" "" .SH NAME snek-lilypad-instal \- Install Snek to LilyPad .SH SYNOPSIS .B "snek-lilypad-install" [OPTION]... [COMMAND] .SH DESCRIPTION .I snek-lilypad-install installs the Snek programming language on an ATmega328P LilyPad board using the Optiboot boot loader. .SH OPTIONS .TP \-hex Specifies the hex file to load to the board. The default is the currently installed version of Snek. .TP \-port Specifies the serial port to use. The default is /dev/ttyUSB0. .TP \-mcu Specifies which micro controller to expect to find on the board. Some boards have m328 while others have m328p. The default is m328p, but if you get an error message indicating a mismatch, you can try the other. .SH OPTIBOOT Snek for the LilyPad requires Optiboot. If your board does not already have Optiboot, you can use the Arduino IDE to install Optiboot on your LilyPad. Follow the instructions on the Optiboot web site: https://github.com/Optiboot/optiboot to learn how to do that. .SH AUTHOR Keith Packard