stschake / bl60x-flash

Programming tool for Bouffalo Labs BL602/BL604 chips
MIT License
24 stars 2 forks source link

Automatic detecting serial port #1

Open punnerud opened 3 years ago

suculent commented 3 years ago

It might be sufficient to provide some global configuration, that would contain default path (similarly to how platformio.ini file is used in PlatformIO) or search pattern (e.g. cu.usbserial-* as my device name is /dev/cu.usbserial-14120).

Maybe environment variable would suffice.