Jared Boone
23c340abb2
MAX V: Add shift_dr() for testing.
2017-07-18 10:53:43 -07:00
Jared Boone
963579d82a
AK4951: Adjust initial microphone gain.
2017-07-18 10:53:08 -07:00
Jared Boone
62b1a82b6b
Doc: Fix incorrect comment about MCU->CPLD pin functions.
2017-07-17 16:41:02 -07:00
Jared Boone
1b9a569022
SDC: Adjust clock/data timing and output drive to match SD specs, measurements.
2017-07-17 16:38:31 -07:00
Jared Boone
47cc88d1e1
ILI9341: Tidy scroll types, use height().
2017-06-19 16:31:54 -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
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
600dcb734e
AK4951: Initial commit.
2017-05-31 11:45:54 -07:00
Jared Boone
bec626e29f
WM8731: Add Codec abstraction.
2017-05-31 11:42:12 -07:00
Jared Boone
37c058354e
WM8731: Add method to detect codec is present.
...
Used to determine PortaPack hardware version.
2017-05-31 11:34:16 -07:00
Jared Boone
8f5555b052
WM8731: Store headphone volume for mute() function.
...
So when unmuted, previous volume can be restored.
2017-05-31 11:32:32 -07:00
Jared Boone
f6e1e78e8a
WM8731: Return bool from reset() and low-level write()s.
2017-05-31 11:28:00 -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
556085b3e3
I2S: Enable TX_WS output pin's input buffer.
...
This permits receipt of TX_WS as RX_WS for the receive side of the I2S peripheral, and was why I got no RX samples when testing microphone input.
2017-05-22 14:20:49 -07:00
Jared Boone
dd0048db8d
Remove broken simd32_t type.
2017-05-03 09:58:07 +01:00
Jared Boone
19e42196db
Fn for control of audio codec reset signal.
2017-05-01 10:37:49 +01:00
Jared Boone
b12f90ef08
Adjust initial CPLD io_reg value for new CPLD code.
2017-05-01 10:34:33 +01:00
Jared Boone
05eb694c0a
Introduce simd32_t type.
...
Discontinue use of disagreeable __SIMD #define.
2017-01-06 16:57:36 -08:00
Jared Boone
177d49b769
GPIO: Fix for incorrect pin-funciton bit mask.
...
Caused device to not boot. Oops.
2017-01-06 14:22:27 -08:00
Jared Boone
87383d735c
C++14: Decommission my own make_unique.
2017-01-05 17:14:07 -08:00
Jared Boone
0d1e48ae9c
C++14: Add two-argument delete() implementations.
...
Just passing to one-argument versions.
2017-01-05 17:13:03 -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
01cd8c7776
GPIO: Fix PinConfig -> uint16_t type conversion signature.
2016-12-21 22:24:07 -08:00
Jared Boone
ad9a63a666
GPIO: Fix apparent dumb bit-logic bug.
...
Not due to any observable incorrect behavior, but just noticing that the code, as previously written, should not work...
2016-12-21 22:20:28 -08:00
Jared Boone
f2dd6827ea
Add Widget::parent_rect() accessor, rename member variable.
...
Some day I will settle on a convention for naming members... I think that day is near.
2016-12-06 09:28:48 -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
227719ff1d
Fix static_cast warning.
2016-11-28 12:05:24 -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
Jared Boone
cd31ae86d7
Add single-arg constructor for vec2_s16.
2016-11-26 16:42:03 -08:00
Jared Boone
a33476259e
Create buffer.cpp, reduce #include dependencies and impl leakage.
2016-10-24 11:16:48 -07:00
Jared Boone
5dfb53263a
Extract BufferExchange, simplify threading.
2016-10-06 13:38:56 -07:00
Jared Boone
414dd41577
Allow modification of StreamBuffer (data values, size).
2016-10-04 09:15:19 -07:00
Jared Boone
df0fc30fda
Rect: Comment about a bad API method.
...
In retrospect, I don't like Rect + Rect = union -- it doesn't make as much sense and isn't as readable as Rect.union(Rect).
2016-09-07 22:19:30 -07:00
Jared Boone
f722497b01
Rect: operator method to offset by a Point.
2016-09-07 22:18:11 -07:00
Jared Boone
09222f0044
Widget/View: Consolidate dirty code inside Widget.
2016-09-05 15:04:28 -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
5d2ad9c1aa
SGPIO: Use pin constants when changing output enables.
2016-08-30 21:33:44 -07:00
Jared Boone
00c7cdf027
CPLD: Always clock SGPIO data on external clock rising edge.
2016-08-30 21:30:03 -07:00
Jared Boone
f0c4b0fc98
AIS: Doesn't use RRC filter -- use rect instead.
2016-08-29 20:47:37 -07:00
Jared Boone
e2fe4b65d9
CPLD: Set DECIM1 as input to CPLD.
...
How did DECIM work before?! Now, decimate is no longer a feature, so this doesn't really matter. But tidying it up anyway.
2016-08-23 10:30:05 -07:00
Jared Boone
f7bfde73b6
FatFs: Enable long file name support.
...
Lots of re-plumbing to make this work, including a bunch of Unicode stuff now in the binary. Bloat City, I'm sure.
TODO: FatFs using unsigned (uint16_t) for UTF16 representation is kinda inconvenient. Lots of reinterpret_cast<>().
2016-08-21 18:06:39 -07:00
Jared Boone
77016b9a40
Rename CPLD "Q_INVERT" to signal to "INVERT".
...
Don't expose detail in name about how the task is accomplished.
2016-08-21 11:35:40 -07:00