mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
HackRF readme update and readd hackrf arch
This commit is contained in:
parent
9070d9a6db
commit
3e656f16c5
4 changed files with 11 additions and 5 deletions
|
@ -43,6 +43,7 @@ add_executable(blah2
|
|||
src/capture/Source.cpp
|
||||
src/capture/rspduo/RspDuo.cpp
|
||||
src/capture/usrp/Usrp.cpp
|
||||
src/capture/hackrf/HackRf.cpp
|
||||
src/process/ambiguity/Ambiguity.cpp
|
||||
src/process/clutter/WienerHopf.cpp
|
||||
src/process/detection/CfarDetector1D.cpp
|
||||
|
@ -69,6 +70,7 @@ target_link_libraries(blah2 PRIVATE
|
|||
fftw3
|
||||
fftw3_threads
|
||||
sdrplay
|
||||
hackrf
|
||||
)
|
||||
target_include_directories(blah2 PRIVATE RAPIDJSON_INCLUDE_DIRS "rapidjson/allocators.h")
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y software-properties-common \
|
|||
&& apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y \
|
||||
g++ make cmake git curl zip unzip doxygen graphviz \
|
||||
libfftw3-dev pkg-config gfortran \
|
||||
libfftw3-dev pkg-config gfortran libhackrf-dev \
|
||||
libuhd-dev=4.6.0.0-0ubuntu1~jammy1 \
|
||||
uhd-host=4.6.0.0-0ubuntu1~jammy1 \
|
||||
&& apt-get autoremove -y \
|
||||
|
|
|
@ -19,7 +19,7 @@ services:
|
|||
- /dev/usb:/dev/usb:rw
|
||||
network_mode: host
|
||||
privileged: true
|
||||
command: "/blah2/bin/blah2 -c config/config.yml"
|
||||
command: "/blah2/bin/blah2 -c config/config-hackrf.yml"
|
||||
container_name: blah2
|
||||
|
||||
blah2_web:
|
||||
|
@ -40,5 +40,5 @@ services:
|
|||
volumes:
|
||||
- ./config:/usr/src/app/config
|
||||
network_mode: host
|
||||
command: "node server.js /usr/src/app/config/config.yml"
|
||||
command: "node server.js /usr/src/app/config/config-hackrf.yml"
|
||||
container_name: blah2-api
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
This requires 2 HackRF units with a shared clock signal and a shared hardware trigger.
|
||||
|
||||
# Instructions
|
||||
## Instructions
|
||||
|
||||
TODO
|
||||
- Follow this [guide](https://hackrf.readthedocs.io/en/latest/hardware_triggering.html) to set up the shared clock and hardware trigger.
|
||||
- Install the HackRF package on the host using `sudo apt install hackrf` to access HackRF tools.
|
||||
- Run `hackrf_info` to get HackRF serial numbers.
|
||||
- Edit the `config/config-hackrf.yml` file to add serial numbers and parameters.
|
||||
- Update the `docker-compose.yml` file to use the above config file in both locations.
|
||||
|
|
Loading…
Reference in a new issue