Blame view

README.md 573 Bytes
cc228d59b   pyb   libad9915 add REA...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  Library AD9915
  ===========
  
  C-based code for ad9915 with SPI support
  
  Dependencies
  ------------
  
  You must install the following dependencies:
  
  - [CMake](https://cmake.org/) >= 2.8
  
  
  Building the library
  -----------------
  
  ```sh
  mkdir build
  cd build
  cmake ..
  make
  make install # may require root permissions
  ```
  
  Eventually run `ldconfig` as root to cache the library
  
  Available Options
  -----------------
  
  - AD9915_DEBUG: Enable the debug build type
  
  To use a option use this command
  ```sh
  cmake -DAD9915_DEBUG=ON|OFF ..
  ```
  
  
  Test it
  ----------
  
  ```
  cd test
  sh run.sh
  ```