Commit Graph

2994 Commits

Author SHA1 Message Date
Martin Ling
8cbcc8a4e9 Use stdbool.h rather than our own bool definition. 2025-10-02 16:22:30 +01:00
Martin Ling
3d9e01d24f Merge pull request #1589 from atsampson/libtarget
Fix missing shared library version
2025-10-02 16:16:01 +01:00
Adam Sampson
aa6390a34a Fix missing shared library version
The libtarget variable isn't defined here (it's used in a helper
function above). This caused libhackrf to be built and installed without
a version number.
2025-10-01 12:14:45 +01:00
Michael Ossmann
ab60569255 Merge pull request #1586 from martinling/modern-cmake
Modern CMake, rebased
2025-09-30 12:25:08 -04:00
Martin Ling
b8dae7a3e5 Enable earlier CMake versions on macOS runners. 2025-09-19 03:20:43 +01:00
Martin Ling
fbeda8d018 Don't try to use --install option on CMake 3.10 (added in 3.15). 2025-09-19 03:20:38 +01:00
A. Maitland Bottoms
48034f7e2e update scripts
Modernize CMake usage in scripts to define a build directory
using the cmake -B flag, use cmake --build rather than just make.
2025-09-19 02:59:30 +01:00
A. Maitland Bottoms
506c8cb292 modern cmake
Refactor HackRF build system with a more modern CMake style.
Install files to allow library users using CMake to
find_project(HackRF CONFIG) and obtain HackRF::hackrf
and/or HackRF::hackrf_static library targets.

Add options ENABLE_STATIC_LIB and ENABLE_SHARED_LIB
to allow shared or static library to be disabled.
(Default builds both shared and static libraries.)

Add option ENABLE_HACKRF_SWEEP, when disabled allows
building without FFT library. (Default enabled.)

Add option DISABLE_USB_DEVICE_DISCOVERY for a compile definition
which could be used to alter libusb usage as needed on Android.
2025-09-19 02:59:30 +01:00
Martin Ling
adc537331c Merge pull request #1584 from martinling/cmake-version-ci
Bump CMake minimum to 3.10, and test with multiple CMake versions
2025-09-19 01:43:49 +01:00
Martin Ling
3e4c45f6b0 Test build with multiple CMake versions. 2025-09-19 01:36:39 +01:00
Martin Ling
2d2b6231fb Bump CMake minimum version to 3.10. 2025-09-19 01:12:24 +01:00
Martin Ling
0dc68be1f6 Merge pull request #1583 from martinling/remove-appveyor
Fix CI breakage
2025-09-16 19:08:10 +01:00
Martin Ling
5c39452040 Bump CMake minimum version to 3.5.0.
This is the minimum now accepted by latest CMake releases.
2025-09-16 19:00:49 +01:00
Martin Ling
3225485253 Remove Appveyor configuration. 2025-09-16 18:54:10 +01:00
Martin Ling
33168526d1 Merge pull request #1483 from JVital2013/rawio
Implement RAW_IO with WinUSB
2025-09-16 12:35:50 +01:00
Jamie Vital
3d5bddb88f Implement RAW_IO with WinUSB 2025-09-15 10:03:26 -04:00
Jacob Graves
ce07fd3f33 Merge pull request #1558 from grvvy/ci_sgpio_debug
ci: improve sgpio-debug test reliability and error messaging
2025-09-04 15:23:45 -06:00
Michael Ossmann
6aa419f2c0 Merge pull request #1567 from mndza/new-tuning
Tuning improvements
2025-08-22 12:03:43 -04:00
mndza
cae8060d0d firmware: disable rffc5071 dithering, tune to nearest 625000 Hz step 2025-08-21 10:04:45 +02:00
mndza
5520f8467c firmware: round to nearest frequency when tuning 2025-08-19 11:40:09 +02:00
mndza
2e6bb0ab68 firmware: rffc5071 synth configuration accepts Hz instead of MHz 2025-08-19 11:40:09 +02:00
mndza
ac0552a5b9 firmware: optimize and rename rffc5071 synth config function 2025-08-19 11:40:08 +02:00
mndza
d3ee417807 firmware: fix max283x fractional long division 2025-08-19 11:17:04 +02:00
mndza
32870ad486 firmware: no division when calculating n_lo in RFFC5071 synth 2025-08-19 11:17:04 +02:00
Michael Ossmann
c5d63b97db Merge pull request #1576 from miek/clang-format-sweep
hackrf_sweep: fix clang-format errors
2025-08-12 14:50:04 -04:00
Mike Walters
eb798c5cdf hackrf_sweep: fix clang-format errors 2025-08-08 15:53:39 +01:00
grvvy
132da7b421 ci: check shortfall count to isolate failures in firmware 2025-08-01 10:45:53 -06:00
Michael Ossmann
4282a3d8dc Merge pull request #1551 from philippuhl/patch-1
Update doc section about windows binaries
2025-07-03 11:16:28 -04:00
philippuhl
a757698bea Add radioconda information
I added the Information about radioconda. I would still suggest leaving the hint about the build artifacts in the documentation, as this is currently the only source of the binaries that don't require any third party.
2025-06-14 21:22:51 +02:00
grvvy
8431761b1d ci: improve sgpio-debug test reliability and error messaging 2025-06-06 15:06:30 -06:00
Michael Ossmann
4b8dbfc308 Merge pull request #1553 from miek/fix-dfu-crc
Fix DFU CRC errors
2025-06-05 12:00:58 -04:00
Michael Ossmann
305576ed17 Merge pull request #1555 from albayenes/num-fft-bins-is-more-appropriate-name-for-fftSize
Replace fftSize with more meaningful name for num_fft_bins
2025-06-05 11:15:32 -04:00
Enes Albay
eead55af45 Replace fftSize with more meaningful name num_fft_bins 2025-05-23 19:43:22 +03:00
Mike Walters
3b5cd8f889 Fix DFU CRC errors
Previously we were calculating the dfu-suffix CRC and then modifying the
image, invalidating the check.

This re-orders the operations to apply the boot image header first and
then run dfu-suffix.
2025-05-22 10:04:40 +01:00
philippuhl
b84aab3bca Update section about windows binaries 2025-05-19 12:51:16 +02:00
antoinevg
e5cfe1ac2b Merge pull request #1540 from miek/docs-improvements
docs: Rename FAQ to troubleshooting, reorganise, and add info on troubleshooting undetected hardware
2025-03-27 16:31:06 +02:00
Mike Walters
17b641d776 docs: add troubleshooting section for no boards found 2025-03-25 13:07:11 +00:00
Mike Walters
980bb9c548 docs: remove mention of a very old DC spike bug
At this point it's more likely to confuse things than help
2025-03-25 11:18:37 +00:00
Mike Walters
655be2e225 docs: add pictures to DC spike explanation 2025-03-25 11:17:27 +00:00
Mike Walters
1c691c4a56 docs: rename FAQ to Troubleshooting 2025-03-25 10:46:47 +00:00
Mike Walters
a7d9d853ff docs: move LED color info from FAQ 2025-03-25 10:14:35 +00:00
Mike Walters
fd20d32774 docs: reword gain settings 2025-03-25 10:11:04 +00:00
Mike Walters
2d5070832c docs: move gain info from FAQ 2025-03-25 10:05:51 +00:00
Mike Walters
20e5830c2e docs: add links to product page & resellers on HackRF one page, remove from faq 2025-03-24 14:25:55 +00:00
Mike Walters
bb03d1c42a docs: Remove full-duplex FAQ entries 2025-03-24 13:39:12 +00:00
Mike Walters
87e779306a docs: adjust input/output power titles & wording 2025-03-24 13:39:12 +00:00
Mike Walters
60c262fd18 docs: Move TX/RX power FAQ entries to HackRF One page 2025-03-24 13:39:12 +00:00
Mike Walters
71bc394088 Merge pull request #1523 from greatscottgadgets/dependabot/pip/docs/jinja2-3.1.5
build(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs
2025-01-09 14:37:25 +00:00
dependabot[bot]
72775fc387 build(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 20:53:05 +00:00
Mike Walters
e00468929b Merge pull request #1519 from gullradriel/locking-fix
define replacement for enable and disable irq for m0
2024-12-18 17:44:48 +00:00