Skip to content

Commit

Permalink
v.2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
spectrum6000 committed Jul 23, 2024
1 parent a5d890a commit 8ebce2f
Show file tree
Hide file tree
Showing 12 changed files with 862 additions and 785 deletions.
516 changes: 256 additions & 260 deletions CMakeLists.txt

Large diffs are not rendered by default.

15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ See [versions.txt](versions.txt)
## How to build and evaluate

### Linux

```
git clone [this repo]<br />
cd libfobos<br />
mkdir build<br />
Expand All @@ -33,20 +33,27 @@ make<br />
subo make install<br />
sudo udevadm control --reload-rules<br />
sudo udevadm trigger<br />

```
### Windows

```
git clone [this repo]<br />
cd libfobos<br />
mkdir build<br />
cd build<br />
cmake ..<br />
```
to build Win32 binaries (legasy software) use

```
cmake .. -A Win32<br />
```

Visit https://github.com/libusb/libusb/releases<br />
Download any libusb release 7z pack, for example libusb-1.0.27.7z<br />
Unpack content of **libusb-1.0.27.7z** to **libusb** directory<br />

```
cmake --build . --config Release<br />
```
or<br />
open **fobos.sln** in your favorite **MS VisualStudio IDE**,<br />
build, debug, trace, evaluate.<br />
Expand Down
4 changes: 2 additions & 2 deletions eval/fobos_devinfo_main.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==============================================================================
// Fobos SDR API library test application
// V.T.
// LGPL
// LGPL-2.1+
// 2024.03.21
// 2024.04.08
// 2024.05.01
Expand All @@ -16,7 +16,7 @@ void get_devinfo()
int result = 0;
char lib_version[32];
char drv_version[32];
char serials[256];
char serials[256] = {0};

int index = 0;

Expand Down
7 changes: 4 additions & 3 deletions eval/fobos_recorder_main.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//==============================================================================
// Fobos SDR API library test application
// V.T.
// LGPL
// LGPL-2.1+
// 2024.03.21
// 2024.04.08
// 2024.05.01
Expand Down Expand Up @@ -30,7 +30,8 @@ void read_samples_callback(float *buf, uint32_t buf_length, void *ctx)
rx_ctx->buff_count++;

printf("+");

fflush(stdout);

if (rx_ctx->buff_count >= rx_ctx->max_buff_count)
{
printf("canceling...");
Expand All @@ -51,7 +52,7 @@ void test_recorder(void)
int result = 0;
char lib_version[32];
char drv_version[32];
char serials[256];
char serials[256] = {0};

int index = 0; // the device index to open

Expand Down
Loading

0 comments on commit 8ebce2f

Please sign in to comment.