kopia lustrzana https://github.com/ag1le/morse-wip
Added version tagging
rodzic
a0564dae89
commit
9121501645
5
Makefile
5
Makefile
|
@ -141,12 +141,12 @@ AWK = gawk
|
|||
BMORSE_AUTHORS =
|
||||
CC = gcc
|
||||
CCDEPMODE = depmode=gcc3
|
||||
CFLAGS = -Wall -pedantic
|
||||
CFLAGS = -Wall -pedantic -DVERSION=\"$(GIT_VERSION)\"
|
||||
CPP = gcc -E
|
||||
CPPFLAGS =
|
||||
CXX = g++
|
||||
CXXDEPMODE = depmode=gcc3
|
||||
CXXFLAGS = -g -O2
|
||||
CXXFLAGS = -DVERSION=\"$(GIT_VERSION)\"
|
||||
CYGPATH_W = echo
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
|
@ -242,6 +242,7 @@ top_build_prefix =
|
|||
top_builddir = .
|
||||
top_srcdir = .
|
||||
SUBDIRS = src
|
||||
GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always)
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
SUBDIRS = src
|
||||
CFLAGS= -Wall -pedantic
|
||||
GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always)
|
||||
CFLAGS= -Wall -pedantic -DVERSION=\"$(GIT_VERSION)\"
|
||||
CXXFLAGS = -DVERSION=\"$(GIT_VERSION)\"
|
||||
|
||||
#bin_PROGRAMS = bmorse
|
||||
|
||||
|
|
|
@ -141,12 +141,12 @@ AWK = @AWK@
|
|||
BMORSE_AUTHORS = @BMORSE_AUTHORS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = -Wall -pedantic
|
||||
CFLAGS = -Wall -pedantic -DVERSION=\"$(GIT_VERSION)\"
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CXXFLAGS = -DVERSION=\"$(GIT_VERSION)\"
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
|
@ -242,6 +242,7 @@ top_build_prefix = @top_build_prefix@
|
|||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
SUBDIRS = src
|
||||
GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always)
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
|
|
21
README
21
README
|
@ -44,18 +44,37 @@ MORSE - PROJECT IDEAS
|
|||
Model parameters
|
||||
|
||||
Output
|
||||
SER vs. SNR graphs
|
||||
SER vs. SNR graphs DONE
|
||||
- can be created using OpenOffice (LibreOffice Calc)
|
||||
- plot for different filter widths (aka -spd parameter)
|
||||
- run through different parameter values
|
||||
-> automate CSV file generation
|
||||
-> capture best values & corresponding software versions in database
|
||||
<SW version> < date> <parameters,like filter bw> <CER vs. SNR value pairs>
|
||||
|
||||
|
||||
|
||||
SER vs. timing variations
|
||||
- need to create morse.m version with timing variability functionality
|
||||
-
|
||||
SER vs. speed variations
|
||||
- need to create morse.m version with speed variability functionality
|
||||
|
||||
SER per character
|
||||
-
|
||||
|
||||
Misrecognition distribution (input chr vs. output chr)
|
||||
- i.e. A recognized as U
|
||||
- confusion matrix
|
||||
|
||||
Symbol Error Rate (SER)
|
||||
- print recognized symbols ". - ~ ^ w p"
|
||||
- use Levenshtein distance calculation as error metric
|
||||
-
|
||||
Path length vs. SNR
|
||||
-
|
||||
Estimated speed vs. actual speed distribution
|
||||
-
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -400,6 +400,7 @@ on X301
|
|||
config.status:882: creating Makefile
|
||||
config.status:882: creating src/Makefile
|
||||
config.status:882: creating config.h
|
||||
config.status:1063: config.h is unchanged
|
||||
config.status:1111: executing depfiles commands
|
||||
|
||||
## ---------------- ##
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always)
|
||||
bin_PROGRAMS = bmorse
|
||||
FLAGS= -Wall -pedantic
|
||||
CFLAGS= -Wall -pedantic -DVERSION=\"$(GIT_VERSION)\"
|
||||
CXXFLAGS = -DVERSION=\"$(GIT_VERSION)\"
|
||||
|
||||
#AM_CXXFLAGS = -I$(src)
|
||||
|
||||
|
|
|
@ -726,6 +726,10 @@ int main(int argc, const char* argv[])
|
|||
params.print_variables = TRUE;
|
||||
continue ;
|
||||
}
|
||||
if (strcmp (argv [k], "-ver") == 0){
|
||||
printf("Version: %s\n", VERSION);
|
||||
exit(0);
|
||||
}
|
||||
if (strcmp (argv [k], "-sym") == 0){
|
||||
params.print_symbols = TRUE;
|
||||
continue ;
|
||||
|
|
Ładowanie…
Reference in New Issue