jungfrau virtual server compiles

This commit is contained in:
2018-11-02 14:52:27 +01:00
parent 833f0c164c
commit d1c8d0b01c
7 changed files with 12 additions and 4 deletions

View File

@ -2,6 +2,7 @@
#define REGISTER_DEFS_H
/* Definitions for FPGA*/
#define MEM_MAP_SHIFT 1
/* FPGA Version register */
#define FPGA_VERSION_REG (0x00 << MEM_MAP_SHIFT)

View File

@ -7,6 +7,9 @@
#include "AD9257.h" // commonServerFunctions.h, blackfin.h, ansi.h
#include "programfpga.h"
#else
#include "blackfin.h"
#include <string.h>
#include <unistd.h> // usleep
#include <pthread.h>
#include <time.h>
#endif
@ -59,7 +62,7 @@ void checkFirmwareCompatibility() {
}
firmware_check_done = 1;
return;
#endif
#else
defineGPIOpins();
resetFPGA();
@ -162,6 +165,7 @@ void checkFirmwareCompatibility() {
}
FILE_LOG(logINFO, ("Compatibility - success\n"));
firmware_check_done = 1;
#endif
}

View File

@ -11,6 +11,7 @@
#define PROGRAMMING_MODE (0x2)
#define BOARD_JUNGFRAU_TYPE (8)
#define CTRL_SRVR_INIT_TIME_US (300 * 1000)
/* Struct Definitions */
typedef struct ip_header_struct {