Rename few USB -> PM3 to avoid misleading interpretations

This commit is contained in:
Philippe Teuwen 2019-04-30 21:10:11 +02:00
commit 27f7057961
42 changed files with 165 additions and 165 deletions

15
client/pm3_cmd_h2lua.awk Normal file
View file

@ -0,0 +1,15 @@
BEGIN {
print "--[["
print "These are Proxmark command definitions."
print "This file is automatically generated from pm3_cmd.h - DON'T EDIT MANUALLY."
print "--]]"
print "local __commands = {"
}
#$1 ~ /#define/ && $2 ~ /^CMD_([[:alnum:]_])+/ { print $2, "=", $3, "," }
$1 ~ /#define/ && $2 ~ /^CMD_[A-Za-z0-9_]+/ { sub(/\r/, ""); print $2, "=", $3 "," }
END {
print "}"
print "return __commands"
}