WeMos D1 R32 not able to upload a simple code

i was able to solve this i have documented for future in the below link