Commit Graph

1379 Commits

Author SHA1 Message Date
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
a335139f3a Merge branch 'travis_modernize' 2017-08-08 18:03:48 -07:00
Jared Boone
f030b163de Travis: Remove old CMake package installation.
Left over from Ubuntu Precise?
2017-08-08 17:58:39 -07:00
Jared Boone
39617f38bf TPMS: Remove unused variable.
May use again, so commented out.
2017-08-08 10:36:17 -07:00
Jared Boone
2033967dc6 RegistersWidget: Fix type warnings. 2017-08-08 10:33:55 -07:00
Jared Boone
74ecff13ad GCC: Fixed __SIMD32 type punning warnings.
With help from https://github.com/ARM-software/CMSIS_5/issues/98

Using void* makes me really queasy though!
2017-08-08 10:24:49 -07:00
Jared Boone
245dad6b05 Travis: Use GCC ARM Embedded PPA. 2017-08-06 22:49:05 -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
58e0432b56 I2S: Enable input buffer on SCK for LPC43xx slave mode. 2017-08-06 12:44:27 -07:00
Jared Boone
ac423ee769 Audio: Add codec config methods for external I2S master. 2017-08-06 12:43:39 -07:00
Jared Boone
6c3a1384fb WM8731: Extract interface configuration method. 2017-08-06 12:08:12 -07:00
Jared Boone
f0947a4917 AK4951: Separate/rename codec interface mode config methods. 2017-08-06 12:02:38 -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
e9895c1b11 IO: Enable input buffer on LCD_WRX.
Just for consistency. Other LCD interface pin states are read during interrupt.
2017-07-20 16:37:48 -07:00
Jared Boone
8916550e9e CPLD: Enable PCI_IO clamp, unnecessary for LCD_BACKLIGHT signal. 2017-07-20 16:35:17 -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
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