Commit Graph

1358 Commits

Author SHA1 Message Date
Jared Boone
8bc878c5e5 CPLD: Update 20150901 bitstream due to Makefile changes.
Not sure if any changes have actual significance, but...
2017-07-18 22:08:49 -07:00
Jared Boone
0d2e915b9c Travis: Update GCC to GCC 6, 2017q2 release. 2017-07-18 22:02:21 -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
1eb561ab45 LCD: Rename lcd_write_data_fast to lcd_write_data.
It's the only LCD write function!
2017-07-18 13:27:15 -07:00
Jared Boone
aa66c0b7f7 LCD: Consolidate read functions.
Faster function consumed by slower function, because faster function was failing during testing.
2017-07-18 13:23:16 -07:00
Jared Boone
2064689d46 IO: Remove out-of-date comment. 2017-07-18 13:17:10 -07:00
Jared Boone
030a0bcb0c IO: Add LCD write function for C arrays. 2017-07-18 13:16:41 -07:00
Jared Boone
bb194825ae ILI9341: Refactor sleep on/off, display on/off functions. 2017-07-18 13:13:13 -07:00
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
0bdf8b47ea CPLD: Remove "default" HackRF bitstream. 2017-07-18 10:46:26 -07:00
Jared Boone
2356b585d5 FatFs: Fix Makefiles to include unicode.c. 2017-07-18 10:37:29 -07:00
Jared Boone
f4744e651b CPLD: Match 20150901 constraints to newer project. 2017-07-17 16:50:26 -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
96c77252c1 Hardware: PCB layout for revision 20170522. 2017-06-19 16:31:54 -07:00
Jared Boone
259348259b Hardware: Schematic for PP H1 revision 20170522. 2017-06-19 16:31:54 -07:00
Jared Boone
1668d4ff7a Case: Make clearances on all sides of PCB into separate variables. 2017-06-19 16:31:54 -07:00
Jared Boone
b0f411f8a4 Case: Separate LED drill diameter into a "parameters" file variable. 2017-06-19 16:31:54 -07:00
Jared Boone
0117962a51 Case: Change board outline to add buffer for H1 LED diffuser. 2017-06-19 16:31:54 -07:00
Jared Boone
626835297b Case: Remove extra mounting hole from PortaPack model. 2017-06-19 16:31:54 -07:00
Jared Boone
a14f764665 CPLD: Update LCD thickness, expected lid thickness to 3/16".
Objective is to keep LCD face below plane of case top/lid.
2017-06-19 16:31:54 -07:00
Jared Boone
8b10fde116 Case: Update spacer height. 2017-06-19 16:31:54 -07:00
Jared Boone
3e8a3d8b9a Case: Clean up boss drills. 2017-06-19 16:31:54 -07:00
Jared Boone
b0b027d557 Case: Adjust feet emboss to match manufactured units. 2017-06-19 16:31:54 -07:00
Jared Boone
023a68ba1d Case: Remove two bosses in center and along side of PCB. 2017-06-19 16:31:54 -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
f4fdc21c20 PCB: Remove series resistors.
Not sure they're of much benefit.
2017-06-19 16:31:54 -07:00
Jared Boone
d1517702b7 PCB: Remove H1 (fifth hole). 2017-06-19 16:31:54 -07:00
Jared Boone
492a704e91 PCB: Interim revision number/date. 2017-06-19 16:31:54 -07:00
Jared Boone
47cc88d1e1 ILI9341: Tidy scroll types, use height(). 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
b3c21c3762 CPLD: Ask Quartus to use maximum number of processors. 2017-06-13 21:21:25 -07:00
Jared Boone
9a0fa128c0 CPLD: Clean up *.qws files. 2017-06-13 21:20:19 -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
76c2cc77af CPLD: Move around some .gitignores. 2017-06-01 15:20:16 -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
73d62367d1 CPLD: Makefiles for both hardware variants. 2017-05-31 21:05:47 -07:00
Jared Boone
7c715ed913 CPLD: HDL for 20170522 hardware variant. 2017-05-31 15:21:25 -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