Jared Boone
|
5fc1bde6bd
|
CMake: Switch to C++17, because it's 2018, and I'm a modern man.
|
2018-08-05 14:11:08 -07:00 |
|
Jared Boone
|
f726a54f25
|
Fix whitespace to match furrtek/portapack-havoc.
|
2017-08-09 17:08:30 -07:00 |
|
Jared Boone
|
b147aee30a
|
Fix typos committed to furrtek/havoc repo.
Thanks, furrtek!
|
2017-08-09 16:40:08 -07:00 |
|
Jared Boone
|
2033967dc6
|
RegistersWidget: Fix type warnings.
|
2017-08-08 10:33:55 -07:00 |
|
Jared Boone
|
22fc6756c6
|
Audio: Init codec after initializing I2S interface.
|
2017-08-06 14:51:10 -07:00 |
|
Jared Boone
|
fe7cc1e23f
|
Audio: Add I2S mode for TX external SCK/WS.
|
2017-08-06 14:23:19 -07:00 |
|
Jared Boone
|
f0fb4cb369
|
I2S: Change RXMODE[1:0] to idle bit rate divider.
No change in function, but *may* result in tiny reduction in power and noise? Not tested.
|
2017-08-06 11:20:51 -07:00 |
|
Jared Boone
|
e59e983e29
|
I2S: Rename configuration structs to reflect interface modes.
|
2017-08-06 11:17:38 -07:00 |
|
Jared Boone
|
49252dc1bc
|
LPC43xx: Add CREG6 struct definition. Add I2S CREG6 configuration.
|
2017-08-06 11:16:57 -07:00 |
|
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
|
751ae92509
|
CPLD: Switch sense of LCD_RD/WR pins.
Should keep CPLD settled when in HackRF mode.
|
2017-07-20 16:33:55 -07:00 |
|
Jared Boone
|
ddd951f2d8
|
Power: Restore peripheral clocks when starting HackRF firmware.
HackRF firmware assumes state specified in user manual, where all(?) peripheral clocks are enabled.
|
2017-07-18 21:47:04 -07:00 |
|
Jared Boone
|
aa189a3462
|
Backlight: Add abstraction for support of different hardware.
|
2017-07-18 21:29:32 -07:00 |
|
Jared Boone
|
e695d496c5
|
portapack.hpp: Add missing #pragma once
|
2017-07-18 21:04:29 -07:00 |
|
Jared Boone
|
c74dcbb9ba
|
Power: Turn off unused peripheral clocks.
Dropped power consumption by 42mA at VBUS -- ~200mW.
|
2017-07-18 17:04:04 -07:00 |
|
Jared Boone
|
c5230387df
|
OS: Disable drivers for unused peripherals.
|
2017-07-18 15:50:00 -07:00 |
|
Jared Boone
|
bf7f5d2567
|
IRQ: Make handlers more independent of EventDispatcher.
EventDispatcher is such a hairball...
|
2017-06-19 16:31:54 -07:00 |
|
Jared Boone
|
748e5a4f5f
|
Init: Boot to HackRF mode if PortaPack CPLD not found.
Worst case, customers can always pull off the PortaPack to get back to a working HackRF.
|
2017-06-13 22:16:00 -07:00 |
|
Jared Boone
|
e85fb47a49
|
Extract function that returns audio codec based on hardware revision.
|
2017-06-02 22:24:15 -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
|
dd0c009e6f
|
CPLD: Stop generating HackRF CPLD .hpp file.
|
2017-06-02 21:55:35 -07:00 |
|
Jared Boone
|
3d06941129
|
Move CPLD filres to common/
...for imminent refactoring.
|
2017-06-02 17:13:41 -07:00 |
|
Jared Boone
|
fe687b93a2
|
CPLD: Extract decision about which CPLD config to use.
...based on hardware revision.
|
2017-06-02 17:05:41 -07:00 |
|
Jared Boone
|
a3483a8394
|
CPLD: Introduce Config type to clean up programming interface.
Hide the details of how the CPLD data is stored.
|
2017-06-02 16:54:24 -07:00 |
|
Jared Boone
|
797e63a590
|
CPLD: Use correct bitstream for updating hardware.
Determine hardware version and use one of two CPLD bitstream files.
|
2017-05-31 22:28:07 -07:00 |
|
Jared Boone
|
0fd52a7483
|
CPLD: Move HDL project to hardware revision-specific directory.
|
2017-05-31 11:50:59 -07:00 |
|
Jared Boone
|
4332bc763e
|
Audio: Use correct codec based on hardware revision.
|
2017-05-31 11:48:03 -07:00 |
|
Jared Boone
|
6e5549f127
|
Add hardware revision detection function.
|
2017-05-31 11:47:13 -07:00 |
|
Jared Boone
|
395e3b1736
|
Audio: Add input namespace and functions.
|
2017-05-31 11:43:45 -07:00 |
|
Jared Boone
|
bec626e29f
|
WM8731: Add Codec abstraction.
|
2017-05-31 11:42:12 -07:00 |
|
Jared Boone
|
da4bee6cc6
|
Audio: Introduce Codec abstraction.
Now that we have two hardware variants with different audio codecs.
|
2017-05-31 11:21:51 -07:00 |
|
Jared Boone
|
5da64ab069
|
Modify registers widget to simplify configuration.
Now specify number of registers and register bits, and the widget figures out the rest.
|
2017-05-31 11:12:56 -07:00 |
|
Jared Boone
|
b3ee884f16
|
I2S RX: Set RX SDA pin to correct SCUMUX mode.
It's left in GPIO mode ordinarily, because of CPLD programming earlier in boot-up.
|
2017-05-26 16:50:34 -07:00 |
|
Jared Boone
|
6ef8b19bf1
|
Move some GPDMA configuration to application processor.
|
2017-05-24 15:42:44 -07:00 |
|
Jared Boone
|
a65fe3315c
|
FatFs: Update to release R0.12c.
|
2017-05-03 12:43:45 +01:00 |
|
Jared Boone
|
85712a2c5f
|
FatFs: Update to release R0.12b.
|
2017-05-03 12:35:19 +01:00 |
|
Jared Boone
|
018d8ee952
|
Init PortaPack IO after CPLD update.
|
2017-05-02 06:45:23 +01:00 |
|
Jared Boone
|
d6e3cc1d1b
|
Move CPLD updating to earlier in start-up
Make sure CPLD code is up-to-date before attempting to interact with PortaPack.
|
2017-05-02 06:44:50 +01:00 |
|
Jared Boone
|
17ba51d7eb
|
Move PortaPack IO init to earlier -- with other IO init.
Was causing trouble with performing audio codec reset.
|
2017-05-01 10:33:16 +01:00 |
|
Jared Boone
|
e763592adb
|
Compile firmware as C++14.
|
2017-01-05 17:15:00 -08:00 |
|
Jared Boone
|
a22dc150bc
|
C++14: make some wrapper classes static.
Also address GCC 6.2 not allowing constexpr from reinterpret_cast<> values.
|
2017-01-05 17:10:00 -08:00 |
|
Jared Boone
|
0ea2f9650e
|
C++14: const all the methods!
|
2017-01-05 17:06:44 -08:00 |
|
Jared Boone
|
431aae333a
|
Move additional FR_* error values to file.hpp for public use.
|
2016-12-06 09:34:45 -08:00 |
|
Jared Boone
|
3f94591083
|
Remove a lot of static_cast<>s involving UI structs.
Also starting to get religion on using unsigned integers only when I want their wrapping/modulus behavior.
|
2016-11-29 10:13:56 -08:00 |
|
Jared Boone
|
86d2576d3e
|
Fix types on touch Filter accumulator/value.
|
2016-11-28 12:00:56 -08:00 |
|
Jared Boone
|
e820bed097
|
Hide ui::Rect implementation.
|
2016-11-28 11:25:27 -08:00 |
|
Jared Boone
|
d15ace4676
|
Hide ui::Size implementation.
|
2016-11-28 10:55:45 -08:00 |
|
Jared Boone
|
aac2d31548
|
Hide ui::Point implementation.
|
2016-11-28 10:39:10 -08:00 |
|
Jared Boone
|
46b3d9d087
|
Disallow copy constructors/assignments.
For classes containing pointers/state that should not be copied.
|
2016-11-26 16:52:57 -08:00 |
|
Jared Boone
|
4eb0facacb
|
Add lots of value constructors.
|
2016-11-26 16:50:44 -08:00 |
|