This is a morse code library and command line tool written in C with C99 compatible.
- debian 7.0 i386 with gcc version 4.7.2 (Debian 4.7.2-5)
- osx 10.9.2 with Apple LLVM version 5.1 (clang-503.0.38)
- debain 7
- Linux cubieboard 3.4.75-sun7i+ #3 SMP PREEMPT Tue Feb 25 18:54:02 CET 2014 armv7l GNU/Linux
- use crosscompiler
- support built-in C compiler
make
- build with CROSS_COMPILE
make CROSS_COMPILE=arm-linux-gnueabihf-
- tests
-
if you build on host, the build script will also trigger the tests
-
run tests only
make tests
- input sample 1
./morse '.... . .-.. .-.. --- \x20 .-- --- .-. .-.. -.. !'
- output
HELLO WORLD!
- input from file
./morse "`cat input_sample.txt`"
- output:
HELLO/WORLD