fix: remove all traces of fpga_nfc...

This commit is contained in:
iceman1001 2017-10-20 22:01:10 +02:00
parent b27a9920b1
commit 55e87490cf
3 changed files with 2 additions and 6 deletions

View file

@ -56,7 +56,7 @@ SRC_FLASH = flash.c
SRC_BEE = bee.c
#the FPGA bitstream files. Note: order matters!
FPGA_BITSTREAMS = fpga_lf.bit fpga_hf.bit fpga_nfc.bit
FPGA_BITSTREAMS = fpga_lf.bit fpga_hf.bit
#the zlib source files required for decompressing the fpga config at run time
SRC_ZLIB = inflate.c inffast.c inftrees.c adler32.c zutil.c

View file

@ -308,9 +308,6 @@ void SendVersion(void) {
FpgaGatherVersion(FPGA_BITSTREAM_HF, temp, sizeof(temp));
strncat(VersionString, temp, sizeof(VersionString) - strlen(VersionString) - 1);
FpgaGatherVersion(FPGA_BITSTREAM_NFC, temp, sizeof(temp));
strncat(VersionString, temp, sizeof(VersionString) - strlen(VersionString) - 1);
// Send Chip ID and used flash memory
uint32_t text_and_rodata_section_size = (uint32_t)&__data_src_start__ - (uint32_t)&_flash_start;
uint32_t compressed_data_section_size = common_area.arg1;

View file

@ -35,11 +35,10 @@ void SetAdcMuxFor(uint32_t whichGpio);
extern void switch_off();
// definitions for multiple FPGA config files support
#define FPGA_BITSTREAM_MAX 3 // the total number of FPGA bitstreams (configs)
#define FPGA_BITSTREAM_MAX 2 // the total number of FPGA bitstreams (configs)
#define FPGA_BITSTREAM_ERR 0
#define FPGA_BITSTREAM_LF 1
#define FPGA_BITSTREAM_HF 2
#define FPGA_BITSTREAM_NFC 3
// Definitions for the FPGA commands.
#define FPGA_CMD_SET_CONFREG (1<<12)