bigdragon1977 / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 0 forks source link

Windows - COM port numbers higher than 9 are not supported #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In serial_w32.c should be something like:

if(strlen(device)>4&&device[0]!='\\') sprintf(devName,"\\\\.\\%s",device);
else strcpy(devName,device);

h->fd = CreateFile(devName, ...

Original issue reported on code.google.com by p.stet...@gmail.com on 15 Feb 2011 at 8:24

GoogleCodeExporter commented 9 years ago
I have patched this in but I can not verify it, please re-open this issue if it 
is not correct.

Original comment by ge...@spacevs.com on 26 May 2011 at 4:59

GoogleCodeExporter commented 9 years ago
You missed to change the CreateFile variable from device to devName

Original comment by ste...@code.herbrechtsmeier.net on 30 Oct 2011 at 11:59

GoogleCodeExporter commented 9 years ago
Issue 41 has been merged into this issue.

Original comment by lists.to...@gmail.com on 8 Dec 2013 at 11:50