chore(CI+doc): GitPod added & readme minor fix

pull/76/head
Guenael 2021-12-11 20:52:13 -05:00
rodzic e31a4e291d
commit 7c3c22d32c
3 zmienionych plików z 31 dodań i 7 usunięć

6
.gitpod.Dockerfile vendored 100644
Wyświetl plik

@ -0,0 +1,6 @@
FROM gitpod/workspace-full
RUN sudo apt-get update && sudo apt-get install -y \
valgrind libcmocka-dev cmocka-doc libcmocka0 \
build-essential clang cmake \
libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev

18
.gitpod.yml 100644
Wyświetl plik

@ -0,0 +1,18 @@
tasks:
- init: make
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: true
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt-in-gitpod

Wyświetl plik

@ -15,7 +15,7 @@ This project aim at decoding WSPR signals using an RTL device, usually connected
To install and use your dongle on a Raspberry Pi with a Rasberian OS:
```bash
sudo apt-get -y install build-essential clang cmake libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev ntp
sudo apt-get update && sudo apt-get -y install build-essential clang cmake libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev ntp
git clone https://github.com/Guenael/rtlsdr-wsprd
cd rtlsdr-wsprd
make
@ -40,21 +40,21 @@ This application written in C does:
1. Install a Linux compatible distro on your device (ex. Raspbian for RaspberryPi)
1. Install dependencies & useful tools (for example, NTP for time synchronization). Example with a Debian based like Raspbian:
```
sudo apt-get -y install build-essential clang cmake libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev ntp
```bash
sudo apt-get update && sudo apt-get -y install build-essential clang cmake libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev ntp
```
1. Clone this repository:
```
```bash
git clone https://github.com/Guenael/rtlsdr-wsprd
```
1. Build the application:
```
```bash
cd rtlsdr-wsprd
make
make install
```
1. Start the application with your right parameters, ex. for the 2m band, with a fake callsign (A1XYZ):
```
```bash
rtlsdr_wsprd -f 2m -c A1XYZ -l AB12cd -g 29
```
@ -63,7 +63,7 @@ This application written in C does:
- Use ferrite bead on the USB cable to limit the QRN
- Use an external clean power supply
- Cut off the display (could help to reduce QRN)
```
```bash
/opt/vc/bin/tvservice -o
```
- Remove unused modules (for example, /etc/modules: #snd-bcm2835)