Commit Graph

  • cf34beebb0 Remove extra call to switchctrl_set and global switchctrl variable. Martin Ling 2022-09-21 12:08:47 +01:00
  • eec6963759 Initialise RF path GPIOs to safe settings. Martin Ling 2022-09-21 12:05:17 +01:00
  • 5c812681ab docs: Remove outdated clocking page Michael Ossmann 2022-09-21 04:09:54 -04:00
  • 767db9f06c Don't start baseband streaming until TX buffer is first filled. Martin Ling 2022-09-20 11:09:50 +01:00
  • e623c7aed7 Merge pull request #1103 from dizcza/master Michael Ossmann 2022-09-19 21:30:22 -04:00
  • 8e83506da1 Merge pull request #1166 from martinling/tx-disconnect-hang Michael Ossmann 2022-09-19 21:28:49 -04:00
  • 6835bc4812 Merge pull request #1165 from greatscottgadgets/board-id-compat Michael Ossmann 2022-09-19 21:15:26 -04:00
  • e53b9d5717 Fix hang in TX when a libusb error occurs. Martin Ling 2022-09-20 02:07:21 +01:00
  • 471c5bc5de libhackrf: #define outdated board IDs Michael Ossmann 2022-09-19 19:55:33 -04:00
  • c487e3f6b1 Merge pull request #1162 from martinling/ant-bias-glitch Michael Ossmann 2022-09-19 10:33:57 -04:00
  • 44511c6c3b Move RFFC5072 setup before enabling RF power. Martin Ling 2022-09-19 13:02:29 +01:00
  • 5d78302d97 Change default RFFC5072 register settings to disable antenna bias. Martin Ling 2022-09-19 13:02:01 +01:00
  • 6d57709000 Move delay after enabling RF power to rad1o-specific code. Martin Ling 2022-08-31 22:41:31 +01:00
  • 555c6fb47b Merge pull request #1161 from greatscottgadgets/wee-bugs Michael Ossmann 2022-09-19 04:55:53 -04:00
  • f4202d1163 hackrf_transfer: Don't skip preload stats in RX Michael Ossmann 2022-09-18 13:27:51 -04:00
  • 82ecfce414 hackrf_transfer: simplify hardware sync mode logic Michael Ossmann 2022-09-18 05:49:03 -04:00
  • 22635bf07d libhackrf: update hackrf_transfer struct comment Michael Ossmann 2022-09-18 05:13:25 -04:00
  • 9181cbe049 hackrf_transfer: send signal to own PID Michael Ossmann 2022-09-18 05:07:09 -04:00
  • ca5049fcd3 Merge pull request #1156 from martinling/tx-transfer-sizing Michael Ossmann 2022-09-18 04:31:47 -04:00
  • 6ab17209d7 Disable flush when cancelling transfers. Martin Ling 2022-09-16 15:55:20 +01:00
  • 55fdddd81e Merge remote-tracking branch 'origin/master' into tx-transfer-sizing Martin Ling 2022-09-15 15:32:20 +01:00
  • 1b166a5b05 Pad the last data in a transmission to the next 512 byte boundary. Martin Ling 2022-09-15 15:22:41 +01:00
  • 69823397b1 Submit flush transfer as soon as end of data is reached. Martin Ling 2022-09-15 14:32:15 +01:00
  • 2b1aa545f8 Merge pull request #1157 from martinling/standardise-dbfs Michael Ossmann 2022-09-15 04:59:45 -04:00
  • 09c6030ec9 Start TX/RX in hackrf_transfer after all other requests. Martin Ling 2022-09-15 09:51:11 +01:00
  • a2c30a8896 Update firmware/README Danylo Ulianych 2022-09-15 07:39:48 +03:00
  • 75e3137d55 Merge pull request #1155 from greatscottgadgets/platform-detect Michael Ossmann 2022-09-14 17:45:58 -04:00
  • 4f779aae7a Merge pull request #1154 from greatscottgadgets/clkout-source Michael Ossmann 2022-09-14 17:43:28 -04:00
  • f1e34b7cea Correct the calculation of dBfs signal level. Martin Ling 2022-09-14 18:15:44 +01:00
  • 66fa76c550 In CW mode, set only the I component to the specified amplitude. Martin Ling 2022-09-14 18:14:59 +01:00
  • d5d2b09fe8 Restrict CW mode amplitude to 127. Martin Ling 2022-09-14 18:13:48 +01:00
  • f2d00adab8 Add commentary to TX callback. Martin Ling 2022-09-14 15:25:48 +01:00
  • e38534b99d Don't return -1 from the TX callback that provides the last data. Martin Ling 2022-09-14 15:18:32 +01:00
  • 5ad08cfd96 Set valid_length correctly in hackrf_transfer TX callback. Martin Ling 2022-09-14 15:45:30 +01:00
  • 22846b5682 Make libhackrf honour the valid_length set by TX callback. Martin Ling 2022-09-14 15:44:48 +01:00
  • 9905e960a4 Rearrange to avoid duplicating sample limit return path. Martin Ling 2022-09-14 12:40:41 +01:00
  • 16f93d9b27 Move duplicated code to one place. Martin Ling 2022-09-14 15:15:34 +01:00
  • 29787cd291 Clarify variables used in TX callback. Martin Ling 2022-09-14 15:10:13 +01:00
  • 9329c5e44e Detect hardware platform at run-time. Michael Ossmann 2022-09-14 07:08:47 -04:00
  • fdfe310f9a Merge pull request #1139 from martinling/tx-flush Michael Ossmann 2022-09-14 05:45:40 -04:00
  • 7650236839 Flush buffer when CW mode is used with -n. Martin Ling 2022-09-12 16:50:53 +01:00
  • 0142ae6da9 Don't await buffer flush if interrupted by Ctrl-C. Martin Ling 2022-09-12 16:32:11 +01:00
  • 2104291594 firmware: use consistent clock source Michael Ossmann 2022-09-10 06:54:51 -04:00
  • 57d51fd042 Merge pull request #1153 from greatscottgadgets/measure-power Michael Ossmann 2022-09-09 20:11:08 -04:00
  • 8a9af7a1ad hackrf_transfer: report on only actual transfers Michael Ossmann 2022-09-09 16:32:07 -04:00
  • 70a04855ac libhackrf: add transfer buffer size access calls Michael Ossmann 2022-09-09 16:16:24 -04:00
  • c1e65778bc Merge pull request #1149 from grvvy/operacake_time_mode_fix Michael Ossmann 2022-09-09 12:46:45 -04:00
  • e7b19ef2c2 hackrf_transfer: accept CW amplitude up to 128 Michael Ossmann 2022-09-08 15:58:22 -04:00
  • 755ca960e5 hackrf_transfer: report power, not amplitude Michael Ossmann 2022-09-09 05:15:15 -04:00
  • 5b4be3e078 Merge pull request #1138 from martinling/preload-tx-transfers Michael Ossmann 2022-09-05 11:41:05 -04:00
  • ad5398d92c Merge pull request #1132 from martinling/hackrf-transfer-short-files Michael Ossmann 2022-09-05 10:37:29 -04:00
  • 5d7b203058 operacake: disable the usage of time mode when a portapack is installed grvvy 2022-09-01 14:03:18 -06:00
  • e41b4c5116 change checkboxes to text area for OS technical support question (#1148) Straithe 2022-08-28 19:55:50 -04:00
  • 0a85acf27a Add quotes to yes and no (#1147) Straithe 2022-08-28 19:18:44 -04:00
  • 783899b06f address hash issues in technical support issue template (#1146) Straithe 2022-08-28 19:06:46 -04:00
  • e0b6978634 fix technical support template (#1145) Straithe 2022-08-28 18:47:13 -04:00
  • e5e1507b4f remove yaml errors (#1144) Straithe 2022-08-28 18:29:48 -04:00
  • a2ff44f0fd converted issue templates to .yml instead of .md (#1143) Straithe 2022-08-28 18:07:52 -04:00
  • 6e38a68234 Add issue templates (#1122) Straithe 2022-08-28 17:45:09 -04:00
  • 8f60e6b66f Wait for TX buffer flush at end of hackrf_transfer. Martin Ling 2022-08-24 23:21:52 +01:00
  • d556f0abab Add API to support flushing the device buffer when TX finishes. Martin Ling 2022-08-24 23:20:13 +01:00
  • 9d2e163a2d Call TX callback to fill transfers before initial submission. Martin Ling 2022-08-23 13:19:03 +01:00
  • 8bd8dedddc Use an early return to reduce indentation in prepare_transfers. Martin Ling 2022-08-23 13:03:53 +01:00
  • 5881b3b6a1 Add defines for TX and RX endpoint addresses. Martin Ling 2022-08-23 12:24:00 +01:00
  • 9b6a0259a7 Remove message when rewinding input file. Martin Ling 2022-08-07 18:03:43 +01:00
  • 0c35cff05b In repeat mode, rewind file as many times as needed to fill buffer. Martin Ling 2022-08-07 18:01:09 +01:00
  • 06a0c2b189 One more early return to simplify TX callback. Martin Ling 2022-08-07 17:51:25 +01:00
  • 85a86b8baa Use more early returns to further simplify callbacks. Martin Ling 2022-08-07 17:30:30 +01:00
  • bcaebc00c3 Use some early returns to reduce deeply indented callbacks. Martin Ling 2022-08-07 17:24:02 +01:00
  • 344af5094b Merge pull request #1131 from martinling/hackrf-transfer-validation Martin Ling 2022-08-23 08:57:17 +01:00
  • c703a72ac0 add parentheses to avoid compiler warning Michael Ossmann 2022-08-22 14:29:34 -04:00
  • 04cb3a4084 Merge pull request #1133 from martinling/hackrf-transfer-timing Michael Ossmann 2022-08-22 18:37:34 -04:00
  • 00f79572c1 Merge pull request #1135 from martinling/clkin-detect Michael Ossmann 2022-08-22 15:17:13 -04:00
  • a09e9a20ed Overhaul timing in hackrf_transfer. Martin Ling 2022-08-05 15:43:25 +01:00
  • eeaaaf3b9b Make use of Win32 functions conditional on _WIN32, not _MSC_VER. Martin Ling 2022-08-17 12:54:22 +01:00
  • e88a0387cb Extend force option to frequency ranges outside 1MHz-6GHz. Martin Ling 2022-08-05 16:28:42 +01:00
  • 2e1f55c2d5 Add hackrf_transfer -F option to force unsupported sample rates. Martin Ling 2022-08-05 13:32:47 +01:00
  • 8c12fa6007 Validate sample rates passed to hackrf_transfer. Martin Ling 2022-08-05 13:19:13 +01:00
  • 2fe3185f9d Use an array of buffers for u64->ASCII conversions. Martin Ling 2022-08-05 16:25:31 +01:00
  • 26077ac85e Merge pull request #1112 from martinling/code-style Michael Ossmann 2022-08-15 16:17:04 -04:00
  • ba148ee047 Add a simpler way to check CLKIN status. Martin Ling 2022-08-05 09:17:32 +01:00
  • 01e0702013 Print hackrf_sweep usage with a single fprintf call. Martin Ling 2022-07-07 11:29:36 +01:00
  • e8e6784881 Add spacing lines between declarations in hackrf.h. Martin Ling 2022-07-07 10:53:35 +01:00
  • c0d13de598 Add braces to all control statements without them. Martin Ling 2022-07-07 10:48:32 +01:00
  • 0de4c7ad23 Add helper script to add missing braces using clang-tidy. Martin Ling 2022-07-07 10:47:38 +01:00
  • 55bea828ea Add missing stdbool.h include to rom_iap.h. Martin Ling 2022-07-07 10:43:49 +01:00
  • 44ebd5a6ff Add clang-format check to Github actions. Martin Ling 2022-06-28 12:48:19 +01:00
  • c3fdf402d7 Reformat all code to new clang-format standard. Martin Ling 2022-07-06 12:50:08 +01:00
  • 7d6a524795 Add clang-format configuration and reformat script. Martin Ling 2022-06-28 12:47:59 +01:00
  • ebb9e43fde Move some trailing comments on long lines. Martin Ling 2022-08-03 23:34:39 +01:00
  • b50aeb4082 fixup clang-format off Martin Ling 2022-08-03 23:34:28 +01:00
  • 8b157cfdbc Split up two groups of defines. Martin Ling 2022-08-03 23:28:23 +01:00
  • dbcc46d221 Mark code sections to be left alone by clang-format. Martin Ling 2022-06-27 12:32:02 +01:00
  • b4c828915a Use an empty block for empty while loops. Martin Ling 2022-06-27 12:15:36 +01:00
  • 414b4a98da hackrf_transfer: Split a long line in usage(). Martin Ling 2022-06-27 10:35:26 +01:00
  • 7f5ae870ec hackrf_transfer: Clean up WAV headers. Martin Ling 2022-06-27 10:33:11 +01:00
  • 6cd9ca9483 sgpio: Clean up comments. Martin Ling 2022-06-27 12:01:47 +01:00
  • 51b76d33a6 sgpio: Remove a redundant variable. Martin Ling 2022-06-27 11:53:12 +01:00
  • efd5603c80 Reformat sct.h to avoid long lines. Martin Ling 2022-06-27 11:16:40 +01:00
  • 445253be1e usb_descriptor: Realign descriptor comments. Martin Ling 2022-06-27 12:31:36 +01:00