mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
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:
parent
7680db569c
commit
048324d63b
4 changed files with 7 additions and 48 deletions
|
@ -10,7 +10,6 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Some code was copied from Hitag2.c
|
||||
//-----------------------------------------------------------------------------
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "proxmark3.h"
|
||||
#include "apps.h"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define __TLV_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdint.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 <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
|
||||
|
|
39
proxmark3.rb
39
proxmark3.rb
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue