Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
adc-lib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
adc-lib
Commits
3a416b78
Commit
3a416b78
authored
Jul 12, 2021
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update licences
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
53102450
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
93 additions
and
52 deletions
+93
-52
.gitignore
.gitignore
+4
-0
.gitlab-ci.yml
.gitlab-ci.yml
+0
-1
CHANGELOG.rst
CHANGELOG.rst
+1
-1
Makefile
Makefile
+4
-0
Makefile
PyAdcLib/Makefile
+4
-0
PyAdcLib.py
PyAdcLib/PyAdcLib/PyAdcLib.py
+3
-0
setup.py
PyAdcLib/setup.py
+2
-0
.gitignore
doc/.gitignore
+4
-0
Makefile
doc/Makefile
+4
-0
conf.py
doc/conf.py
+3
-0
doxygen-adclib-config
doc/doxygen-adclib-config
+3
-0
index.rst
doc/index.rst
+3
-0
layers.dot
doc/layers.dot
+3
-0
library-api.rst
doc/library-api.rst
+3
-0
library-devel.rst
doc/library-devel.rst
+3
-0
library-user.rst
doc/library-user.rst
+3
-0
python-module.rst
doc/python-module.rst
+3
-0
requirements.txt
doc/requirements.txt
+3
-0
tools-adc-acq.rst
doc/tools-adc-acq.rst
+3
-0
tools-example.rst
doc/tools-example.rst
+3
-0
Makefile
lib/Makefile
+3
-1
adc-genericfake.c
lib/adc-genericfake.c
+2
-0
adc-lib-100m14b4cha.h
lib/adc-lib-100m14b4cha.h
+1
-6
adc-lib-compat.h
lib/adc-lib-compat.h
+3
-0
adc-lib-int.h
lib/adc-lib-int.h
+1
-0
adc-lib.h
lib/adc-lib.h
+1
-0
adc-zio.c
lib/adc-zio.c
+1
-5
adc-ziofake.c
lib/adc-ziofake.c
+2
-0
boards.c
lib/boards.c
+1
-5
buffer-zio.c
lib/buffer-zio.c
+1
-5
config-zio.c
lib/config-zio.c
+1
-5
fmc-adc-100m14b4cha.c
lib/fmc-adc-100m14b4cha.c
+1
-6
init.c
lib/init.c
+2
-1
lib-math.c
lib/lib-math.c
+1
-5
lib.c
lib/lib.c
+1
-5
route.c
lib/route.c
+1
-5
.gitignore
tools/.gitignore
+4
-0
Makefile
tools/Makefile
+4
-0
adc-acq.c
tools/adc-acq.c
+2
-0
example.c
tools/example.c
+1
-1
No files found.
.gitignore
View file @
3a416b78
# SPDX-FileCopyrightText: 2021 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
*.o
~*
*.a
...
...
.gitlab-ci.yml
View file @
3a416b78
...
...
@@ -13,7 +13,6 @@ reuse:
entrypoint
:
[
"
"
]
script
:
-
reuse lint
allow_failure
:
true
cppcheck
:
stage
:
static-analysis
...
...
CHANGELOG.rst
View file @
3a416b78
..
SPDX-License-Identifier: CC
-0
.0
SPDX-License-Identifier: CC
0-1
.0
SPDX-FileCopyrightText: 2019 CERN
=========
...
...
Makefile
View file @
3a416b78
# SPDX-FileCopyrightText: 2021 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
# include parent_common.mk for buildsystem's defines
#use absolute path for REPO_PARENT
REPO_PARENT
?=
$(
shell
/bin/pwd
)
/..
...
...
PyAdcLib/Makefile
View file @
3a416b78
# SPDX-FileCopyrightText: 2021 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
-include
Makefile.specific
all
:
...
...
PyAdcLib/PyAdcLib/PyAdcLib.py
View file @
3a416b78
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright CERN 2014
from
ctypes
import
c_int
from
ctypes
import
c_uint
from
ctypes
import
c_uint32
...
...
PyAdcLib/setup.py
View file @
3a416b78
#!/usr/bin/env python
# Copyright (c) 2013-2021 CERN (home.cern)
# SPDX-License-Identifier: CC0-1.0
from
distutils.core
import
setup
...
...
doc/.gitignore
View file @
3a416b78
# SPDX-FileCopyrightText: 2021 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
doxygen-lib-output/
*.log
_build
...
...
doc/Makefile
View file @
3a416b78
# SPDX-FileCopyrightText: 2021 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
# Minimal makefile for Sphinx documentation
#
...
...
doc/conf.py
View file @
3a416b78
# Copyright (c) 2013-2021 CERN (home.cern)
# SPDX-License-Identifier: CC0-1.0
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
...
...
doc/doxygen-adclib-config
View file @
3a416b78
# Copyright (c) 2013-2021 CERN (home.cern)
# SPDX-License-Identifier: CC0-1.0
PROJECT_NAME = "Generic ADC Library - GAL"
PROJECT_NUMBER = $(GIT_VERSION)
PROJECT_BRIEF = "Generic ADC Library API"
...
...
doc/index.rst
View file @
3a416b78
.. Copyright (c) 2013-2021 CERN (home.cern)
SPDX-License-Identifier: CC-BY-SA-4.0
Welcome to the ADC library documentation!
==============================================
...
...
doc/layers.dot
View file @
3a416b78
# Copyright (c) 2013-2021 CERN (home.cern)
# SPDX-License-Identifier: CC-BY-SA-4.0
graph
layers
{
user
[
label
=
"User Programs"
]
;
api
[
label
=
"ADC API"
,
shape
=
box
]
;
...
...
doc/library-api.rst
View file @
3a416b78
.. Copyright (c) 2013-2021 CERN (home.cern)
SPDX-License-Identifier: CC-BY-SA-4.0
The Library API
================
...
...
doc/library-devel.rst
View file @
3a416b78
.. Copyright (c) 2013-2021 CERN (home.cern)
SPDX-License-Identifier: CC-BY-SA-4.0
The Library For Developers
============================
...
...
doc/library-user.rst
View file @
3a416b78
.. Copyright (c) 2013-2021 CERN (home.cern)
SPDX-License-Identifier: CC-BY-SA-4.0
The Library For Users
=======================
...
...
doc/python-module.rst
View file @
3a416b78
.. Copyright (c) 2013-2021 CERN (home.cern)
SPDX-License-Identifier: CC-BY-SA-4.0
The Python Module: PyAdcLib
===========================
...
...
doc/requirements.txt
View file @
3a416b78
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright CERN 2014
docutils==0.12
Sphinx==1.4.9
sphinx_rtd_theme
...
...
doc/tools-adc-acq.rst
View file @
3a416b78
.. Copyright (c) 2013-2021 CERN (home.cern)
SPDX-License-Identifier: CC-BY-SA-4.0
The ``adc-acq`` Tools
========================
...
...
doc/tools-example.rst
View file @
3a416b78
.. Copyright (c) 2013-2021 CERN (home.cern)
SPDX-License-Identifier: CC-BY-SA-4.0
The Example Tools
====================
...
...
lib/Makefile
View file @
3a416b78
# This is not a kbuild Makefile. It is a plain Makefile so it can be copied
# SPDX-FileCopyrightText: 2021 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
# If it exists includes Makefile.specific. In this Makefile, you should put
# specific Makefile code that you want to run before this. For example,
...
...
lib/adc-genericfake.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright CERN 2013
#define _GNU_SOURCE
#include <stdio.h>
#include <stdint.h>
...
...
lib/adc-lib-100m14b4cha.h
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* ZIO-specific configuration (mostly device-independent)
*
* Copyright (C) 2016 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@cern.ch>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*
*
* This header hold all the specificity for the FMC ADC 100M module
*/
...
...
lib/adc-lib-compat.h
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright CERN 2021
/*It depends on the header fmcadc-lib.h. Include this file after fmcadc-lib.h*/
#define fmcadc_dev adc_dev
...
...
lib/adc-lib-int.h
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* Copyright CERN 2013
* Author: Federico Vaga <federico.vaga@gmail.com>
...
...
lib/adc-lib.h
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* Copyright CERN 2013
* Author: Federico Vaga <federico.vaga@gmail.com>
...
...
lib/adc-zio.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* The ADC library for the specific card
*
* Copyright (C) 2013 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#define _GNU_SOURCE
#include <stdio.h>
...
...
lib/adc-ziofake.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright CERN 2014
#define _GNU_SOURCE
#include <stdio.h>
#include <stdint.h>
...
...
lib/boards.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* All the boards in the library
*
* Copyright (C) 2013 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <stdio.h>
#include <string.h>
...
...
lib/buffer-zio.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* ZIO-wide buffer management (device-independent)
*
* Copyright (C) 2013 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <stdint.h>
#include <stdio.h>
...
...
lib/config-zio.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* ZIO-specific configuration (mostly device-independent)
*
* Copyright (C) 2013 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <stdint.h>
#include <stdio.h>
...
...
lib/fmc-adc-100m14b4cha.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* The ADC library for the specific card
*
* Copyright (C) 2013 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#define _GNU_SOURCE
#include <stdio.h>
...
...
lib/init.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* Copyright CERN 2013
, GNU GPL 2 or later.
* Copyright CERN 2013
* Author: Alessandro Rubini
*/
#include <stdio.h>
...
...
lib/lib-math.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* Routing public functions to device-specific code
*
* Copyright (C) 2018 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@cern.ch>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <errno.h>
...
...
lib/lib.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* Initializing and cleaning up the adc library
*
* Copyright (C) 2013 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <errno.h>
#include <string.h>
...
...
lib/route.c
View file @
3a416b78
// SPDX-License-Identifier: LGPL-3.0-or-later
/*
* Routing public functions to device-specific code
*
* Copyright (C) 2013 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <stdio.h>
...
...
tools/.gitignore
View file @
3a416b78
# SPDX-FileCopyrightText: 2021 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
adc-acq
example
tools/Makefile
View file @
3a416b78
# SPDX-FileCopyrightText: 2021 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
# If it exists includes Makefile.specific. In this Makefile, you should put
# specific Makefile code that you want to run before this. For example,
# build a particular environment.
...
...
tools/adc-acq.c
View file @
3a416b78
// SPDX-License-Identifier: GPL-3.0-or-later
/* Copyright 2013 CERN
* Author: Federico Vaga <federico.vaga@vaga.pv.it>
* License: GPLv2
...
...
tools/example.c
View file @
3a416b78
// SPDX-License-Identifier: GPL-3.0-or-later
/* Copyright 2013 CERN
* Author: Federico Vaga <federico.vaga@cern.ch>
* License: GPLv2
*
* This is an example program that shows the different part of the library
* in action.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment