2870 Commits

Author SHA1 Message Date
Michael Ossmann
4b036648fd Merge pull request #1398 from grvvy/sgpio_debug_test
sgpio debug ci test
2024-02-21 23:01:33 -05:00
Michael Ossmann
cbb5e18317 Merge pull request #1415 from martinling/issue-template-fix
Update documentation link in issue template.
2024-02-15 12:25:44 -05:00
Michael Ossmann
840b6f4632 Merge pull request #1412 from martinling/revert-8k-transfers
Revert "Reduce firmware USB transfer size from 16KB to 8KB."
2024-02-15 12:25:08 -05:00
Martin Ling
b17fafcc0f Update documentation link in issue template. 2024-02-13 13:50:48 +00:00
Martin Ling
72a0a01190 Revert "Reduce firmware USB transfer size from 16KB to 8KB."
This reverts commit fefa4f0e4592b8fb235d38e60fb5daea4974ff95.
2024-02-08 01:07:11 +00:00
Gabriele Gristina
f6598e7b14 hackrf_sweep: normalized timestamp (#1350)
* Added a new option (-n) to enable timestamp normalization within a same sweep
2024-02-01 17:24:55 +00:00
Martin Ling
05a03d41a4 Merge pull request #1404 from smburdick/macos-build-directions
macOS build directions
2024-02-01 17:03:05 +00:00
Michael Ossmann
980331ba77 Merge pull request #1406 from martinling/rtd-update
Update readthedocs requirements to current versions.
2024-02-01 11:59:20 -05:00
Martin Ling
c0e7391c48 Update readthedocs requirements to current versions. 2024-01-17 05:13:46 +00:00
Sam Burdick
423940f59d update readme 2024-01-15 18:38:51 -08:00
Sam Burdick
a1cb37a66a Add macOS build instructions 2024-01-15 18:38:03 -08:00
grvvy
38b7e53ef6 ci: add sgpio debug test 2024-01-08 15:24:56 -07:00
Michael Ossmann
4b31fd9132 Merge pull request #1390 from grvvy/ci_update
ci: ubuntu 22.04 update
2024-01-04 11:24:16 -05:00
grvvy
c85d6b5245 ci: update docker base image and prerequisites, catch errors from intermediate test scripts, retry tx/rx tests before failing 2023-12-18 16:37:13 -07:00
Martin Ling
44c557ae3b Merge pull request #1387 from straithe/updateRTDtoPassChecks
Updated files for RTD workflow
2023-12-08 00:07:23 +00:00
straithe
77805a55c9 docs: update files for RTD 2023-12-07 15:43:32 -05:00
Martin Ling
d867f7f008 Merge pull request #1383 from gvanem/patch-1
Add '#include <io.h>'
2023-12-04 20:08:55 +00:00
Gisle Vanem
e1f0a2cea1 Add '#include <io.h>'
Compiling with clang-cl, gives this error:
```c
hackrf-tools/src/hackrf_sweep.c(685,3): error: call to undeclared function '_setmode'; ISO C99 and later do not support implicit function
      declarations [-Wimplicit-function-declaration]
  685 |                 _setmode(_fileno(stdout), _O_BINARY);
      |                 ^
```

fixed by simply adding `#include <io.h>`.
2023-12-01 11:34:55 +01:00
Martin Ling
f5dd48a5bc Merge pull request #1372 from miek/mac-ci
Switch to gcc-arm-embedded package for macOS CI build
2023-11-02 17:45:02 +00:00
Mike Walters
5f42c27a4c Switch to gcc-arm-embedded package for macOS CI build 2023-11-02 16:27:22 +00:00
Jonathan Suite
799d9ad158 Run fftw_execute() once on an empty buffer (Fix #1366), add option to save wisdom and specify plan (#863) (#1368)
* Call fftw_execute once prior to starting IQ streaming
* Add options to use/save to an FFTW wisdom file and specify plan
* Fix bug where using -P would also enable one-shot mode

Fixes #1366
Fixes #1260
Addresses #863
2023-11-02 11:25:13 -04:00
Michael Ossmann
1fd67f66ca Merge pull request #1346 from Sasszem/libhackrf_usb_api_versions
libhackrf: document required library versions
2023-09-13 11:23:31 -04:00
bsdmp
ed8a1a6f53 mask all signals in libhackrf transfer_threadproc (#1330)
* mask all signals in libhackrf transfer_threadproc

hackrf_transfer uses pause() and SIGALRM to print statistics and POSIX doesn't
specify which thread must recieve the signal, block all signals here, so we
don't interrupt their reception by hackrf_transfer or any other app which uses
the library (#1323)

* fix windows build and remove empty line
2023-09-13 11:20:14 -04:00
Jonathan Suite
dab548bf29 Firmware updates to allow fine-grained control of biast from command line (#1314)
* Initial commit of hackrf_biast

* Cleaned up hackrf_biast

* Cleaned up usage info

* Include getopt.h for non-GNU systems

* Add support for overriding HackRF's default antenna power behavior in firmware.  Add support for specifying antenna power behavior in libhackrf.

* Moved bias tee config routines into user_config.c, cleaned up operation of hackrf_biast

* hackrf_biast now calls usage() and exits when invoked with no arguments

* Fixed minor documentation error in usage()

* minor syntax cleanup

* Add some documentation to the host API call

* Add proper declaration magic in hackrf.h to hackrf_set_user_bias_t_opts() to appease Visual Studio

* Documentation changes suggested by @martinling

* Moved bias t setting above switch statement, removed line that explicit turned bias t off when entering OFF mode

* Change hackrf_set_user_bias_t_opts() to use a friendly struct() instead of a bitmask.  User friendliness fixes to hackrf_biast options.  More clang-format appeasement.

* Removed support for integer mode args from hackrf_biast

* clang-format error fixes

* Tweaked position of comment for clang-format v14

* Reformat files with clang-format v14 instead of 16

* Remove internal numeric modes for bias T settings

Co-authored-by: Martin Ling <martin-github@earth.li>

* Fix documentation error in hackrf_biast.c

---------

Co-authored-by: Martin Ling <martin-github@earth.li>
2023-09-13 11:15:30 -04:00
Sasszem
9910c88ac3 libhackrf: document required library versions 2023-07-06 01:37:08 +02:00
Straithe
13dacd81e6 Add jawbreaker photo to jawbreaker page (#1321) 2023-06-12 17:42:12 -04:00
Straithe
14ae0743e6 Add project to community page (#1334) 2023-06-09 16:44:07 -04:00
Straithe
50c22aa05b docs: move connectors information to its own section (#1316) 2023-05-08 00:09:04 -04:00
László Baráth
17269d3a7c Document libhackrf functions using Doxygen (#1244)
* Document & comment code

* document functions & add pages for groups

* Run clang-format

* Fix most review change requests

* Fix typos, add information on using multiple Opera Cake boards

* Update documentation

* Changes requested by @Straithe
- update project brief
- set paper type to letter
- move doxyfile

* Changes requested by @martinling
Excluding the USB API versioning

* Remove incomplete USB version info
The required versions were only noted at a few places. Will add complete info later, but for now, it's removed
2023-04-22 22:03:49 -04:00
Jacob Graves
189b5bf693 wrap clkin init in r9 board check (#1307) 2023-04-19 13:32:32 -04:00
Straithe
464a6019b7 reorganize and update existing HackRF documentation (#1295)
* reorganize and update existing HackRF documentation

* include changes suggested by martinling

* Update software support page

* fix typo

* Update acrylic case link

* docs: make adjustments based on feedback from epenelope
2023-04-10 16:06:37 -04:00
Gianpaolo Macario
ebe1ca003a Readme.md: Fix typo (#1299)
s/documenation/documentation/
2023-03-27 22:10:59 -04:00
Michael Ossmann
ae71cb5b7a Merge pull request #1277 from grvvy/debug_device_fix
change the device long option to required in hackrf_debug
2023-02-14 20:15:53 -05:00
Michael Ossmann
aa34025d86 Merge pull request #1275 from greatscottgadgets/post-release
set version to 2023.01.1+
2023-02-08 19:08:14 -05:00
grvvy
fe86f005f6 change the device long option to required in hackrf_debug 2023-02-08 12:18:27 -07:00
Michael Ossmann
00253b02e1 set version to 2023.01.1+ 2023-02-08 14:03:06 -05:00
Michael Ossmann
b42a185503 Merge pull request #1272 from greatscottgadgets/release
set version to 2023.01.1
2023-02-01 00:26:55 -05:00
Michael Ossmann
d9ebb089a5 set version to 2023.01.1 2023-02-01 00:22:29 -05:00
Michael Ossmann
1bbab10955 Merge pull request #1215 from greatscottgadgets/h1r9
HackRF One r9
2023-02-01 00:18:49 -05:00
Michael Ossmann
b1d1fd4ac1 docs: add block diagram subheadings 2023-01-31 21:29:08 -05:00
Michael Ossmann
6f1cee1f00 Merge pull request #1255 from miek/h1r9-fw
Add firmware support for h1r9
2023-01-10 07:48:24 -05:00
Michael Ossmann
3796bc94d8 h1r9: check firmware running on r9 for r9 support
Previously we checked for OG support instead of r9 support because we
didn't yet have a way to tag firmware binaries with support for multiple
platforms.
2023-01-08 08:27:28 -05:00
Michael Ossmann
c19f85ef24 h1r9: use single SSP configuration for MAX283x
During r9 hardware development it was thought that the MAX2839 would use
a different GPIO pin for chip select, but it ended up being the same pin
as is used for MAX2837 on other hardware revisions.

This takes the MAX283x abstraction a bit further and fixes a bug with
hackrf_debug -m.
2023-01-08 08:21:27 -05:00
Michael Ossmann
ddfe8620a8 docs: updates for HackRF One r9 2023-01-07 13:25:49 -05:00
Mike Walters
8051675c60 h1r9: add R9 to supported platforms 2023-01-06 14:40:55 +00:00
Michael Ossmann
ff4e1107f3 h1r9: fix clkout PLL source bug 2023-01-06 14:33:56 +00:00
Michael Ossmann
bdb6000bb4 h1r9: fix inverted spectrum on TX
Unify and clean up the firmware spectrum inversion handling for all
hardware platforms.
2023-01-06 14:33:56 +00:00
Michael Ossmann
50a2e9dd56 h1r9: update clock drive strength for spin C 2023-01-06 14:33:56 +00:00
Mike Walters
bfe882a2fa h1r9: add MAX283x abstraction layer 2023-01-06 14:33:53 +00:00
Michael Ossmann
24f2c1d073 h1r9: MAX2839: always use the low LNA band 2023-01-06 14:33:53 +00:00