Speed Up flashing process



  • I had to try multiple custom flashing with lowsync flash. It was too long for me ....

    Also I set the baud rate for esptool via an environment variable.
    With my macOS :

    export ESPTOOL_BAUD=921600
    

    The duration for flashing step was reduced from 168 seconds to 32 seconds.
    The firmware file size was : Compressed 3125492 bytes to 1819995...



  • In fact, reading the source code, I discover a simple way to change the baud rate :

    an example :

    lowsync flash --port=xxxx --firmware-file=yyyyy --baud=460800
    

Log in to reply