mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
Debian build: fixed libperseus build (5)
This commit is contained in:
parent
b0c740a615
commit
0d7e0750eb
@ -6,6 +6,7 @@ add_definitions(-DHAVE_CONFIG_H)
|
||||
|
||||
set(perseus_SOURCES
|
||||
${LIBPERSEUSSRC}/fifo.c
|
||||
${LIBPERSEUSSRC}/fpga_data.c
|
||||
${LIBPERSEUSSRC}/perseuserr.c
|
||||
${LIBPERSEUSSRC}/perseusfx2.c
|
||||
${LIBPERSEUSSRC}/perseus-in.c
|
||||
@ -14,6 +15,7 @@ set(perseus_SOURCES
|
||||
|
||||
set(perseus_HEADERS
|
||||
${LIBPERSEUSSRC}/fifo.h
|
||||
${LIBPERSEUSSRC}/fpga_data.h
|
||||
${LIBPERSEUSSRC}/perseuserr.h
|
||||
${LIBPERSEUSSRC}/perseusfx2.h
|
||||
${LIBPERSEUSSRC}/perseus-in.h
|
||||
|
3
libperseus/fpga_data.c
Normal file
3
libperseus/fpga_data.c
Normal file
@ -0,0 +1,3 @@
|
||||
#include "fpga_data.h"
|
||||
int nFpgaImages = 0;
|
||||
FpgaImages *fpgaImgTbl = 0;
|
42
libperseus/fpga_data.h
Executable file
42
libperseus/fpga_data.h
Executable file
@ -0,0 +1,42 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// Perseus SDR Library Interface
|
||||
//
|
||||
// Copyright (c) 2010 Nicolangelo Palermo / IV3NWV
|
||||
// This file is part of the Perseus SDR Library
|
||||
//
|
||||
// The Perseus SDR Library is free software; you can redistribute
|
||||
// it and/or modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either version
|
||||
// 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
// The Perseus SDR Library is distributed in the hope that it will
|
||||
// be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
// See the GNU Lesser General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with the Perseus SDR Library;
|
||||
// if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
// Creation date: 25 June 2010
|
||||
// Author: Andrea Montefusco (IW0HDV)
|
||||
// (andrew at montefusco dot com)
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#if !defined __FPGA_DATA_H__
|
||||
#define __FPGA_DATA_H__
|
||||
|
||||
|
||||
typedef struct _fpga_images {
|
||||
const char *name;
|
||||
const int speed;
|
||||
const int size;
|
||||
const unsigned char *code;
|
||||
const int osize;
|
||||
} FpgaImages;
|
||||
|
||||
extern FpgaImages fpgaImgTbl [];
|
||||
extern int nFpgaImages;
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user