Michael Ossmann
c1bda490b1
Merge pull request #1245 from greatscottgadgets/leds
...
add --led option to hackrf_debug
2022-12-20 13:34:55 -05:00
Michael Ossmann
c0c8c944c3
Merge pull request #1239 from martinling/windows-ci
...
Add Windows build of libhackrf and host tools to Github Actions
2022-12-20 13:25:03 -05:00
Michael Ossmann
173612ac77
add --led option to hackrf_debug
...
and corresponding changes to libhackrf and firmware
2022-12-18 07:22:17 -05:00
Martin Ling
9fce4ebf04
CI: add steps to build libhackrf and host-tools on Windows.
2022-12-13 02:31:58 +00:00
Martin Ling
d912c8c326
CI: don't specify bash as shell for commands.
...
On Linux and macOS runners, bash is already the default.
For Windows, specifying bash prevents the same step being used.
2022-12-13 02:31:58 +00:00
Martin Ling
9c0a3e0244
CI: remove BUILD_TYPE environment variable.
...
We were only setting this to Release, so there is no current need for an
environment variable.
Removing it allows us to reuse some steps for Windows, where the syntax
to insert an environment variable is different.
2022-12-13 02:30:53 +00:00
Mike Walters
eff4a20022
Remove default titles from issue forms ( #1217 )
...
* Remove default titles from issue forms
* Update technical-support.yml
Issue template: reversed an option in the technical support template.
Co-authored-by: Straithe <b@straithe.com>
2022-12-05 01:53:33 -05:00
Michael Ossmann
b106495042
Merge pull request #1235 from stevefalco/correct_register_definition
...
Make definition of "prev" consistent
2022-12-01 13:08:35 -05:00
Michael Ossmann
ebbbfa28b4
Merge pull request #1233 from grvvy/ci_hackrf_debug
...
CI: add hackrf_debug test
2022-12-01 12:45:05 -05:00
Michael Ossmann
956492fb65
Merge pull request #1212 from schneider42/schneider/m0_reset
...
m0: reset M0 before starting it
2022-12-01 12:42:15 -05:00
Michael Ossmann
e226a416de
Merge pull request #1203 from martinling/8k-transfers
...
Reduce firmware USB transfer size from 16KB to 8KB
2022-12-01 12:40:26 -05:00
Steven A. Falco
7dbf6d65b6
Make definition of "prev" consistent
2022-11-30 16:53:11 -05:00
grvvy
1f5a88b400
CI: add full path to hackrf_debug call
2022-11-23 14:29:48 -07:00
grvvy
394168a475
CI: add hackrf_debug test
2022-11-23 14:20:34 -07:00
Michael Ossmann
32a4541bf6
Merge pull request #1231 from grvvy/ci_transfer_test
...
Add testing for hackrf_transfer to CI
2022-11-23 14:14:29 -05:00
grvvy
3154786c93
CI: use PASS FAIL in place of returning 1 or 0
2022-11-23 11:51:02 -07:00
grvvy
8f39ccc22e
CI: add transfer test
2022-11-17 15:16:58 -07:00
Straithe
15636efb4d
Docs: Update HackRF troubleshooting docs ( #1210 )
...
* Update HackRF troubleshooting docs
2022-11-07 14:22:28 -05:00
schneider
d8d3dc039d
m0: reset M0 before starting it
...
The rad1o was not starting the M0 when powered up by inserting a USB
cable. Interestingly the M0 does start when toggling the power switch.
Resetting the M0 before starting it in `main()` solves this issue.
2022-10-26 20:03:39 +02:00
Michael Ossmann
48b94321fc
Merge pull request #1206 from greatscottgadgets/post-release
...
set version to 2022.09.1+
2022-10-24 15:37:20 -04:00
Michael Ossmann
5acd0cb99e
set version to 2022.09.1+
2022-10-24 15:14:00 -04:00
Martin Ling
fefa4f0e45
Reduce firmware USB transfer size from 16KB to 8KB.
2022-10-22 13:47:06 +01:00
Jacob Graves
b3f7a11a58
Merge pull request #1200 from grvvy/dual_device_patch
...
CI: add serial numbers for both connected HackRFs
2022-10-17 12:53:54 -06:00
grvvy
5027e27497
CI: add serial numbers for both connected HackRFs
2022-10-17 12:41:52 -06:00
Jacob Graves
2b3e2e52cb
Merge pull request #1198 from grvvy/test_device_path_fix
...
CI: remove the no longer needed device path from dfu-util
2022-10-17 12:29:00 -06:00
grvvy
c5d81be1fe
CI: remove the no longer needed device path from dfu-util
2022-10-12 12:20:23 -06:00
Michael Ossmann
e3e406491d
Merge pull request #1191 from greatscottgadgets/release
...
set version to 2022.09.1
2022-09-29 07:12:06 -04:00
Michael Ossmann
b6acd66cfe
set version to 2022.09.1
...
Starting with this release we will no longer use "unknown" as the
default software version string used in cases where the version cannot
be determined from context. Instead we commit the release version string
to git so that any software built from the tagged commit will have the
appropriate release version string. After the release we will commit a
post-release version string as the new default.
We will continue to use the commit hash as version string when the
software is built inside a git repository.
2022-09-29 05:20:39 -04:00
Michael Ossmann
0afc9857e4
Update some outdated technical docs ( #1190 )
...
* update outdated libhackrf documentation
* update outdated hackrf_sweep documentation
2022-09-28 18:16:39 -04:00
Michael Ossmann
dfb6611b08
Merge pull request #1189 from straithe/addHackRFPictureToDocumentation
...
Add picture of HackRF to documentation
2022-09-28 05:12:13 -04:00
Michael Ossmann
efebd73e77
Merge pull request #1188 from straithe/fixDocumentationIssueTemplateTypo
...
Fix Documentation Issue Template Typo
2022-09-28 05:06:45 -04:00
Michael Ossmann
219abf7a4c
Merge pull request #1180 from martinling/fix-transfer-locking
...
Improve transfer locking
2022-09-28 05:06:07 -04:00
straithe
58e65517a5
Add picture of HackRF to documentation
2022-09-28 01:34:11 -04:00
straithe
7f15fc5e0b
Fix Documentation Issue Template Typo
2022-09-28 01:09:34 -04:00
Michael Ossmann
0d9b04e41b
Merge pull request #1183 from straithe/addDocumentationRequestIssueTemplate
...
Add documentation request issue template
2022-09-27 13:30:36 -04:00
Michael Ossmann
681ebc46ad
Merge pull request #1182 from straithe/removeDocsRetiredContentSection
...
remove retired content and move jawbreaker content
2022-09-27 13:30:03 -04:00
Michael Ossmann
a442450e30
Merge pull request #1179 from straithe/updateOperaCakeDocumentation
...
Add picture of Opera Cake to documentation
2022-09-27 13:24:11 -04:00
Michael Ossmann
0b17762c3a
Merge pull request #1178 from straithe/fixReadMeTypo
...
Fix typos in Readme file
2022-09-27 13:21:05 -04:00
Michael Ossmann
7243db7d68
Merge pull request #1181 from greatscottgadgets/cleanup
...
pre-release clean-up and platform detection improvement
2022-09-27 13:19:52 -04:00
Michael Ossmann
0c85e10195
Merge pull request #1184 from martinling/flush-on-setup
...
Flush queues on control endpoint when a new SETUP is received.
2022-09-27 13:19:27 -04:00
Martin Ling
1db39c0e61
Flush queues on control endpoint when a new SETUP is received.
...
On macOS 12.6 running libusb 1.0.26, the host was seen to sometimes
make an incomplete ClearFeature(ENDPOINT_HALT) request when
ClearPipeStallBothEnds was called from libusb_cancel_transfer.
The host would send the SETUP packet, and the firmware would
call usb_transfer_schedule_ack to acknowledge the upcoming IN
token. However, the host would then not send the IN token,
proceeding directly to the next SETUP.
Since an empty transfer was queued to schedule the ACK, the
firmware would leak one transfer from the free_transfers list.
After a few iterations of this, the firmware would run out of
free transfers and the next request would hang waiting for one.
Fix this by flushing the transfer queues for the control endpoint
when a new SETUP is received, since that token implicitly cancels
any previously ongoing request.
2022-09-27 09:45:43 +01:00
straithe
44244f525d
Add documentation request issue template
2022-09-27 03:12:36 -04:00
straithe
12b9d4cdc9
remove retired content and move jawbreakercontent
2022-09-27 02:53:35 -04:00
Michael Ossmann
1f9f597ea8
firmware: use python3 interpreter, not python
2022-09-26 16:46:04 -04:00
Michael Ossmann
f3d10dcc62
firmware: improve platform detection
...
Slow down the detection of pull-up and pull-down resistors to make
detection more reliable.
2022-09-26 16:44:38 -04:00
Michael Ossmann
b026c07000
firmware: fix duration of delay_us_at_mhz()
2022-09-26 16:43:43 -04:00
Martin Ling
f7c219e30f
Merge all_finished_lock with transfer_lock.
2022-09-26 14:01:16 +01:00
Martin Ling
367ce3d7b3
Hold transfer lock during initial submissions in prepare_transfers.
2022-09-26 14:01:15 +01:00
Martin Ling
559a45bd6b
Extend scope of transfer_lock in callback.
2022-09-26 13:42:22 +01:00
straithe
3678bfa03e
Add picture of Opera Cake to documentation
2022-09-26 00:24:42 -04:00