Skip to content

alf-scotland/zig-a-zig-ahh-flash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig-a-zig-ahh flashing

This repository is a little suggar wrapper around the flashing instructions found here.

Getting started

Create an environment file .env that sets the port of the zig-a-zig-ahh stick:

# .env
PORT="<replace-with-port>"

Alternatively, you can also set the port of the device using the environment variable PORT. See below how to discover the port the stick is connected through.

You will also need the install the virtual environment using pipenv:

make install

To flash a program you can use one of the two commands:

  • make flash-blink for the blink program
  • make flash-coordinator for the Z-Stack coordinator

Determining the port of the device

If you do not know your port, try running make discover-port. The output will look like this:

Press any key to continue after device is connected.

> cu.usbserial-143220
> tty.usbserial-143220

Use the tty port, i.e. PORT=/dev/tty.usbserial-143220.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published