1638 Commits

Author SHA1 Message Date
Jared Boone
264ee53d47 SPI: Move SCU/pin config to target layers. 2014-11-10 17:00:25 -08:00
Jared Boone
21eb27c3f3 SSP0: Extract SPI interface from W25Q80BV code. 2014-11-10 17:00:15 -08:00
Jared Boone
79fd31d5d6 SSP1: Fix argument name to match SPI naming. 2014-11-10 17:00:06 -08:00
Jared Boone
b8421cc14f SSP1: Merge MAX2837 and MAX5864 SPI code to use single SPI interface.
Conflicts:
	firmware/common/hackrf_core.c
	firmware/common/hackrf_core.h
2014-11-10 16:59:47 -08:00
Jared Boone
58e3465ce5 W25Q80BV: Finish abstracting SPI code. 2014-11-10 16:55:22 -08:00
Jared Boone
20d6d5a5a2 MAX2837: Header clean-up. 2014-11-10 16:55:12 -08:00
Jared Boone
e6c02bea62 MAX5864: Abstract SPI, extract target code 2014-11-10 16:55:02 -08:00
Jared Boone
579f8212a6 MAX2837: Finish SPI abstraction.
Conflicts:
	firmware/common/hackrf_core.c
2014-11-10 16:54:46 -08:00
Jared Boone
58e7ef4171 MAX2837: Refactoring toward abstracted SPI.
Conflicts:
	firmware/common/hackrf_core.c
	firmware/common/hackrf_core.h
	firmware/common/tuning.c
2014-11-10 16:53:27 -08:00
Jared Boone
f034bc82ca RFFC5071: Further work abstracting SPI details out of driver. 2014-11-10 16:48:41 -08:00
Jared Boone
786a8fd2e1 RFFC5071: Rename rffc5071_drv->rffc5071_spi. 2014-11-10 16:48:31 -08:00
Jared Boone
69867bb637 RFFC5071: Further refactoring to create common SPI interface. 2014-11-10 16:48:09 -08:00
Jared Boone
487b8cc168 RFFC5071: Delay switching data direction until after target unselected. 2014-11-10 16:47:55 -08:00
Jared Boone
e1d1274523 RFFC5071: Refactor a bunch. 2014-11-10 16:47:45 -08:00
Jared Boone
55ed2c1aff RFFC5071: Remove debug/test code. 2014-11-10 16:47:34 -08:00
Jared Boone
e2c33aac88 MAX2837: Remove test code.
Hardware abstraction should make for easier test harnessing in the future.
2014-11-10 16:47:20 -08:00
Jared Boone
6668c2706b W25Q80BV: Consolidate API to perform entire transfers in one call. 2014-11-10 16:46:49 -08:00
Jared Boone
8edeaaa21e W25Q80BV: Move SPI functions to top of file, since they're static and used later. 2014-11-10 16:46:35 -08:00
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
Michael Ossmann
7e81647f0d Merge pull request #150 from jboone/hotfix_compiler_warnings_20141110
Hotfix compiler warnings 20141110
2014-11-10 16:53:14 -07: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
6935ad625f Merge pull request #140 from cottsay/lib-suffix-fix
fix lib suffixes in pkgconfig
2014-11-04 23:37:38 -07:00
Michael Ossmann
ecab042a3f Merge pull request #141 from cottsay/udev-install-dir
add CMake value to change udev rule destination
2014-11-04 23:37:03 -07: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
2f2ca2e630 Merge branch 'jboone-firmware_cmake' 2014-11-04 17:54:04 -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
bb9df8a12a Merge pull request #137 from xyb/py
update python examples
2014-09-25 22:35:53 -06:00
Scott K Logan
ea47fd4fbf add CMake value to change udev rule destination 2014-09-21 12:26:08 -05:00
Scott K Logan
c7116b4081 fixed lib suffixes in pkgconfig 2014-09-21 12:22:57 -05:00
xyb
2edd8faac3 try to find Jawbreaker and HackRF One 2014-09-06 23:00:22 +08:00
Michael Ossmann
69c4997727 fixed bug #130, CLKIN failure 2014-08-28 11:34:30 -06:00