2337 Commits

Author SHA1 Message Date
Jared Boone
891eaa9e62 Clock reference: Return enum for selected clock source. 2019-03-20 14:38:18 -07:00
Jared Boone
2531d486f9 Merge branch 'hygiene_again' into develop 2019-03-20 14:28:12 -07:00
Jared Boone
dccb748216 PortaPack: Add check for PortaPack clock reference, use if present.
Wow, it takes a lot of ugly code to keep blinky happy...
2019-03-20 13:27:20 -07:00
Jared Boone
46fd11af5b Si5351C: Extract best block source function into hackrf_core.
It's not an Si5351C driver thing, but a HackRF thing. Also added a driver function to check if CLKIN signal is valid, and made use of it, instead of opaque register read code.
2019-03-20 11:16:44 -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
af66a7c076 PortaPack: Add reference oscillator control function. 2019-03-19 10:04:08 -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
eae870d9eb Merge branch 'hygiene_again' 2019-03-10 13:02:45 -07:00
Jared Boone
6bcd994e9e CPLD: Add output for PortaPack C++ CPLD data. 2019-03-10 12:56:29 -07:00
Jared Boone
b8f255356c CPLD: Change tool interface to accept --xsvf and --hackrf-data args.
More args coming shortly...
2019-03-10 12:22:51 -07:00
Jared Boone
16fab90d4f CPLD: Line endings oops. 2019-03-10 12:20:14 -07:00
Jared Boone
1c7bf39bda Merge branch 'develop' 2019-03-09 16:36:38 -08:00
Jared Boone
88dd1b2ad4 CPLD: Output row address table to C file, use it in program/verify code. 2019-03-09 16:35:10 -08:00
Jared Boone
16d36c54aa CPLD: Extract row addresses so I can output to C file. 2019-03-09 16:34:14 -08:00
Jared Boone
5876fc9121 CPLD: Remove SVF file I'd intended to use in PortaPack...
The situation's changed.
2019-03-09 15:25:53 -08:00
Dominic Spill
509c8f4c91 Allow building from both firmware/build/ and firmware/hackrf_usb/build 2019-03-07 15:07:56 -07:00
Dominic Spill
4fcfbec96a Merge pull request #601 from jboone/hygiene
rad1o: Remove extra(?) SCU setup. Cut & paste oops?
2019-03-06 17:32:35 -07:00
Dominic Spill
42c1a46bb3 Fix mismatched ifdefs of my making 2019-03-06 17:17:20 -07:00
Dominic Spill
aa79b48028 Merge pull request #600 from jboone/cpld_sram_load
CPLD SRAM loading
2019-03-06 17:00:16 -07:00
Dominic Spill
e27038a098 Merge branch 'master' into cpld_sram_load 2019-03-04 12:40:14 +00:00
Dominic Spill
19f073fc5a Merge branch 'master' into hygiene 2019-03-03 22:29:12 +00:00
Dominic Spill
a4c1ab65c6 Merge pull request #602 from jboone/ui_restructuring
PortaPack and rad1o Ui restructuring, take 2
2019-03-03 22:27:57 +00:00
Dominic Spill
15cb333588 Merge pull request #593 from dominicgs/remove_invalid_ppl_settings
Remove PLL1 low speed settings (it's out of spec)
2019-03-03 22:26:50 +00:00
Dominic Spill
2cc004173e Merge pull request #604 from jboone/ci_tweaks
CI tweaks
2019-03-03 19:55:36 +00:00
Jared Boone
3af95903bc UI: No UI if not HackRF One or rad1o.
This was breaking BOARD=JAWBREAKER builds.
2019-03-02 22:46:21 -08:00
Jared Boone
5b5d82be56 Build rad1o UI wrapper to patch the portapack one
Also, fix building of blinky.
2019-03-02 21:12:31 -08:00
Jared Boone
f259c9aad6 PortaPack: Add HackRF One gates for PortaPack JTAG and OperaCake code.
I think these #defines might finally be the right shape...
2019-03-02 20:43:19 -08:00
Jared Boone
24fe561f3b rad1o: Remove extra(?) SCU setup. Cut & paste oops? 2019-03-02 14:23:36 -08:00
Jared Boone
4fefd829ba CMake: Fix blinky and rad1o dependencies and PortaPack-related breakage. 2019-03-02 14:23:06 -08: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
9ba4e50ee1 CPLD tool: Fix --checksum breakage. 2019-03-02 14:19:21 -08:00
Jared Boone
057b9273d5 CPLD tool: Rename to cpld_bitstream.py 2019-03-02 14:19:21 -08:00
Jared Boone
75adda314e LED: Refactor halt function from CPLD update to core API.
Also call if CPLD load fails.
2019-03-02 14:19:21 -08:00
Jared Boone
afb55e18dd CPLD: Load bitstream to SRAM at start-up. 2019-03-02 14:19:21 -08:00
Jared Boone
e7424dfcdc CPLD tool: Tweaks to produce cleaner program and verify structs. 2019-03-02 14:18:29 -08:00
Jared Boone
a04ed17a65 CPLD tool: Ignore .pyc files that get pooped out with firmware tools. 2019-03-02 14:18:29 -08:00
Jared Boone
9aa3a78d78 CPLD tool: Add code generation, more bitstream checks.
Code is now generated from programming block, checked against verify block, and also provides mask for verification process.
2019-03-02 14:18:29 -08:00
Jared Boone
f70186644c CPLD tool: Add checksum and code generation mode flags. 2019-03-02 14:18:29 -08:00
Jared Boone
5695f29c8d CPLD tool: Add arguments help. 2019-03-02 14:18:29 -08:00
Jared Boone
0b4c714e0d CPLD tool: Remove commented code. 2019-03-02 14:18:29 -08:00
Jared Boone
30cd9586de CPLD tool: Flag to use crcmod library. 2019-03-02 14:18:29 -08:00
Jared Boone
fd1e5e77bf CPLD tool: Move imports to smallest scopes. 2019-03-02 14:18:29 -08:00
Jared Boone
20975e9313 CPLD: Tool argument parsing. 2019-03-02 14:18:29 -08:00
Jared Boone
d60389445d CPLD: Extract library code from CRC tool. 2019-03-02 14:18:29 -08:00
Jared Boone
257dbc749f CPLD: Checksum tool. 2019-03-02 14:18:29 -08:00
Jared Boone
21c26d19e3 deploy-nightly: rename REPO and URL with ARTEFACT_ prefix. 2019-03-02 14:18:08 -08:00