Michael Ossmann
06b9d7bee0
Clean up source code copyright notices.
2022-09-23 14:46:52 -04:00
Martin Ling
c3fdf402d7
Reformat all code to new clang-format standard.
2022-08-03 23:46:44 +01:00
schneider
7bf55dc983
rad1o: Don't update the UI during sweeps
...
Updating the UI during sweeps significantly increases the time needed to
complete a sweep. Instead simply show "SWEEP" on the display.
2022-01-10 23:26:19 +01:00
Mike Walters
4aac303480
Add option to disable HackRF UI
...
Fixes #608
2020-01-22 21:23:30 +00:00
Mike Walters
c6e1a5f7f7
Fix Operacake GPIO mode initialisation
2020-01-22 14:21:03 +00:00
Jared Boone
1b7ef4212d
PortaPack: Show RX/TX "waves" when radio is operating.
2019-03-22 10:14:34 -07:00
Jared Boone
f0a45e3f0e
PortaPack: Change initial UI radio topology to match boot state.
...
So the RX amp isn't rendered for a moment at power-up.
2019-03-21 11:16:06 -07:00
Jared Boone
6e5b31d579
PortaPack: Add display of clock reference source.
2019-03-20 20:18:49 -07:00
Jared Boone
190c3972f4
Clock reference: Add UI hook. Simplify selection code.
2019-03-20 20:18:25 -07:00
Jared Boone
a535a9bb6b
PortaPack: Clear the baseband RX gain label on TX.
2019-03-20 19:09:10 -07:00
Jared Boone
78e27001aa
PortaPack: Make label-drawing functions take a label enum.
2019-03-20 19:08:44 -07:00
Jared Boone
84463eb0e1
PortaPack: Improve speed of frequency rendering.
...
To reduce impact on hackrf_sweep speed.
2019-03-20 16:33:32 -07:00
Jared Boone
ddec31c0a2
PortaPack: Double draw speed of UI, which was impacting hackrf_sweep.
2019-03-20 16:01:49 -07:00
Jared Boone
b4d8ee678e
PortaPack: Lots of clean-up
...
Perform PortaPack initialization separately from and earlier than UI initialization. Track if PortaPack was detected, provide (mostly useless) pointer if so. Put "weak" declarations into respective headers. Moving #includes around.
2019-03-20 10:46:46 -07:00
Jared Boone
c5e9b55b14
PortaPack: Refactor general UI functions into separate PortaPack API.
2019-03-18 21:52:23 -07:00
Jared Boone
5df5ec1094
PortaPack: Hide UI types that don't need to be exposed.
2019-03-18 15:11:34 -07:00
Jared Boone
12bb516cc0
PortaPack: Extract non-UI code into separate portapack.[ch] module.
...
I'll be adding some non-UI API functions to the top-level PortaPack structure.
2019-03-18 15:09:11 -07:00
Jared Boone
8bc8bc13f0
PortaPack: Remove conditional PortaPack code.
...
TODO: DFU mode returns. I fear HackRF mode in PortaPack/HAVOC will not work.
2019-03-02 14:23:06 -08:00
Jared Boone
c32d57158a
PortaPack: Remove weak UI functions, detect and return UI function table.
...
TODO: Side effect was that now blinky has a lot of unreasonable dependencies.
TODO: rad1o breakage is likely...
2019-03-02 14:23:06 -08:00
Jared Boone
36cca31260
UI: Move ui_portapack.* to common.
...
Otherwise blinky won't build.
TODO: Tried to tease apart all the dependencies to get blinky to build without, but it's such a twisted knot...
2019-03-02 14:23:06 -08:00
Jared Boone
499ac3ad4a
PortaPack: Move UI code to hackrf_usb project.
...
Was in common/ and in the common CMake file, which meant it was being included in the blinky project, which was unnecessary.
2019-01-31 09:37:48 +00:00
Jared Boone
7b86403ce8
PortaPack: If hardware not detected, try to init OperaCake.
2019-01-31 09:24:59 +00:00
Jared Boone
07f370bfba
PortaPack: Silence warnings about unused functions/variables I'm liable to use soon.
...
I don't like the __attribute__((unused)) markup, but woud rather not delete or comment out the code.
2019-01-09 15:48:59 -08:00
Jared Boone
e87b3f4fea
PortaPack: Address some unused variable/function warnings.
2019-01-09 15:30:24 -08:00
Jared Boone
46ba0512d4
PortaPack: Remove noisy, extraneous "+" for amplifier gain labels, add space before "dB".
2019-01-02 09:37:43 -08:00
Jared Boone
c477317408
PortaPack: Improve baseband filter frequency label readability.
2019-01-02 09:35:15 -08:00
Jared Boone
a2902d7d3a
PortaPack: Hide first-IF mixer icon when bypassed.
2018-12-31 14:58:10 -08:00
Jared Boone
d0681933e6
PortaPack: Update TX gain label.
...
Turns out the HackRF code refers to MAX2837 TX VGA gain, which is mis-labeled as a baseband setting. It's actually in the IF portion of the TX path.
2018-12-31 14:47:42 -08:00
Jared Boone
bb059ddfa7
PortaPack: Store LNA state for use when radio path direction changes.
2018-12-31 14:22:49 -08:00
Jared Boone
fd65f35872
PortaPack: Draw gain value for LNA.
2018-12-31 14:22:22 -08:00
Jared Boone
9cce90b02e
PortaPack: Define draw-dB function earier so it can be used for LNA.
2018-12-31 14:21:47 -08:00
Jared Boone
1775c44b79
PortaPack: Don't draw sample rate.
...
It looks ugly, needs fixing.
2018-12-31 14:21:08 -08:00
Jared Boone
c09f76a92c
PortaPack: Consolidate color palette.
2018-12-31 14:07:39 -08:00
Jared Boone
53b1250061
PortaPack: Fix integer rendering so a 0 value doesn't show up as an empty string.
2018-12-31 10:59:40 -08:00
Jared Boone
de3f5a0e9f
PortaPack: Add string draw fn, +dB draw fn.
2018-12-31 10:47:18 -08:00
Jared Boone
494f203f8d
PortaPack: Clean up tuning frequency rendering, add spaces per 3-digit group for readability.
2018-12-31 10:36:17 -08:00
Jared Boone
f60b2479fb
JTAG: Restore CPLD pin config functions, leave pins in pull-only state when not actively operating.
2018-12-31 10:12:28 -08:00
Jared Boone
b35ec285b6
PortaPack UI: Miscellaneous clean-up
...
Remove "portapack" arg to many static functions, no idea why I thought that was necessary.
Add PortaPack presence detect function using JTAG.
Create a "hackrf_ui_t" type that has function pointers to a specific UI implementation, returned by a UI detection function.
2018-12-27 21:11:00 -08:00
Jared Boone
ccc86aad14
Add support for PortaPack user interface add-on board.
2018-08-01 21:05:10 -07:00