refactor: move FPGA_BITSTREAM_* to fpga.h

This commit is contained in:
douniwan5788 committed 2024-08-26 20:55:58 +08:00
1 parent 5d66bcfd75
commit 8928883f2d
5 files changed
+15 -6

No files matched your search

+11
View File
@@ -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[];