From 048324d63b5092b5563d75b241558b8cd19932dd Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 6 May 2016 23:51:03 +0200 Subject: [PATCH] DEL: removed the homebrews script. It needed a seperate gitproject. CHG: removed references to stdio.h and time.h in ARMSRC. --- armsrc/hitagS.c | 1 - armsrc/tlv.h | 1 - include/usb_cmd.h | 14 +++++++------- proxmark3.rb | 39 --------------------------------------- 4 files changed, 7 insertions(+), 48 deletions(-) delete mode 100644 proxmark3.rb diff --git a/armsrc/hitagS.c b/armsrc/hitagS.c index d760a400..036b5ce6 100644 --- a/armsrc/hitagS.c +++ b/armsrc/hitagS.c @@ -10,7 +10,6 @@ //----------------------------------------------------------------------------- // Some code was copied from Hitag2.c //----------------------------------------------------------------------------- -#include #include #include "proxmark3.h" #include "apps.h" diff --git a/armsrc/tlv.h b/armsrc/tlv.h index f1457aaa..ae1e71d0 100644 --- a/armsrc/tlv.h +++ b/armsrc/tlv.h @@ -2,7 +2,6 @@ #define __TLV_H #include -#include #include #include diff --git a/include/usb_cmd.h b/include/usb_cmd.h index 09ddc3b9..ae9d15c2 100644 --- a/include/usb_cmd.h +++ b/include/usb_cmd.h @@ -13,14 +13,14 @@ #ifndef __USB_CMD_H #define __USB_CMD_H #ifdef _MSC_VER -typedef DWORD uint32_t; -typedef BYTE uint8_t; -#define PACKED -// stuff + typedef DWORD uint32_t; + typedef BYTE uint8_t; + #define PACKED + // stuff #else -#include -#include -#define PACKED __attribute__((packed)) + #include + #include + #define PACKED __attribute__((packed)) #endif #define USB_CMD_DATA_SIZE 512 diff --git a/proxmark3.rb b/proxmark3.rb deleted file mode 100644 index 90294953..00000000 --- a/proxmark3.rb +++ /dev/null @@ -1,39 +0,0 @@ -class Proxmark3 < Formula - desc "Proxmark3 client, flasher, HID flasher and firmware bundle" - homepage "http://www.proxmark.org" - url "https://github.com/iceman1001/proxmark3/archive/v1.6.0.tar.gz" - sha256 "254f6596cdeb42158abf4b7d5c19bdc7d97f7d41a83a34697fe9d380cc34b4fa" - head "https://github.com/iceman1001/proxmark3.git" - - depends_on "automake" => :build - depends_on "readline" - depends_on "p7zip" => :build - depends_on "libusb" - depends_on "libusb-compat" - depends_on "pkg-config" => :build - depends_on "wget" - depends_on "nitsky/stm32/arm-none-eabi-gcc" => :build - - def install - ENV.deparallelize - - system "make", "-C", "client/hid-flasher/" - system "make", "all", "clean" - system "make" - bin.mkpath - bin.install "client/flasher" => "proxmark3-flasher" - bin.install "client/hid-flasher/flasher" => "proxmark3-hid-flasher" - bin.install "client/proxmark3" => "proxmark3" - bin.install "client/fpga_compress" => "fpga_compress" - share.mkpath - (share/"firmware").mkpath - (share/"firmware").install "armsrc/obj/fullimage.elf" => "fullimage.elf" - (share/"firmware").install "bootrom/obj/bootrom.elf" => "bootrom.elf" - ohai "Install success! Upgrade devices on HID firmware with proxmark3-hid-flasher, or devices on more modern firmware with proxmark3-flasher." - ohai "The latest bootloader and firmware binaries are ready and waiting in the current homebrew Cellar within share/firmware." - end - - test do - system "proxmark3", "-h" - end -end -- 2.39.2