643 Commits

Author SHA1 Message Date
Jared Boone
466c674248 W25Q80BV: Un-const data argument to program function. 2014-11-10 16:46:21 -08:00
Jared Boone
5a77d196ea W25Q80BV: Separate structures into algorithm and hardware access layers.
Also extract #define constants for W25Q80BV into driver structure. Driver could eventually extend to other devices.
2014-11-10 16:46:12 -08:00
Jared Boone
2dd0283549 W25Q80BV: Make flash command details private. 2014-11-10 16:46:00 -08:00
Jared Boone
7639ef0e3e W25Q80BV: De-singleton the driver. 2014-11-10 16:45:44 -08:00
Jared Boone
4ac2be5304 W25Q80BV: Extract hardware-specific code into separate layer.
Conflicts:
	firmware/hackrf_usb/Makefile
2014-11-10 16:45:23 -08:00
Jared Boone
d55bd529e2 RFFC507x: De-singleton the driver code. 2014-11-10 16:42:08 -08:00
Jared Boone
0c69d0a7f7 RFFC5071: Separate hardware-specific code.
Conflicts:
	firmware/CMakeLists.txt
	firmware/hackrf_usb/Makefile
	firmware/mixertx/Makefile
	firmware/sgpio/CMakeLists.txt
	firmware/simpletx/Makefile
	firmware/spiflash/CMakeLists.txt
	firmware/startup/Makefile
	firmware/startup_systick/Makefile
	firmware/startup_systick_perfo/Makefile
2014-11-10 16:41:51 -08:00
Jared Boone
453f622b74 MAX2837: De-singleton the driver.
Conflicts:
	firmware/common/hackrf_core.c
	firmware/common/hackrf_core.h
2014-11-10 16:37:34 -08:00
Jared Boone
4f3cae2e41 MAX2837: Extract hardware/bus dependent stuff into separate layer.
Conflicts:
	firmware/CMakeLists.txt
	firmware/hackrf_usb/Makefile
	firmware/mixertx/Makefile
	firmware/sgpio/CMakeLists.txt
	firmware/simpletx/Makefile
	firmware/spiflash/CMakeLists.txt
	firmware/startup/Makefile
	firmware/startup_systick/Makefile
	firmware/startup_systick_perfo/Makefile
2014-11-10 16:33:00 -08:00
Jared Boone
3bc41f1480 Si5351C: Un-singleton the high- and low-level drivers. Proper. 2014-11-10 16:27:35 -08:00
Jared Boone
0bf84d974e Si5351C: Extract low-level driver code. 2014-11-10 16:27:09 -08:00
Jared Boone
256d6ccef0 Re-scope buffer[] to solve unread array warning. 2014-11-10 11:19:50 -08:00
Jared Boone
e3a841ca24 XSVF: Fix apparent #ifdef scope bug in xsvfDoXCOMMENT() where comments aren't truly ignored. 2014-11-10 11:16:39 -08:00
Jared Boone
75d194e48b Quiet warning about unused arg in xsvfInfoCleanup(). 2014-11-10 11:15:01 -08:00
Jared Boone
9bf640895f Quiet warning about unused args in cpld_buffer_refilled(). 2014-11-10 11:11:49 -08:00
Jared Boone
572fe32393 Add #include to address "sgpio_cpld_stream_rx_set_q_invert" warning. 2014-11-10 11:10:18 -08:00
Michael Ossmann
f4d7102115 Merge pull request #149 from jboone/hotfix_rffc5071_dirty_read
RFFC5071: Fix to read value from device when register marked dirty.
2014-11-04 23:36:15 -07:00
Michael Ossmann
018db52f11 Merge pull request #148 from jboone/hotfix_max2837_dirty_read
MAX2837: Fix register read when dirty
2014-11-04 23:35:57 -07:00
Michael Ossmann
dcffe7173f Revert "Merge pull request #132 from bgamari/update-libopencm3"
This reverts commit cbe69b3d0b0828e25850e9f3432848d99ec0865d, reversing
changes made to 2f2ca2e630651d97d385d9044149f2f13dd28d05.

I shouldn't have merged that ancient pull request that somehow was
reopened.
2014-11-04 23:25:55 -07:00
Michael Ossmann
cbe69b3d0b Merge pull request #132 from bgamari/update-libopencm3
Update libopencm3
2014-11-04 18:02:39 -07:00
Michael Ossmann
dbf43bb06b resolved conflicts and merged jboone:firmware_cmake 2014-11-04 17:53:42 -07:00
Jared Boone
c5d52b6537 RFFC5071: Fix to read value from device when register marked dirty. 2014-11-04 12:48:42 -08:00
Jared Boone
c623e20fae MAX2837: Fix register read when dirty
Regardless of the dirty state of a register, the locally modified (but possibly uncommitted) value will always be returned.
2014-11-04 11:36:53 -08:00
Michael Ossmann
69c4997727 fixed bug #130, CLKIN failure 2014-08-28 11:34:30 -06:00
Ben Gamari
ac16a093fc Update libopencm3 2014-08-26 11:22:10 -04:00
Michael Ossmann
635d429a9a DFU instructions update 2014-08-21 22:15:32 -06:00
Jared Boone
a380713fdd CPLD: Separate RX and TX invert, fix TX invert sense. 2014-08-20 08:38:27 -07:00
Jared Boone
b2f92665ea CPLD: Fix whitespace. 2014-08-20 08:22:47 -07:00
Jared Boone
ad403fb370 CPLD: Add TX Q invert mechanism. 2014-08-16 17:15:13 -07:00
Michael Ossmann
c8742572db high-side injection for tuning below 2150 MHz (known bug: baseband spectrum is inverted on TX) 2014-08-15 07:49:13 -06:00
Michael Ossmann
19bb8bfb5f Merge pull request #121 from jboone/cleanup_201408
Miscellaneous clean-up
2014-08-11 21:34:51 -06:00
Jared Boone
cd5f0bbb91 Qualify "program" firmware make target to eliminate multiple-definition errors when making entire set of firmware. 2014-08-11 16:44:07 -07:00
Jared Boone
9e95d235b4 Create separate CMake toolchain file. Add references to toolchain file in each firmware CMakeLists.txt. I suspect this can be simpler still, just not sure how, yet... 2014-08-11 16:43:58 -07:00
Jared Boone
4ca1db25a4 Reinstate V=1 make option to see what sections were removed during linking. 2014-08-11 16:43:47 -07:00
Jared Boone
2a7ed069c7 Firmware build system is now CMake, and seems much more sane on the whole. 2014-08-11 16:37:14 -07:00
Jared Boone
245aa1f11e Do not configure BOOT[3:0] pins in SCU, as they should be idle/input/hi-Z on HackRF. 2014-08-11 16:09:50 -07:00
Jared Boone
16709505fc USB0 and USB1 LEDs are only on Jellybean and Jawbreaker. 2014-08-11 16:09:37 -07:00
Jared Boone
54ef8c19cf Add HackRF One RF power enable for samples that RX or TX. 2014-08-11 16:08:51 -07:00
Jared Boone
2538785165 Replace GPIO control of 1V8 supply with official function enable_1v8_power(). 2014-08-11 16:08:30 -07:00
Jared Boone
fe9b4b8ca8 Remove RF power enable from blinky -- it's not necessary. 2014-08-11 16:08:18 -07:00
Jared Boone
2abdebfb2a Add parentheses to silence ambiguous expression warning. 2014-08-11 16:08:08 -07:00
Jared Boone
739dc1acd9 Add GCC "used" attribute to prevent hard_fault_handler_c() from being removed. It trips up -flto. 2014-08-11 16:07:59 -07:00
Jared Boone
9b435f3b7e Configure APB3 for appropriate clock sources during start-up. 2014-08-11 16:07:40 -07:00
Jared Boone
8e387e5489 CPLD: Update bitstream files with RX Q channel flip. 2014-08-11 13:02:14 -07:00
Jared Boone
422173a5f7 SGPIO: Add CPLD RX Q channel inversion, API to control. 2014-08-11 13:02:02 -07:00
Jared Boone
0ab6a92ae6 Change SGPIO CPLD decimation API interface to be one-based (decimation of 1 to 8). 2014-08-11 13:01:50 -07:00
Michael Ossmann
44df9d1f82 si5351c_activate_best_clock_source() when starting RX or TX 2014-07-01 15:21:36 -06:00
Michael Ossmann
f9c90f0d35 commented si5351c_activate_best_clock_source() trying to solve intermittent USB failures 2014-07-01 15:21:31 -06:00
Michael Ossmann
6bc917ae26 cpld/README 2014-04-24 10:42:25 -06:00
Michael Ossmann
2eaf0c40d9 firmware build instructions with BOARD= 2014-04-24 10:33:21 -06:00