Added a lua bit manipulation library, added Lua-api to iso 15693 crc-calculation

This commit is contained in:
martin.holst@gmail.com 2013-11-06 18:34:10 +00:00
parent da9d456e9f
commit 77cd612f15
7 changed files with 249 additions and 3 deletions

View file

@ -25,7 +25,7 @@
#include "cmdscript.h"
#include "cmdhfmf.h"
#include "pm3_binlib.h"
#include "pm3_bitlib.h"
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
@ -133,6 +133,8 @@ int CmdRun(const char *Cmd)
//Add the 'bin' library
set_bin_library(lua_state);
//Add the 'bit' library
set_bit_library(lua_state);
char script_name[128] = {0};
char arguments[256] = {0};