feature: Make the FPGA bitstreams working with SKIP_* define.

Now, you can enable at least two of your favorite technologies (such as LF and HF 14443A) attached a standalone mode and still have spare ROM space for other functionalities on a Proxmark3 Easy with a 256KiB ROM.
This commit is contained in:
douniwan5788 2024-08-26 02:34:14 +08:00
commit 413a17a7a6
5 changed files with 74 additions and 14 deletions

View file

@ -43,8 +43,14 @@ typedef enum
FPGA_BITSTREAM_MAX = FPGA_BITSTREAM_HF_15,
} FPGA_config;
typedef struct
{
const char *const versionString;
const FPGA_config target_config;
} FPGA_VERSION_INFORMATION;
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[];
extern const FPGA_VERSION_INFORMATION g_fpga_version_information[];
#endif