Ribbit-Network / ribbit-network-frog-software

The software for the Ribbit Network Frog Sensor
https://www.ribbitnetwork.org/
MIT License
9 stars 8 forks source link

Makefile: Make the flash device configurable #25

Closed damz closed 1 year ago

damz commented 1 year ago

What?

Allow the device path to be configured during make flash.

How?

Expose a new DEVICE variable, defaulting to /dev/ttyACM0 (which is the likely path of the device on linux).

keenanjohnson commented 1 year ago

I like it. This can help with the issue we raised in the other PR @akhilgupta1093 .

akhilgupta1093 commented 1 year ago

To change the port, one would edit the DEVICE variable in the makefile?