When using SRAM bootmode, do not greeting flash

Signed-off-by: Huang Rui <vowstar@gmail.com>
pull/27/head
Huang Rui 2019-04-29 19:57:02 +08:00
parent 999fab6780
commit 3c3bde2704
1 changed files with 2 additions and 0 deletions

View File

@ -1225,8 +1225,10 @@ if __name__ == '__main__':
loader._port.baudrate = 115200
if args.sram:
print(INFO_MSG,"Boot user code from SRAM", BASH_TIPS['DEFAULT'])
if(args.terminal == True):
open_terminal(False)
exit(0)
print(INFO_MSG,"Wait For 0.1 second for ISP to Boot", BASH_TIPS['DEFAULT'])