17 Commits

Author SHA1 Message Date
Jared Boone
5363ec3672 Use new GPIO API to abstract GPIO in various drivers.
Had to do it all at once due to name conflicts with API exposed in libopencm3.
Quite invasive patch! Also precipitated an LED API...
2014-11-15 16:26:59 -08:00
Jared Boone
e6c02bea62 MAX5864: Abstract SPI, extract target code 2014-11-10 16:55:02 -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
Michael Ossmann
dbf43bb06b resolved conflicts and merged jboone:firmware_cmake 2014-11-04 17:53:42 -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
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
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
574056c495 Fix long-standing example projects breakage due to tuning and SGPIO API and dependency changes. 2014-01-02 18:24:55 -08:00
Jared Boone
552dbe4a6d Add sgpio.c to C files, now required for pin initialization. 2013-11-20 15:23:26 -08:00
Jared Boone
72ee83eda9 Moving gpio_setup() / pin_setup() functions in separate projects to hackrf_core.h/c.
Moved enable_1v8_power() and release_cpld_jtag_pins() to hackrf_core.h/c.
2012-07-31 21:38:57 -07:00
Michael Ossmann
a784812100 updated require connections 2012-06-25 23:36:09 -06:00
Jared Boone
f08fc3bb51 Pulled SSP1 configuration for MAX2837 into hackrf_core. Added SSP1 configuration for MAX5864. Added #defines for manipulating CS of both MAX parts. Changed a couple of #define names to be consistent with other names. Added explicit manipulation of MAX2837 CS via GPIO. 2012-06-14 13:06:10 -07:00
Michael Ossmann
a47e3fd57d got simpletx working but note comment in max2837.c about one weird register 2012-06-11 22:53:06 -06:00
Michael Ossmann
d876ae7e86 max2837 and simpletx additions, still not quite working 2012-06-11 15:09:33 -06:00
Michael Ossmann
2af0859f87 typo fix 2012-06-11 11:20:47 -06:00
Michael Ossmann
5c6542d827 simpletx: test program to transmit a carrier, does not work yet 2012-06-07 22:19:32 -06:00