Skip to content

Commit

Permalink
force pass Board type
Browse files Browse the repository at this point in the history
  • Loading branch information
xelll committed Mar 15, 2019
1 parent 8810aa9 commit 245f126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kflash.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def flash_firmware(self, firmware_bin: bytes, aes_key: bytes = None, address_off
parser.add_argument("-v", "--verbose", help="increase output verbosity", default=False,
action="store_true")
parser.add_argument("-t", "--terminal", help="Start a terminal after finish (Python miniterm)", default=False, action="store_true")
parser.add_argument("-B", "--Board", type=str, help="Select dev board, dan or kd233 or goD or goE, default dan", default="dan")
parser.add_argument("-B", "--Board",required=True, type=str, help="Select dev board, dan or kd233 or goD or goE, default dan", default="dan")
parser.add_argument("-n", "--noansi", help="Do not use ANSI colors, recommended in Windows CMD", default=False, action="store_true")

parser.add_argument("firmware", help="firmware bin path")
Expand Down

2 comments on commit 245f126

@sirus20x6
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which board type is the maix bit? it's not listed

@Neutree
Copy link
Member

@Neutree Neutree commented on 245f126 Apr 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently it's the same as dan

Please sign in to comment.