Commit Graph

17 Commits

Author SHA1 Message Date
Jared Boone 80d96b08cf CPLD: Temporarily remove HackRF bitstream check UI.
It was poorly implemented and was confusing the hell out of people when their CPLD was showing "BAD", even though it was fine...
2017-08-05 12:02:14 -07:00
Jared Boone dec4e41189 CPLD: Organize CPLD code into namespaces.
Use type aliases to hide actual CPLD type (somewhat).
2017-06-02 21:57:13 -07:00
Jared Boone 9a01d59822 MenuView: Change add_items arg to initializer_list.
Another code size improvement, and makes maintaining lists of menu items less stupid (you don't need to change the template arg when the item count changes).
2016-09-05 15:20:50 -07:00
Jared Boone 8a69b0523e View::add_children: Use std::list_initializer as argument.
Improvement in code size -- 944 bytes.

Some day I will understand C++11 well enough to do the right thing the first time.
2016-09-05 14:53:04 -07:00
Jared Boone 24fa97439d Touch: Add touch configuration UI. 2016-07-27 14:15:21 -07:00
Jared Boone 3f3fe3bb67 JTAG: Report if HackRF CPLD bitstream matches released version.
TODO: Could be better reporting (CRC?), and could not pause while checking CPLD EEPROM, and could offer a means to program the bitstream if it doesn't match...
2016-07-17 15:56:24 -07:00
Jared Boone 740edc4d49 Remove PortaPack CPLD checksum display.
No point in calculating or showing, since full compare against desired bits is done at every startup -- way better than a CRC, and if it fails tries to program. If programming fails, the PortaPack panics and LED flashes.
2016-07-05 12:08:56 -07:00
Jared Boone 3172fb1ad6 Make assorted arguments pass-by-reference. 2016-02-06 16:23:20 -08:00
Jared Boone 60b8b38652 UI to turn on antenna bias voltage. 2016-01-23 11:32:10 -08:00
Jared Boone a340cbb74b Make NavigationView an implicit first argument to any instance pushed onto nav stack. 2015-12-14 11:18:59 -08:00
Jared Boone 97f29f8336 Clean up UI navigation push constructor scheme. 2015-12-14 10:22:42 -08:00
Jared Boone f99016d78f Tweak cast to C++ style. 2015-08-15 15:40:55 -07:00
Clayton Smith 25c2e612c0 Fix a narrowing conversion warning. 2015-08-15 17:56:30 -04: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
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 dc6fee8370 Initial firmware commit. 2015-07-08 08:39:24 -07:00