From 734b3ea6b666d46042bfbb53e79b1d74572efdf0 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Wed, 9 May 2018 04:08:29 +0000 Subject: [PATCH] updated READMEs git-svn-id: https://svn.code.sf.net/p/freetel/code@3590 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/README | 11 ++++++++++- codec2-dev/README_ofdm.txt | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/codec2-dev/README b/codec2-dev/README index 3e140c5a..e39707b3 100644 --- a/codec2-dev/README +++ b/codec2-dev/README @@ -116,10 +116,19 @@ To build them: $ cmake -DCMAKE_BUILD_TYPE=Debug .. $ make +Building for Windows on a Linuxmachine +-------------------------------------- + +On Ubuntu 17: + + $ sudo apt-get install mingw-w64 + $ mkdir build_windows && cd build_windows + $ cmake .. -DCMAKE_TOOLCHAIN_FILE=/home/david/freedv-dev/cmake/Toolchain-Ubuntu-mingw32.cmake -DUNITTEST=FALSE -DGENERATE_CODEBOOK=/home/david/codec2-dev/build_linux/src/generate_codebook + $ make + Building for Windows on a Windows machine ----------------------------------------- - Install minGW mkdir build_windows (Or what ever you want to call your build dir) cmake -G "MinGW Makefiles" -D CMAKE_MAKE_PROGRAM=mingw32-make.exe Or if you use ninja for building cmake -G "Ninja" .. diff --git a/codec2-dev/README_ofdm.txt b/codec2-dev/README_ofdm.txt index ac68e4c6..2b9ec647 100644 --- a/codec2-dev/README_ofdm.txt +++ b/codec2-dev/README_ofdm.txt @@ -91,7 +91,7 @@ Built as part of codec2-dev, see README for build instructions. 9. Run test frames through simulated chanel in C: - build_linux/src$ ./ofdm_mod /dev/zero - --interleave 16 --ldpc -t 60 | ./cohpsk_ch - - -19 --Fs 8000 | ./ofdm_demod - /dev/null -t --interleave 16 + build_linux/src$ /ofdm_mod /dev/zero - --ldpc --testframes 20 | ./cohpsk_ch - - -24 --Fs 8000 -f -10 --fast | ./ofdm_demod - /dev/null --testframes -v --ldp 10. Run codec voice through simulated fast fading channel, just where it starts to fall over: -- 2.25.1