Martin Ling
23d69bf90c
New method to test RTC oscillator.
2025-11-27 04:41:09 +00:00
Michael Ossmann
f5e5ed5ba2
Merge pull request #1608 from greatscottgadgets/fix-selftests
...
Fix self-tests
2025-11-25 21:03:58 -05:00
Michael Ossmann
cde5d754d3
Remove 32 kHz oscillator self-test
...
Reliable oscillator start-up requires several hundred milliseconds which
is longer than we are willing to wait at every boot. We could add an
on-demand test in the future instead of an automatic self-test.
2025-11-25 20:31:44 -05:00
Michael Ossmann
95e7e2a009
Fix readsel for RFFC5072 device ID read
2025-11-25 20:13:01 -05:00
Michael Ossmann
4832619823
Use MAX2831 RSSI mux and ADC for selftest
...
Co-authored-by: Martin Ling <martin-git@earth.li >
2025-11-25 20:12:27 -05:00
Michael Ossmann
29be31bf71
Add hackrf_debug option to read ADC
...
Co-authored-by: Martin Ling <martin-git@earth.li >
2025-11-25 20:08:20 -05:00
Martin Ling
692da36d76
Use _stricmp instead of strcasecmp on MSVC.
2025-11-25 10:16:48 +00:00
Michael Ossmann
785c068f91
Change Praline USB product string to "HackRF Pro"
2025-11-24 21:33:21 -05:00
Michael Ossmann
409acbc3c9
Add support for HackRF Pro (code name: Praline)
...
Co-authored-by: mndza <diego.hdmp@gmail.com >
Co-authored-by: Martin Ling <martin-git@earth.li >
Co-authored-by: Antoine van Gelder <antoine@greatscottgadgets.com >
2025-11-24 20:53:41 -05:00
Michael Ossmann
390837715b
Merge pull request #1602 from martinling/mb-unit
...
Correct units in hackrf_transfer output from MiB to MB
2025-11-06 11:07:05 -05:00
Jacob Graves
9e6f1a24f3
Add hackrf_test.py ( #1587 )
...
hackrf_test.py uses one HackRF to test another.
Co-authored-by: Michael Ossmann <mike@ossmann.com >
2025-10-31 13:51:09 -04:00
Martin Ling
5dad4961e6
Correct units in hackrf_transfer output from MiB to MB.
2025-10-27 10:04:48 +00:00
Michael Ossmann
d56d652764
Merge pull request #1596 from martinling/libhackrf-version
...
Set libhackrf version to 0.9.1
2025-10-13 12:53:35 -04:00
Martin Ling
a0f359c394
Merge pull request #1597 from martinling/ci-msys
...
CI: Add builds on Windows using MSYS2
2025-10-08 13:23:37 +01:00
Martin Ling
69e8f476c5
CI: Remove separate steps for creating directories.
2025-10-05 09:07:08 +01:00
Martin Ling
f03020296b
CI: Add host builds using MSYS.
2025-10-05 08:53:56 +01:00
Martin Ling
4a664b68c2
CI: Avoid writing '-latest' everywhere in OS matrix.
2025-10-05 06:16:26 +01:00
Martin Ling
59e145439a
CI: Add firmware build on Windows using MSYS2.
2025-10-05 05:22:01 +01:00
Martin Ling
384e8f270b
Set libhackrf version to 0.9.1.
2025-10-04 18:27:55 +01:00
Martin Ling
19b20123cd
Merge pull request #1594 from martinling/pkg-config-windows
...
CMake: support use of pkgconf to find libraries on Windows
2025-10-04 03:52:53 +01:00
Martin Ling
afbcf633f5
CI: Simplify Windows build by using pkgconf to find paths.
2025-10-04 03:41:09 +01:00
Martin Ling
0ee6e2ed86
FindLIBUSB.cmake: Fix inconsistency in LIBUSB_LIBRARY_NAME[S] vars.
2025-10-04 03:38:04 +01:00
Martin Ling
ae23839084
FindLIBUSB.cmake: allow use of pkg-config on Windows.
2025-10-04 03:35:57 +01:00
Martin Ling
bfe7392453
Merge pull request #1593 from martinling/use-fftw-without-pkgconf
...
CMake fixups
2025-10-04 03:07:19 +01:00
Martin Ling
861002537c
cmake: Update & simplify options needed for Windows builds.
2025-10-04 02:55:30 +01:00
Martin Ling
b862c31473
cmake: Use FFTW3f if found by any means, not just pkg-config.
...
PC_FFTW3f_FOUND indicates that FFTW3f was found via pkg-config.
It can also be found without pkg-config, if the necessary paths
are supplied. This fixes hackrf_sweep not being built in that case.
2025-10-04 02:49:36 +01:00
Michael Ossmann
6195f42d94
Merge pull request #1585 from greatscottgadgets/dependabot/pip/docs/jinja2-3.1.6
...
build(deps): bump jinja2 from 3.1.5 to 3.1.6 in /docs
2025-10-02 12:22:39 -04:00
Michael Ossmann
721bd3e239
Merge pull request #1591 from martinling/update-uninstall
...
Update CMake code for producing 'make uninstall' target
2025-10-02 11:55:35 -04:00
Martin Ling
967d2b4f86
Update CMake code for producing 'make uninstall' target.
2025-10-02 16:44:54 +01:00
Michael Ossmann
dbae993ec1
Merge pull request #1590 from martinling/stdbool
...
Use stdbool.h rather than our own bool definition
2025-10-02 11:34:29 -04:00
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
dependabot[bot]
3c7cc02a5e
build(deps): bump jinja2 from 3.1.5 to 3.1.6 in /docs
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.5 to 3.1.6.
- [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.5...3.1.6 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-version: 3.1.6
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-19 00:44:43 +00: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