Commit Graph

  • a66492b8b7 rom_iap: Clean up comments and realign with spaces. Martin Ling 2022-06-27 12:29:55 +01:00
  • 1acc71bebf rf_path: Realign scu_pinmux calls. Martin Ling 2022-06-27 12:28:35 +01:00
  • 6b5193198b Realign GPIO assignments with spaces rather than tabs. Martin Ling 2022-06-27 12:27:03 +01:00
  • e4af1a6808 Merge pull request #1116 from gitcolt/amplitude-report Michael Ossmann 2022-08-02 20:22:47 -04:00
  • 81b0cd34e7 Merge pull request #1125 from martinling/simplify-rx-loop Michael Ossmann 2022-08-02 20:07:17 -04:00
  • b5057b87e8 Report an amplitude of value -INFINITY as is instead of showing it as -0.0 dBfs colt 2022-08-02 18:44:28 -05:00
  • 0c563c4f5c Merge pull request #1071 from martinling/concurrency-cleanup Michael Ossmann 2022-08-01 18:41:51 -04:00
  • 3418f6e249 Use a #define for USB transfer size. Martin Ling 2022-07-25 10:54:07 +01:00
  • a943610cd4 Simpify TX loop in the same way as RX loop. Martin Ling 2022-07-25 10:40:07 +01:00
  • 0175c2e84e Simplify rx_mode loop and prevent it stalling. Martin Ling 2022-07-25 10:25:56 +01:00
  • 1ed2d3bb14 Gain controls: bulleted list (#1113) james-pcdf 2022-07-21 12:58:27 -04:00
  • 74c3600200 Merge pull request #1119 from grvvy/ci_device_port_change Michael Ossmann 2022-07-18 12:57:36 -04:00
  • 53e076e997 ci: update target device's changed port number grvvy 2022-07-13 14:42:21 -06:00
  • b47a808eaa Do dB ratio check BEFORE it's used colt 2022-07-11 13:25:14 -05:00
  • 151b431c64 Fix #902 - Report transmit amplitude colt 2022-07-06 22:34:26 -05:00
  • 0724bd36eb Lock the whole code block that touches active transfer count. Martin Ling 2022-07-04 18:00:07 +01:00
  • 743b2c76e2 Replace per-transfer flags with a count of active transfers. Martin Ling 2022-03-18 11:55:03 +00:00
  • 34cbbe7330 Merge pull request #1070 from martinling/cleanup-stop Michael Ossmann 2022-06-14 10:47:45 -04:00
  • a41c8078a0 Merge pull request #1069 from martinling/error-handling Michael Ossmann 2022-06-14 10:42:19 -04:00
  • bc0fbc3184 Merge pull request #1072 from martinling/fix-stack-variables Martin Ling 2022-06-13 23:03:20 +01:00
  • 61c7cdee80 Merge pull request #1106 from martinling/pll-startup Michael Ossmann 2022-06-13 16:32:29 -04:00
  • 405515d5b4 Implement NXP's recommended setup sequence for the PLL and M4 clock. Martin Ling 2022-06-13 16:47:08 +01:00
  • 273e6a1217 Add an accurate delay loop. Martin Ling 2022-06-13 16:32:55 +01:00
  • fa0662e54c Jenkins CI (#1102) Jacob Graves 2022-06-08 11:26:28 -06:00
  • fc79b0ffb1 fixed firmware manual build docs dizcza 2022-06-05 11:18:48 +03:00
  • dfadf6a31c Merge pull request #1090 from veloman-yunkan/sweep_mode_bugfix Michael Ossmann 2022-05-30 12:15:54 -04:00
  • 8feda0946b Documentation: Add RF shield installation instructions to docs (#1074) yhetti 2022-04-29 13:06:35 -06:00
  • db39147e04 fix RTD to compile (#1095) Straithe 2022-04-28 20:23:37 -04:00
  • 555b90e061 change to get RTD working (#1094) Straithe 2022-04-28 20:14:19 -04:00
  • 3157111d08 Bugfix in retuning rate Veloman Yunkan 2022-04-13 18:30:37 +04:00
  • 6738085f59 Add project mention for the Tesla charging port opener (#1082) Radoslav Gerganov 2022-04-06 02:34:31 +03:00
  • cc5d0a429e Merge pull request #1081 from martinling/clear-feature Michael Ossmann 2022-04-04 11:53:50 -04:00
  • 7d93f40f6f Merge pull request #1080 from metayan/fix-longprint Martin Ling 2022-04-04 12:11:26 +01:00
  • 077095451a Schedule ACK after CLEAR_FEATURE / ENDPOINT_HALT request. Martin Ling 2022-03-30 00:34:32 +01:00
  • 2fba08cf42 Reset endpoint specified in request, not the one it arrived on. Martin Ling 2022-03-29 23:40:08 +01:00
  • 84898a0bcb Implement USB CLEAR_FEATURE request for ENDPOINT_HALT. Martin Ling 2022-03-29 13:47:41 +01:00
  • 19a9074039 Avoid warnings by using PRIu64 Yan 2022-03-21 13:53:40 +00:00
  • c2509e7c4d Fix USB requests that were responding with data from the stack. Martin Ling 2022-03-20 13:40:25 +00:00
  • f046ed24a3 Remove duplicate stop command in hackrf_close(). Martin Ling 2022-03-18 10:57:38 +00:00
  • b109a31fd3 Merge hackrf_stop_tx_cmd and hackrf_start_tx_cmd. Martin Ling 2022-03-18 10:56:58 +00:00
  • 958c742189 Remove delays from hackrf_stop_rx_cmd and hackrf_stop_tx_cmd. Martin Ling 2022-03-18 10:42:40 +00:00
  • 503cd3316c Remove request_exit() function. Martin Ling 2022-03-18 01:53:00 +00:00
  • c4789df44c Set streaming flag in prepare_transfers(). Martin Ling 2022-03-18 01:46:17 +00:00
  • 5afd31e21c Set streaming flag in prepare_setup_transfers(). Martin Ling 2022-03-18 01:40:38 +00:00
  • 960d8015a4 Clear streaming flag in cancel_transfers(). Martin Ling 2022-03-18 01:28:26 +00:00
  • c74c742391 Simplify hackrf_libusb_transfer_callback. Martin Ling 2022-03-18 01:15:54 +00:00
  • 54e00de167 Clear streaming flag in transfer_finished(). Martin Ling 2022-03-18 01:12:29 +00:00
  • 6bd9cb0553 Clear streaming flag if a transfer was cancelled. Martin Ling 2022-03-18 01:09:06 +00:00
  • 125bf9f7bb Don't call callback or submit new transfers once streaming stops. Martin Ling 2022-03-18 00:56:25 +00:00
  • 6720e56fc0 Clear streaming flag if we didn't resubmit a transfer. Martin Ling 2022-03-18 01:02:33 +00:00
  • 9e1cb5c003 Don't exit transfer thread if an error occurs. Martin Ling 2022-03-18 00:43:24 +00:00
  • d3e4e9b6de Merge pull request #1067 from Matioupi/master Martin Ling 2022-03-17 23:04:50 +00:00
  • a8a6618728 fix regression in 4c9fcf86651232c2104b57510a0ac86cf86123e4 Mathieu Peyréga 2022-03-17 21:06:21 +01:00
  • 8b9a33d440 Merge pull request #1063 from metayan/fast-exit Martin Ling 2022-03-17 12:07:54 +00:00
  • 790de7f47b Cleaner fast exit Yan 2022-03-16 10:44:04 +00:00
  • 7ff92b3b05 Ensure fast exit Yan 2022-03-15 12:43:45 +00:00
  • 3344ea8fce Merge pull request #982 from martinling/bug-180 Michael Ossmann 2022-03-01 19:07:07 -05:00
  • ad3216435a Fix overlapping register allocations. Martin Ling 2022-02-28 23:02:34 +00:00
  • d755f7a5c8 Correct order of requested mode and flag. Martin Ling 2022-02-28 17:12:45 +00:00
  • de76404e60 Merge pull request #1045 from martinling/usb-isr Michael Ossmann 2022-02-14 10:15:29 -07:00
  • 779483b9bd Make M0 state retrieval endian-safe. Martin Ling 2022-02-09 20:53:50 +00:00
  • 1fe06b425a Rename m0_state.{c,h} to usb_api_m0_state.{c,h} Martin Ling 2022-02-09 20:00:00 +00:00
  • f3633e285f Replace direct setting of M0 mode with a request/ack mechanism. Martin Ling 2022-02-09 17:32:17 +00:00
  • 137f2481e5 Make an error code available when a shortfall limit is hit. Martin Ling 2022-02-09 02:33:22 +00:00
  • 8bd3745253 Add some additional commentary. Martin Ling 2021-12-29 01:05:58 +00:00
  • 9f79a16b26 Rewrite sweep mode using timed operations. Martin Ling 2021-12-24 16:00:17 +00:00
  • cca7320fe4 Add a wait mode for the M0. Martin Ling 2021-12-24 15:55:49 +00:00
  • 3618a5352f Add a counter threshold at which the M0 will change to a new mode. Martin Ling 2021-12-24 15:27:14 +00:00
  • 7124b7192b Roll back shortfall stats if switched to idle in a shortfall. Martin Ling 2021-12-29 00:14:07 +00:00
  • a5e1521535 Don't update buffer pointer until after checking for shortfall. Martin Ling 2021-12-29 23:13:10 +00:00
  • 0e99419be2 Don't load M0 byte count from memory. Martin Ling 2021-12-24 14:50:22 +00:00
  • 4e205994e3 Use separate loops for RX and TX modes. Martin Ling 2021-12-24 14:08:22 +00:00
  • f08e0c17bf Use new macros in M0 code. Martin Ling 2021-12-24 13:46:45 +00:00
  • 9d570cb558 Add macro versions of key parts of M0 code. Martin Ling 2021-12-24 13:40:00 +00:00
  • 68688e0ec4 Don't send 16K of zeroes to the M0 at TX startup. Martin Ling 2021-12-24 13:03:19 +00:00
  • 00b5ed7d62 Add an M0 TX_START mode, in which zeroes are sent until data is ready. Martin Ling 2021-12-24 14:21:35 +00:00
  • 5abc39c53a Add USB requests and host support to set TX/RX shortfall limits. Martin Ling 2021-12-24 09:56:52 +00:00
  • 2f79c03b2c hackrf_debug: allow parse_int() to handle 32-bit parameters. Martin Ling 2021-12-24 09:53:28 +00:00
  • f0bc6eda30 Add a shortfall length limit. Martin Ling 2021-12-24 09:47:27 +00:00
  • 2c86f493d9 Keep track of longest shortfall. Martin Ling 2021-12-24 09:35:41 +00:00
  • a7bd1e3ede Keep count of number of shortfalls. Martin Ling 2021-12-24 09:09:16 +00:00
  • 0f3069ee5e Move resetting of byte counts to the M0. Martin Ling 2021-12-24 08:39:47 +00:00
  • 3fd3c7786e Set M0 mode to IDLE when transceiver mode is OFF. Martin Ling 2021-12-24 08:32:07 +00:00
  • 32c725dd61 Add an idle mode for the M0. Martin Ling 2021-12-24 08:27:34 +00:00
  • 5b50b2dfac Replace TX flag with a mode setting. Martin Ling 2021-12-24 07:44:18 +00:00
  • c0d0cd2a1d Check for sufficient bytes, or space in buffer, before proceeding. Martin Ling 2021-12-22 04:48:49 +00:00
  • c8d120ff6c Display total M0 and M4 counts at end of hackrf_transfer. Martin Ling 2021-12-22 04:14:44 +00:00
  • eb2be7995c Add hackrf_transfer option to display buffer stats. Martin Ling 2021-12-22 03:29:13 +00:00
  • 79853d2b28 Add a second counter to keep track of bytes transferred by the M4. Martin Ling 2021-12-22 02:50:30 +00:00
  • 21dabc920f Replace M0 state offset field with a byte count. Martin Ling 2021-12-22 02:29:41 +00:00
  • be060ab753 Add defines for USB bulk buffer size & mask. Martin Ling 2021-12-22 01:58:10 +00:00
  • fd073e391f Add USB vendor request to read M0 state, and host support for doing so. Martin Ling 2021-12-20 21:31:45 +00:00
  • 838ad0726c Flush bulk endpoints from USB ISR on mode change request. Martin Ling 2022-02-13 16:11:31 +00:00
  • 51f1066a2f Merge pull request #1040 from gozu42/clkout Michael Ossmann 2022-02-08 08:41:11 -07:00
  • 361c4ac54f Move transceiver mode changes out of USB ISR. Martin Ling 2022-02-08 11:48:43 +00:00
  • 2c64f05ec9 Merge pull request #1034 from schneider42/rad1o-ui-cleanup Michael Ossmann 2022-02-07 23:25:01 -07:00
  • b719c27f38 Merge pull request #1027 from straithe/reproducibleDocBuilds Michael Ossmann 2022-02-07 21:31:39 -07:00
  • 2821cdccd3 Merge pull request #1029 from martinling/bug-916 Michael Ossmann 2022-02-07 21:28:23 -07:00
  • 7057235a14 Increment a sequence number when transceiver mode changes. Martin Ling 2022-01-29 19:22:56 +00:00
  • 4c9fcf8665 After cancelling transfers, wait for all handling to complete. Martin Ling 2022-01-07 21:55:27 +00:00