DEL: removed the homebrews script. It needed a seperate gitproject.

CHG:  removed references to  stdio.h  and time.h  in ARMSRC.
This commit is contained in:
iceman1001 2016-05-06 23:51:03 +02:00
commit 048324d63b
4 changed files with 7 additions and 48 deletions

View file

@ -10,7 +10,6 @@
//-----------------------------------------------------------------------------
// Some code was copied from Hitag2.c
//-----------------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include "proxmark3.h"
#include "apps.h"

View file

@ -2,7 +2,6 @@
#define __TLV_H
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>

View file

@ -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 <stdint.h>
#include <stdbool.h>
#define PACKED __attribute__((packed))
#include <stdint.h>
#include <stdbool.h>
#define PACKED __attribute__((packed))
#endif
#define USB_CMD_DATA_SIZE 512

View file

@ -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