Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Latest commit e78a2a9 Sep 12, 2019

README.md

Kameleon CLI (Command Line Interface)

Installation

$ npm install -g kameleon-cli

Usage

Help

$ kameleon -h

Write user code (.js)

$ kameleon write <file> -p <port>
  • <file> : Path to the file to copy.
  • -p, --port <port> : Port where device is connected. (e.g. -p /dev/tty.usbmodem1441)

Example:

$ kameleon write index.js -p /dev/tty.usbmodem1441

Erase user code

$ kameleon erase -p <port>
  • -p, --port <port> : Port where device is connected. (e.g. -p /dev/tty.usbmodem1441)

Example:

$ kameleon erase -p /dev/tty.usbmodem1441

Firmware update

$ kameleon update <firmware> -p <port>
  • <firmware> : Path to the firmware to update.
  • -p, --port <port> : Port where device is connected. (e.g. -p /dev/tty.usbmodem1441)

Example:

$ kameleon update kameleon.bin -p /dev/tty.usbmodem1441
You can’t perform that action at this time.