Permalink
Browse files

Update Commit

- bugfix for win32 port... refer changelog
- released as 1.3.1!
  • Loading branch information...
1 parent 664b0b8 commit 19a07a3360f49e9c72440b6729e23eb91628cf14 @azman committed Nov 2, 2012
Showing with 17 additions and 7 deletions.
  1. +8 −0 CHANGELOG
  2. +1 −1 VERSION
  3. +6 −4 makefile
  4. +2 −2 src/my1comlib.c
View
@@ -1,4 +1,12 @@
**************
+my1termu-1.3.1
+**************
+
+Bugfix:
+- COM10 and above are not detected on win32! needs \\.\ prefix!
+- VERSION file was NOT updated for 1.3.0?
+
+**************
my1termu-1.3.0
**************
View
@@ -1 +1 @@
-1.2.0
+1.3.1
View
@@ -1,9 +1,11 @@
# makefile for my1termu - a cross-platform serial port interface
PROJECT = my1termu
-CONSPRO = $(PROJECT)
+CONSBIN = $(PROJECT)
+CONSPRO = $(CONSBIN)
CONSOBJ = my1cons.o my1comlib.o my1comport.o $(CONSPRO).o
-TESTPRO = my1console
+TESTBIN = my1console
+TESTPRO = $(TESTBIN)
TESTOBJ = my1cons.o $(TESTPRO).o
PACKDIR = $(PROJECT)-$(shell cat VERSION)
@@ -21,8 +23,8 @@ LFLAGS +=
OFLAGS +=
ifeq ($(DO_MINGW),YES)
- CONSPRO = $(CONSPRO).exe
- TESTPRO = $(TESTPRO).exe
+ CONSPRO = $(CONSBIN).exe
+ TESTPRO = $(TESTBIN).exe
PLATBIN = mingw
ARCHIVE = zip -r
ARCHEXT = .zip
View
@@ -8,8 +8,8 @@
#endif
/*----------------------------------------------------------------------------*/
#ifdef DO_MINGW
-/* #define COM_PORT_NAME "\\\\.\\COM" / * -> "\\" is ONE \ char! */
-#define COM_PORT_NAME "COM"
+#define COM_PORT_NAME "\\\\.\\COM"
+/* => "\\" is ONE \ char! need the above for COM10 and above */
#else
#define COM_PORT_NAME "/dev/ttyS"
#define USLEEP_FOR_FLUSH 200000

0 comments on commit 19a07a3

Please sign in to comment.