CHG: all @marshmellow42 's changes to make the reveng work.

ADD: lua script test for using the reveng inside lua.  *prove of concept*
      it implements -h help
                    -d  data in a hexstring
                    -w  width of the crc family. (ie 16 gives all CRC-16 calculations.
     it iterates thru all found crc presets in a crc family based on the width of crc.  It calcs crc and the reverse crc.
This commit is contained in:
iceman1001 2015-06-09 13:31:53 +02:00
commit 60e8657796
6 changed files with 476 additions and 9 deletions

View file

@ -12,4 +12,7 @@
#define CMDCRC_H__
int CmdCrc(const char *Cmd);
int GetModels(char *Models[], int *count, uint32_t *width);
int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *result);
#endif