Jared Boone
f2cabadf60
Review application initialization order.
...
Group related things together.
2015-08-14 22:28:28 -07:00
Jared Boone
49b91d9c5d
Move event loop into EventDispatcher.
2015-08-14 22:01:20 -07:00
Jared Boone
d5ebb9ef1e
Remove more dead code and comments.
2015-08-14 21:58:54 -07:00
Jared Boone
aa801ada60
Move code comments to project Wiki.
2015-08-14 21:54:03 -07:00
Jared Boone
b1a4418f06
Push more widget painting code into ui::Painter
...
Hide knowledge of damage tracking strategy.
2015-08-14 21:36:51 -07:00
Jared Boone
2ebb41c0e6
Remove dead, commented code.
2015-08-14 21:35:48 -07:00
Jared Boone
872c998ff1
Move widget tree painting to ui::Painter.
...
Still doesn't seem like the right place, but better than the event dispatcher!
2015-08-14 21:27:46 -07:00
Jared Boone
a9bb7c96e5
Move UI dirty tracking out of application main.cpp.
2015-08-14 21:17:23 -07:00
Jared Boone
fa465c14c4
Extract RTC interrupt handler into separate files.
2015-08-14 20:57:40 -07:00
Jared Boone
32312a6cfb
Can't use context() in ui::Widget constructor, move use elsewhere.
...
TODO: Seems like a design flaw to me... Either eliminate need for context(), or pass into constructors.
2015-08-14 17:52:29 -07:00
Jared Boone
a7226820d0
Hide implementation of MessageHandlerMap.
2015-08-14 17:31:23 -07:00
Jared Boone
2aa8ae0d1f
Move FSKPacket message handler to ReceiverView.
2015-08-14 16:46:32 -07:00
Jared Boone
c44357a16a
Remove dead, commented-out code.
2015-08-14 16:38:10 -07:00
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
4e0de9c4ad
Fix clock configuration for M4.
...
M0 launches baseband, so M4 clock can be set to PLL1. Provide a way to configure that per project, set to correct values for baseband project.
2015-08-14 12:21:49 -07:00
Jared Boone
66320c39d4
Restore missing halInit() call during M4 __late_init().
2015-08-14 12:20:45 -07:00
Jared Boone
14ada9e132
Push channel filter data into BasebandProcessor.
2015-08-04 16:48:15 -07:00
Jared Boone
caef87fe90
Refactor IIRBiquadFilter to separate configuration structure.
2015-08-04 15:00:38 -07:00
Jared Boone
76df4f0369
Extract magnitude_squared to utility.
2015-08-04 14:08:15 -07:00
Jared Boone
de0c884b67
Remove test code.
2015-08-04 13:52:04 -07:00
Jared Boone
eea589bd98
Extract stats collectors into separate files.
2015-08-04 12:03:30 -07:00
Jared Boone
efaf13d2d1
Extract complex16_mag_squared_to_dbv_norm to utility.
2015-08-04 12:03:10 -07:00
Jared Boone
d855336985
Persist tuned frequency.
...
w00t!
2015-08-04 10:31:03 -07:00
Jared Boone
4870f0015b
Extract PPB reset value to a constant.
...
Group with related constants.
2015-08-04 10:29:54 -07:00
Jared Boone
52ba9af1c7
Make persistent memory data_t types explicit.
...
I want the storage types to be reliable, separate from the interface types.
2015-08-04 10:29:10 -07:00
Jared Boone
11c786c4fb
Change set_correction_ppb argument to const.
2015-08-04 10:28:23 -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
255de16d3e
Use head/cat, /dev/zero to pad HackRF firmware
...
dd approach didn't work for at least one user. Resolves #42 .
2015-08-02 11:22:10 -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
fcec6d6100
OpenSCAD version of case.
...
Minor changes were made between this version and the final version. This earlier version is available via Shapeways, at https://www.shapeways.com/product/EGG3EWPAY/portapack-h1-case-round-20150410-0945
Addresses issue #30 .
2015-08-01 22:27:08 -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
6acce63a26
Merge pull request #39 from sharebrained/hackrf_firmware_boot
...
Hackrf firmware boot
2015-08-01 14:55:09 -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
98a1eb5c1c
Add LCD shutdown method.
...
Resets LCD controller, turns off backlight.
2015-08-01 14:36:27 -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
faad4ea053
Scripts to switch between PortaPack and HackRF firmwares.
...
Addresses issue #27 .
2015-07-31 11:37:11 -07:00
Jared Boone
8af8941687
Use from-RAM DFU image, proper HackRF firmware padding.
2015-07-30 10:02:05 -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
8eda862edc
Update hackrf_one_usb_ram.dfu to HackRF release 2015.07.2.
2015-07-29 22:21:35 -07:00