Library to encode and decode messages using Reed-Solomon codes. Licensed under GNU General Public License Version 3.
Fork of original library by Henry Minsky. Several Galois functions were written by James S. Plank This version differs from original version: we significantly reduced the memory consumption.
User must create additional header file "rscode-config.h" and put it somewhere in the include search path outside of this library.
This header file should include several declarations that control the behavior of the library.
The example header file may by found in test/support
directory.
/* Print debugging info */
/* #define DEBUG 1 */
/* Disable erasures functions */
/* #define RSCODE_DISABLE_ERASURES_FUNCTIONS 1 */
/* Number of parity bytes */
#define NPAR 16
Tests are always built with maximum included functions.
For developers looking to extend, bug fix, build, and test this library with dependencies and test infrastructure included in the source tree.
sudo apt install build-essential git ruby
sudo gem install ceedling
mkdir rscode
git clone https://github.com/bsail/rscode rscode
ceedling upgrade rscode
cd rscode
Build & Run Unit Tests
ceedling test:all
You may use and create additional tasks for Ceedling build system. Please refer to the documentation in the vendor/ceedling/docs
.