Provided by: snek_1.1-1.1_all bug

NAME

       snek-mega-install - Install Snek to Arduino Mega

SYNOPSIS

       snek-mega-install [OPTION]... [COMMAND]

DESCRIPTION

       snek-mega-install  installs  the  Snek  programming language on an ATmega2560 Arduino Mega
       board, including the ability to  re-program  the  ATmega16u2  chip  used  as  a  usbserial
       converter.

OPTIONS

       -port <port>
              Specifies  the serial port to use when programning the ATmega2560 chip, the default
              is '/dev/ttyACM0'.

       -isp <ISP model>
              Specifies the programmer to use when programming the ATmega16u2 chip used as a  usb
              to  serial  converter,  common  options are 'usbtiny' and 'avrisp2'. The default is
              'usbtiny'.

       -hex <snek.hex>
              Specifies the hex file to load to the board. The default is the currently installed
              version  of  Snek  when  programming  the  ATmega2560,  and the currently installed
              version of the usbserial program when programming the ATmega16u2.

COMMANDS

       snek   Loads  Snek to the target device. This is the default  command.  Note  that  snekde
              will  not  be able to get/put programs to the device without also reprogramming the
              ATmega16u2 device used as a usb to serial converter on the Arduino Mega board.

       usbserial
              Loads the updated usbserial converter firmware to  the  ATmega16u2  device  on  the
              Arduino  Mega  board.  This version supports the XON/XOFF flow control required for
              SnekDE to be able to successfully communicate with Snek running on  the  ATmega2560
              processor.

AUTHOR

       Keith Packard

                                        snek-mega-install                    SNEK-MEGA-INSTALL(1)