mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
refactor: move FPGA_BITSTREAM_* to fpga.h
This commit is contained in:
parent
5d66bcfd75
commit
8928883f2d
5 changed files with 15 additions and 6 deletions
|
@ -32,6 +32,17 @@
|
|||
#define FPGA_RING_BUFFER_BYTES (1024 * 30)
|
||||
#define FPGA_TRACE_SIZE 3072
|
||||
|
||||
// definitions for multiple FPGA config files support
|
||||
typedef enum
|
||||
{
|
||||
FPGA_BITSTREAM_UNKNOWN = 0,
|
||||
FPGA_BITSTREAM_LF = 1,
|
||||
FPGA_BITSTREAM_HF,
|
||||
FPGA_BITSTREAM_HF_FELICA,
|
||||
FPGA_BITSTREAM_HF_15,
|
||||
FPGA_BITSTREAM_MAX = FPGA_BITSTREAM_HF_15,
|
||||
} FPGA_config;
|
||||
|
||||
static const uint8_t bitparse_fixed_header[] = {0x00, 0x09, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x00, 0x00, 0x01};
|
||||
extern const int g_fpga_bitstream_num;
|
||||
extern const char *const g_fpga_version_information[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue