3150 Commits

Author SHA1 Message Date
Michael Ossmann
afb42968c9 Merge pull request #1680 from martinling/avoid-not-keyword
Rename gpio.not to gpio.inv to avoid conflict with C++ keyword
2026-02-19 11:11:00 -05:00
Martin Ling
8d1b1a5f9a Rename gpio.not to gpio.inv to avoid conflict with C++ keyword. 2026-02-19 00:32:31 +00:00
Martin Ling
cc63a764ab Don't allocate large LZ4 buffers on stack; use some dedicated RAM. (#1670) 2026-02-11 14:13:32 -05:00
Michael Ossmann
43fb9fec3c Merge pull request #1673 from martinling/update-libopencm3
Update libopencm3 for recent compiler warning fixes.
2026-02-11 13:28:32 -05:00
Martin Ling
bce1b871c6 Update libopencm3 for recent compiler warning fixes. 2026-02-09 19:08:06 +00:00
Michael Ossmann
f6be9d54f1 Merge pull request #1669 from martinling/delay
Firmware: Move delay functions, add M0 version of `delay_us_at_mhz`.
2026-02-09 12:44:34 -05:00
Martin Ling
3ef784b830 Add delay loop implementation for M0 core. 2026-02-09 08:35:16 +00:00
Michael Ossmann
67d61bae6e Merge pull request #1672 from martinling/nonstring
Add `nonstring` attribute to firmware_info magic field
2026-02-06 19:45:31 -05:00
Michael Ossmann
14d404082e Merge pull request #1671 from martinling/old-style-definitions
Add `-Wold-style-definition` to compiler flags
2026-02-06 19:41:58 -05:00
Martin Ling
a246f9a35a Add 'nonstring' attribute to firmware_info magic field.
Fixes compiler warnings such as:

firmware_info.c:49:18: warning: initializer-string for array of 'char'
truncates NUL terminator but destination lacks 'nonstring' attribute (9
chars into 8 available) [-Wunterminated-string-initialization]
   49 |         .magic = "HACKRFFW",
      |                  ^~~~~~~~~~
2026-02-06 21:30:01 +00:00
Martin Ling
84aed3a67c Add -Wold-style-definition to compiler flags. 2026-02-06 20:58:00 +00:00
Michael Ossmann
3db0bbfc4f Merge pull request #1667 from martinling/strict-prototypes
Firmware: Enable `-Wstrict-prototypes` and fix remaining warnings
2026-02-06 14:22:39 -05:00
Martin Ling
afb6d1372f Move delay functions out of hackrf_core. 2026-02-06 18:29:54 +00:00
Martin Ling
2ffcc908fb Enable -Wstrict-prototypes warnings. 2026-02-06 17:30:56 +00:00
Martin Ling
ead77b91cf Always use void argument type for functions taking no arguments. 2026-02-06 17:30:56 +00:00
stafur
1ee45eaaa2 Toolchain 9.2.1 support fix (#1666)
Added -B arm flag to firmware/hackrf_usb/CMakeLists.txt to support builds with v9.2.1 toolchains.
2026-02-05 11:36:56 -05:00
Michael Ossmann
2df9ad26af Merge pull request #1664 from greatscottgadgets/post-release
Set version to 2026.01.3+
2026-01-30 13:11:31 -05:00
Michael Ossmann
a7dc78612f Set version to 2026.01.3+ 2026-01-29 23:03:34 -05:00
Michael Ossmann
1cfe7dfe98 Merge pull request #1663 from greatscottgadgets/release
Release 2026.01.3
v2026.01.3
2026-01-29 22:47:16 -05:00
Michael Ossmann
a0066ded51 Set version to 2026.01.3 2026-01-29 22:21:45 -05:00
Michael Ossmann
3233cd56cf Set USB API version to 1.10 2026-01-29 22:19:42 -05:00
Michael Ossmann
e6ca4d9b71 Set libhackrf version to 0.9.2 2026-01-29 22:16:11 -05:00
Michael Ossmann
3ffda68f18 Merge pull request #1655 from martinling/flash-size
Provide access to the larger SPI flash on Praline
2026-01-29 21:58:15 -05:00
Martin Ling
06c1163d64 Provide access to the larger SPI flash on Praline. 2026-01-30 00:06:16 +00:00
Michael Ossmann
6a02d4e333 Merge pull request #1658 from greatscottgadgets/fix-mixer-lock
Fix mixer lock
2026-01-29 18:16:53 -05:00
Michael Ossmann
16355f8e5d Update RFFC5072 default registers 2026-01-29 18:59:42 +00:00
Michael Ossmann
ec784cbfbc Change from 5th order to 3rd order DSM modulator 2026-01-29 18:59:25 +00:00
Mike Walters
72636b53f5 Move dithering disable to rffc5071_setup 2026-01-29 18:03:57 +00:00
Michael Ossmann
b516631743 Use lower feedback divider when possible
This reverts a previous change that was a workaround for tuning glitches
in sweep mode. Increase of TVCO is a better solution.
2026-01-29 17:43:54 +00:00
Michael Ossmann
40bdea769b Increase RFFC5072 VCO warm-up time TVCO 2026-01-29 17:43:47 +00:00
Michael Ossmann
38abc35e23 Output RFFC5072 LD to test point on HackRF One 2026-01-29 17:42:28 +00:00
Michael Ossmann
845c0c8394 Enable RFFC5072 reference oscillator standby 2026-01-29 17:42:28 +00:00
Michael Ossmann
e95b3afbc3 Zero only the bits we want to be zero
Previously we zeroed all RFFC5072 frequency synthesizer control
registers, resulting in an invalid configuration which could adversely
affect start-up if the part is enabled before a valid frequency is set.
2026-01-29 17:42:28 +00:00
Michael Ossmann
9aa37b9f8c Merge pull request #1656 from greatscottgadgets/readme-faq
Change README help link from FAQ to troubleshooting
2026-01-26 21:56:03 -05:00
Mike Walters
9c4caad83e Change README help link from FAQ to troubleshooting 2026-01-27 00:15:59 +00:00
Michael Ossmann
5820e5264a Merge pull request #1654 from martinling/lock-test
Test RFFC5072 PLL lock during startup
2026-01-26 15:11:51 -05:00
Martin Ling
f4e120e50d Test RFFC5072 PLL lock during startup. 2026-01-26 19:00:53 +00:00
Michael Ossmann
6e06b3c678 Merge pull request #1645 from greatscottgadgets/post-release
Set version to 2026.01.2+
2026-01-16 18:33:19 -05:00
Michael Ossmann
85b57c01c3 Set version to 2026.01.2+ 2026-01-16 18:15:12 -05:00
Michael Ossmann
85160ee735 Merge pull request #1644 from greatscottgadgets/release
Set version to 2026.01.2
v2026.01.2
2026-01-16 17:55:09 -05:00
Michael Ossmann
c228504784 Set version to 2026.01.2 2026-01-16 17:04:43 -05:00
Michael Ossmann
0f0d425576 Merge pull request #1641 from greatscottgadgets/fix-sdrpp
Ignore re-tune requests
2026-01-16 13:45:55 -05:00
Michael Ossmann
a5af0edabb Ignore re-tune requests
If the requested frequency is the same as the already-configured
frequency, ignore the tuning request.
2026-01-13 14:54:26 -05:00
Michael Ossmann
663c99378f Merge pull request #1639 from mndza/generic-sgpio-intf
gateware: generic SGPIOInterface, simpler capture mgmt, fix resampler bugs
2026-01-11 23:22:03 -05:00
mndza
76318321f5 gateware: fix HalfBandInterpolator backpressure issues 2026-01-09 16:24:55 +01:00
mndza
29bfc3b78b gateware: fix occasional IQ swap in half-band decimator
Prevent loosing track of the IQ time-multiplexing state within the FIR
filter.
2026-01-09 16:19:45 +01:00
mndza
4724eb5644 gateware: fix SB_MAC16 versions of the FIR decimator, interpolator
Simplified the filter architecture by using an adder tree for obtaining
the final sum of the subfilters (vs systolic array). Previously, no
backpressure (always_ready=True) worked fine but otherwise we lost
samples.
2026-01-09 16:19:44 +01:00
mndza
70c211d0ff gateware: generic SGPIOInterface and simpler capture management 2026-01-09 12:33:11 +01:00
Michael Ossmann
0e05bda647 Merge pull request #1638 from martinling/fix-rad1o
Fix clock generator initialisation on rad1o.
2026-01-07 14:39:40 -05:00
Martin Ling
46a9a6e881 Fix clock generator initialisation on rad1o.
On the CCC 2015 rad1o badge, the Si5351C clock generator is powered
by the RF section supply (named VDD on the schematic).

So clock_gen_init() must be called after enable_rf_power().

Since the Si5351C is off when the RF power is off, there should be
no need for the shutdown/init calls at startup.
2026-01-06 16:35:12 +00:00