Change esptool.py default mode to DIO.

Change esptool.py default mode to DIO to support more board by default.
This commit is contained in:
Vowstar 2015-11-11 21:23:02 +08:00
parent 7ef1711e9a
commit 564cd13b98
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ if __name__ == '__main__':
parser_write_flash.add_argument('--flash_freq', '-ff', help = 'SPI Flash frequency', parser_write_flash.add_argument('--flash_freq', '-ff', help = 'SPI Flash frequency',
choices = ['40m', '26m', '20m', '80m'], default = '40m') choices = ['40m', '26m', '20m', '80m'], default = '40m')
parser_write_flash.add_argument('--flash_mode', '-fm', help = 'SPI Flash mode', parser_write_flash.add_argument('--flash_mode', '-fm', help = 'SPI Flash mode',
choices = ['qio', 'qout', 'dio', 'dout'], default = 'qio') choices = ['qio', 'qout', 'dio', 'dout'], default = 'dio')
parser_write_flash.add_argument('--flash_size', '-fs', help = 'SPI Flash size in Mbit', parser_write_flash.add_argument('--flash_size', '-fs', help = 'SPI Flash size in Mbit',
choices = ['4m', '2m', '8m', '16m', '32m'], default = '4m') choices = ['4m', '2m', '8m', '16m', '32m'], default = '4m')