Commit Graph

1685 Commits

Author SHA1 Message Date
Jared Boone
02aab9b4e2 Application main() refactoring to group relevant bits. 2015-08-14 15:52:11 -07:00
Jared Boone
1713c82841 Move ChibiOS init comments into Wiki. 2015-08-14 12:23:49 -07:00
Jared Boone
d855336985 Persist tuned frequency.
w00t!
2015-08-04 10:31:03 -07:00
Jared Boone
45d26abf10 Use correct memory region for persistent storage.
Turns out 0x10088000 - 0x10089fff is not the right place. It's 0x40041000, and is only 256 bytes!
Move PPM to correct place, change representation to PPB for finer control.
Reset PPB value to initial value if read value out of bounds.
Clip PPB value on write to permitted bounds.
Contributes to resolution of issue #11.
2015-08-04 10:03:18 -07:00
Jared Boone
985cbb874c Change default receiver frequency.
Remove comments.
2015-08-02 09:38:49 -07:00
Jared Boone
ddcb705a1e Default LNA to off. 2015-08-02 09:37:42 -07:00
Jared Boone
b70f1d9506 Move RSSI/baseband/audio bars to receiver mode.
Addresses issue #38.
Side effects: more room in receiver for fields and data. More room for global status indications in full bar of SystemStatusView.
2015-08-01 18:07:09 -07:00
Jared Boone
30d249df26 Remove dead code. 2015-08-01 15:20:44 -07:00
Jared Boone
e6a3cba14e Move HackRF firmware launch out of portapack::shutdown 2015-08-01 14:43:48 -07:00
Jared Boone
96babc3e84 Shut down LCD during PortaPack shutdown. 2015-08-01 14:40:05 -07:00
Jared Boone
b5802aadda Clean up HackRF firmware mode message. 2015-08-01 14:32:22 -07:00
Jared Boone
65d5f68bfb Move LCD display object to portapack namespace.
Globals are bad... Except in embedded development!
2015-08-01 14:31:51 -07:00
Jared Boone
fecbb7205e Menu item to launch HackRF firmware. 2015-08-01 13:46:15 -07:00
Jared Boone
8797aa9758 Stop audio PLL if shutting down GP_CLKIN clock source. 2015-08-01 13:45:52 -07:00
Jared Boone
bfc73a6675 Move update_peripheral_clocks
Incorrect order of operations would hang execution if switching to IRC.
2015-08-01 13:44:52 -07:00
Jared Boone
c025a2bba2 Code to shut down ClockManager-controlled devices. 2015-08-01 13:43:58 -07:00
Jared Boone
1d16cd8aac Consolidate peripheral declarations. 2015-08-01 13:42:27 -07:00
Jared Boone
b32f5e2239 Generalize method for executing SPI flash image in M4 RAM. 2015-07-30 09:41:33 -07:00
Jared Boone
d4c43044e0 Shuffle binaries in SPI flash image to insert HackRF firmware binary.
Bootstrap is now 64k @ 0x00000.
HackRF image is 64k @ 0x10000.
Baseband image is 128k @ 0x20000.
Application image is remainder of SPI flash, @ 0x40000.
2015-07-29 22:30:16 -07:00
Jared Boone
accf934a45 Remove vregmode debug field in receiver.
Resolves issue #37.
2015-07-29 16:19:18 -07:00
Jared Boone
67976b73ba UI plumbing for PPM adjust in receiver frequency options. 2015-07-29 16:09:00 -07:00
Jared Boone
9db54276c1 Expose reference PPM correction property on receiver model. 2015-07-29 15:59:05 -07:00
Clayton Smith
fd9bb13157 Add frequency correction to receiver screen (WIP). 2015-07-29 14:26:40 -07:00
Clayton Smith
3874c82d57 Store PPM in shared memory for now. 2015-07-29 14:26:40 -07:00
Clayton Smith
9dd41ed48d Add frequency correction (WIP). 2015-07-29 14:26:39 -07:00
Jared Boone
9a8552eaeb Draw spectrum frequency axis tick marks and labels.
Also removed horizontal separator bar, narrowed filter range band.
2015-07-20 21:55:51 -07:00
Jared Boone
6f2cbd1ac5 Partial refactor of channel filter frequency code.
Move channel filter frequency determination to baseband side, where the filtering is determined and performed.
Add useful accessor methods to BlockDecimator.
2015-07-18 16:49:40 -07:00
Jared Boone
ffc50785b7 specan: cleared up terminology, accounted for decimation.
Channel spectrum decimation now accounted for when computing filter frequencies.
Renamed a bunch of variables relating to channel spectrum bandwidth and filter frequencies.
2015-07-18 16:48:19 -07:00
Jared Boone
98bd9c54e4 Rework how spectrum and filter bandwidth is represented to UI.
Issue #13.
2015-07-18 16:46:59 -07:00
Jared Boone
e571ca7f1c Change reference initializations errors in GCC 4.8
Resolves issue #12.
2015-07-17 12:07:38 -07:00
Jared Boone
92ba4d7fea Fix line endings.
Addresses #21.
2015-07-17 10:55:54 -07:00
Jared Boone
154b40d3c9 Extract baseband stats into separate widget
Also removed baseband saturation indication on red (TX) LED. A saturation indicator needs to live somewhere else, and be thought out a bit more...
2015-07-09 11:53:10 -07:00
Jared Boone
7c9fc62f5e Move halt indication code to common place. 2015-07-08 16:28:57 -07:00
Jared Boone
f360c01ff3 Unify duplicated code between touch_adc.cpp and rssi.cpp.
Also remove comments and dead code.
2015-07-08 16:00:18 -07:00
Jared Boone
dc6fee8370 Initial firmware commit. 2015-07-08 08:39:24 -07:00