
This removes the definition of the offset variable, volatile uint32_t usb_bulk_buffer_offset = 0; which is actually superfluous. This variable, along with its neighbour usb_bulk_buffer_tx, is placed explicitly by the linker script. Its type is defined by the declaration in usb_bulk_buffer.h. There is no need to define it here, and doing so gives the misleading impression that its initial value can be changed by modifying this line! The initialization to zero never actually takes effect, because the variable is not placed in the .data or .bss sections which are initialised by the startup code. The offset and tx variables are both set in set_transceiver_mode before SGPIO streaming is started, so the M0 code does not use them uninitialised.
HackRF
This repository contains hardware designs and software for HackRF, a low cost, open source Software Defined Radio platform.
(photo by fd0 from https://github.com/fd0/hackrf-one-pictures)
principal author: Michael Ossmann mike@ossmann.com
Information on HackRF and purchasing HackRF: https://greatscottgadgets.com/hackrf/
Documentation
Documentation for HackRF can be viewed on Read the Docs. The raw documenation files for HackRF are in the docs folder in this repository and can be built locally by installing Sphinx Docs and running make html
. Documentation changes can be submitted through pull request and suggestions can be made as GitHub issues.
Getting Help
Before asking for help with HackRF, check to see if your question is listed in the FAQ.
For assistance with HackRF general use or development, please look at the issues on the GitHub project. This is the preferred place to ask questions so that others may locate the answer to your question in the future.
We invite you to join our community discussions on Discord. Note that while technical support requests are welcome here, we do not have support staff on duty at all times. Be sure to also submit an issue on GitHub if you've found a bug or if you want to ensure that your request will be tracked and not overlooked.
If you wish to see past discussions and questions about HackRF, you may also view the mailing list archives.
GitHub issues on this repository that are labelled "technical support" by Great Scott Gadgets employees can expect a response time of two weeks. We currently do not have expected response times for other GitHub issues or pull requests for this repository.