We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--no-stub
1 parent de8c8ef commit 6d1e028Copy full SHA for 6d1e028
programmer.py
@@ -39,8 +39,14 @@ def main():
39
command = ['--baud', '460800',
40
'--before', esptool_args['before'],
41
'--after', esptool_args['after'],
42
- '--chip', esptool_args['chip'],
43
- 'write_flash']
+ '--chip', esptool_args['chip']]
+
44
+ stub = esptool_args['stub']
45
+ print(f'Use flasher stub? {stub}')
46
+ if not stub:
47
+ command.append('--no-stub')
48
49
+ command.append('write_flash')
50
51
write_flash_args = flasher_args['write_flash_args']
52
# oddly, write_flash_args is a list (whereas everything else is a dict), so
0 commit comments