2944 Commits

Author SHA1 Message Date
Michael Ossmann
d0bb89643a Merge pull request #1403 from smburdick/build-updates
Update CMAKE minimum version to 2.8.12
2024-02-22 13:56:15 -05:00
Michael Ossmann
3bdc554700 Add HackRF One r10 to list of hardware revisions 2024-02-22 10:58:12 -05:00
Michael Ossmann
39940af59d Merge pull request #1418 from greatscottgadgets/h1r10-fw
Support detection of HackRF One r10
2024-02-22 10:52:35 -05:00
Michael Ossmann
24ac1edf5a Support detection of HackRF One r10 2024-02-21 23:48:54 -05:00
Michael Ossmann
93d9f9b45c Use 10-bit ADC value for pin strap detection
Previously we thought we were configuring the ADC for 8-bit values, but
we did so incorrectly. We were throwing away the top two bits of a
10-bit value. This never caused a problem because the only fixed
voltages we used were at the extreme minimum or maximum of the ADC
range.
2024-02-21 23:29:27 -05:00
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
Michael Ossmann
24b53345af HackRF One: update version to 10 2024-02-07 13:29:41 -05:00
Michael Ossmann
df452e7533 HackRF One: update symbols from libraries 2024-02-07 13:29:41 -05:00
Michael Ossmann
d7b5a35371 HackRF One: correct fabrication attributes and DNP 2024-02-07 13:29:41 -05:00
Michael Ossmann
1d138898ab HackRF One: update 0402 silkscreen for readability 2024-02-07 13:29:41 -05:00
Michael Ossmann
f90930f4c0 HackRF One: remove silkscreen from pads 2024-02-07 13:29:41 -05:00
Michael Ossmann
375ba4e21a HackRF One: clean up symbol value names 2024-02-07 13:29:41 -05:00
Michael Ossmann
e0d64a42a3 HackRF One: update version detection pin straps
Hardware version detection now requires sensing of an analog voltage.
2024-02-07 13:29:41 -05:00
Michael Ossmann
44e3b74647 HackRF One: correct T3 and T4 balun symbol
- Swap GND pins to reflect correct internal wiring
- Remove obsolete and apparently incorrect substitution
2024-02-07 13:29:41 -05:00
Michael Ossmann
a4e07bde83 HackRF One: update 100 nF capacitor part selection 2024-02-07 13:29:41 -05:00
Michael Ossmann
3f34a678a5 HackRF One: add SMA connector keepouts 2024-02-07 13:29:41 -05:00
Michael Ossmann
72d2682136 HackRF One: add second fiducial mark 2024-02-07 13:29:41 -05:00
Michael Ossmann
aefb900e9b HackRF One: add resistance to amplifier supplies
This may improve reliability since switching to a MOSFET with lower on
resistance.
2024-02-07 13:29:41 -05:00
Michael Ossmann
f0b6bdb7eb HackRF One: update component selections
Add Substitution field
2024-02-07 13:29:41 -05:00
Michael Ossmann
a785f20a27 HackRF One: use DNP field instead of Note field 2024-02-07 13:29:41 -05:00
Michael Ossmann
e67e3a8b1c HackRF One: update version to 8+ 2024-02-07 13:29:41 -05:00
Michael Ossmann
31944783f2 HackRF One: revert hardware design to 8727449
This commit is between r8 and r9 and will be used as the basis for r10.
It includes some of the changes in r9 but predates the major changes to
the clock generator and IF transceiver ICs.
2024-02-07 13:29:41 -05: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
Sam Burdick
3b55d5a65e Min CMAKE Version -> 2.8.12 2024-02-01 09:18:31 -08:00
Sam Burdick
041778b5c8 Merge branch 'greatscottgadgets:master' into build-updates 2024-02-01 09:14:06 -08: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
Sam Burdick
f445c265b1 Update CMAKE minimum version 2024-01-15 18:31:42 -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