Skip to content

Add mcconfig parameter to specify USB port and speed #74

Description

@stonehippo

Feature request:

The current makefile driven build process with mcconfig seems to fall a little flat when working with different boards. For example, I am working with an Adafruit ESP8266 Huzzah breakout. To usemmconfig with that board, I edited make.esp.mk to change UPLOAD_SPEED to 115200 and UPLOAD_PORT to /dev/cu.usbserial-XXXXXXX (I'm using an FTDI USB-to-serial cable with the board).

I was able to upload the helloworld example to the Huzzah with this config (the default upload speed of 921600 caused errors). But it seems like it would be handy to have the ability to override the values in the mcconfig make on the command line. Something like:

$ mcconfig -d -m -p esp --port /dev/cu.usbserial-XXXXXXX --speed 115200

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions