Skip to content

Commit

Permalink
make the cm4 as the default upgrade target
Browse files Browse the repository at this point in the history
  • Loading branch information
shihhsuan committed Jan 25, 2017
1 parent 94e0162 commit 95f167a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
parser.add_option("-c", dest="com_port", help="COM port, can be COM1, COM2, ..., COMx")
parser.add_option("-d", action="store_true", dest="debug")
parser.add_option("-f", dest="bin_path", help="path of the bin file to be uploaded")
parser.add_option("-p", dest="platform", help="patform to be flashed (mt7687 | mt7697)", default = 'mt7697')
parser.add_option("-t", dest="target", help="target to be flashed (cm4 | ldr | n9).")
parser.add_option("-p", dest="platform", help="patform to be flashed (mt7687 | mt7697)", default='mt7697')
parser.add_option("-t", dest="target", help="target to be flashed (cm4 | ldr | n9).", default='cm4')
(opt, args) = parser.parse_args()

if opt.target != 'cm4' and opt.target != 'n9' and opt.target != 'ldr':
Expand Down

0 comments on commit 95f167a

Please sign in to comment.