Mike Walters
4d23acd2fd
Add sgpio_debug tools
2020-01-20 23:33:44 +00:00
Michael Ossmann
208fae7538
Merge pull request #645 from jboone/master
...
Sync up PortaPack UI changes.
2020-01-06 16:31:28 -07:00
Michael Ossmann
1569737109
Merge pull request #607 from dominicgs/portapack_ui_opera_cake_coexistence
...
Allow portapack and opera cake to coexist and still enable the PP UI
2020-01-06 16:28:58 -07:00
Jared Boone
53e8d698c7
CMake: Extracted custom binary targets into a macro.
...
Less error-prone, making changes across the (now three) different binaries for each project.
2019-03-27 11:18:24 -07:00
Jared Boone
cb821e4602
CMake: Separate run-from-RAM and DFU binaries.
...
PortaPack uses the run-from-RAM build for HackRF mode, but doesn't want the serial number to show up as "RunningFromRAM".
2019-03-27 10:44:26 -07:00
Dominic Spill
509c8f4c91
Allow building from both firmware/build/ and firmware/hackrf_usb/build
2019-03-07 15:07:56 -07:00
Jared Boone
4fefd829ba
CMake: Fix blinky and rad1o dependencies and PortaPack-related breakage.
2019-03-02 14:23:06 -08:00
Jared Boone
8bc8bc13f0
PortaPack: Remove conditional PortaPack code.
...
TODO: DFU mode returns. I fear HackRF mode in PortaPack/HAVOC will not work.
2019-03-02 14:23:06 -08:00
Jared Boone
c32d57158a
PortaPack: Remove weak UI functions, detect and return UI function table.
...
TODO: Side effect was that now blinky has a lot of unreasonable dependencies.
TODO: rad1o breakage is likely...
2019-03-02 14:23:06 -08:00
Dominic Spill
b701579906
Allow portapack and opera cake to coexist and still enable the PP UI
...
The side effect of this is to disable GPIO mode for OC, but I2C still
works
Using both addons together is super unlikely
2019-02-01 12:04:40 -07:00
Dominic Spill
4507130608
Merge pull request #584 from jboone/cpld_checksum
...
Cpld checksum
2019-01-31 15:16:05 -07:00
Jared Boone
499ac3ad4a
PortaPack: Move UI code to hackrf_usb project.
...
Was in common/ and in the common CMake file, which meant it was being included in the blinky project, which was unnecessary.
2019-01-31 09:37:48 +00:00
Dominic Spill
31079258e9
Workaround for avoiding conflicting libopencm3 targets
2019-01-30 15:29:17 -07:00
Jared Boone
e433bee0b8
CMake: Move libopencm3 dependency out of CMake include file.
...
Don't declare the libopencm3 target once from each project subdirectory. CMake will complain terribly.
2019-01-22 15:21:43 -08:00
Jared Boone
97806e8159
PortaPack: Build DFU binary without forcing serial number to "RunningFromRAM".
...
This was causing problems for HackRF mode, where some host PC software was depending on a valid serial number.
2019-01-15 11:31:39 -08:00
Jared Boone
cd24e01d75
CMake: Put libopencm3 dependencies in the right place.
2018-12-30 14:11:11 -08:00
Jared Boone
1d26b59b2d
CMake: incorporate libopencm3 into build process.
2018-12-30 13:42:01 -08:00
Jared Boone
bb2fe4259c
CMake: Base paths off location of hackrf-common.cmake.
2018-12-28 17:07:51 -08:00
Jared Boone
961ad732fa
CMake: Create DFU path variable.
2018-12-28 17:07:30 -08:00
Jared Boone
d8f579af2b
Merge from mossmann/master
2018-12-27 14:56:29 -08:00
Dominic Spill
454e32b8c8
Travis artefacts ( #564 )
...
* Try artefacts deployed to gh_pages
* Try to use gh_pages from the travis_artefacts branch
* Try deploying to a different repo
* Try to organise files deployed to github pages
* Test pushing a local dir to master
* Try pushing to original repo
* Be verbose so I can debug it
* Setting env variables
* Oops, environment variables aren't what I thought
* Try to push to nightly repo
* Remove unused cp command
* Copy firmware to archive directory
* Fix pathing to artefacts
* Use TRAVIS_BUID_DIR instead of assuming path
* Use mkdir -p to ensure directories exist
* Put / back in to CPLD path
* Move repo to GSG
* Switch to master branch
* Add nightly deployment
* Fix escaping in sed command
* Allow firmware version styring to be overridden
* Fix some sed commands....
* Switch to master branch for builds
2018-12-20 20:38:10 -07:00
Dominic Spill
9da826e9ef
Add Windows build art(e|i)facts ( #561 )
...
This includes:
* Cmake clean up - thanks @Qyriad
* Windows binaries saved after each appveyor build
* A bump to the Visual Studio version that we use to build it
* An appveyor cygwin script for building firmware, it doesn't work but it seems like someone might pick it up and make it work, or blow it away if we switch to Travis firmware artefacts
2018-12-05 18:45:26 -07:00
Jared Boone
ccc86aad14
Add support for PortaPack user interface add-on board.
2018-08-01 21:05:10 -07:00
Dominic Spill
bde5ca9f58
DFU serial number - avoid reading serial from flash chip
...
Set a DFU mode specific serial number
2018-03-27 18:08:49 -06:00
Dominic Spill
92f122d43a
Firmware: no longer require dfu-prefix
...
it was adding a header that we weren't using anyway
2018-03-22 12:29:27 -06:00
schneider
7526723f50
fix(cmake): Add max2871_regs.c to the build
2017-02-03 19:26:19 +01:00
schneider
07f800d57a
fix(dfu): Use original HackRF DFU tools
2017-01-29 22:54:44 +01:00
schneider
70c41463b1
refact(mixer): Basic mixer abstraction
2017-01-26 00:31:43 +01:00
schneider
35ca538c18
Merge remote-tracking branch 'mossmann/master' into rad1o
...
Just a very rough merge to get off the ground. Major parts are not yet
implemented. The mixer intergration is in a messed up state. Part which
need work have been marked with XXX
Conflicts:
firmware/common/hackrf_core.c
firmware/common/hackrf_core.h
firmware/common/max2837.c
firmware/common/max2837.h
firmware/common/rf_path.c
firmware/common/rffc5071.c
firmware/common/rffc5071.h
firmware/common/sgpio.c
firmware/common/si5351c.c
firmware/common/tuning.c
firmware/common/w25q80bv.c
firmware/common/w25q80bv.h
firmware/common/xapp058/ports.c
firmware/hackrf-common.cmake
firmware/hackrf_usb/hackrf_usb.c
firmware/hackrf_usb/usb_api_register.c
firmware/hackrf_usb/usb_api_transceiver.c
host/hackrf-tools/src/hackrf_transfer.c
2017-01-26 00:21:58 +01:00
Dominic Spill
8ed9d91111
Build SPI flash and DFU versions of firmware every time
2016-10-01 13:50:05 +01:00
Dominic Spill
eec30d817b
Merge pull request #229 from dominicgs/dfu_build_fix
...
Support both commonly available versions of dfu-util (0.7/0.8)
2016-01-14 18:22:21 +00:00
Dominic Spill
90bc36c9da
Support both commonly available versions of dfu-util (0.7/0.8)
2015-12-17 19:09:29 +00:00
Stefan `Sec` Zehl
f8a2b60d6d
Remove dependency on old dfu-suffix
2015-07-22 23:32:45 +02:00
Tobias Schneider
c79c53c52f
chore(name): We are now rad1o
2015-06-07 23:33:24 +02:00
Tobias Schneider
c05929fe25
fix(common, hackf_usb): Make it compile for rad10
2015-06-06 18:49:09 +02:00
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
7eee145365
Add "pin" interface to abstract GPIO pins.
2014-11-13 16:12:54 -08:00
Jared Boone
32aea14318
Merge branch 'abstract_i2c' into abstract_buses
...
Conflicts:
firmware/common/hackrf_core.c
firmware/common/hackrf_core.h
firmware/hackrf-common.cmake
2014-11-13 11:26:41 -08:00
Jared Boone
ea136038a9
SPI: Rename spi_t to spi_bus_t to match I2C naming.
2014-11-13 10:16:39 -08:00
Jared Boone
28d629e099
Si5351C: Bring I2C wrapper into main driver.
2014-11-12 18:32:00 -08:00
Jared Boone
eb0dea483f
I2C: Finish extracting from Si5351C code.
2014-11-12 14:03:27 -08:00
Jared Boone
905cd2b919
SSP: Merge SSP0 and SSP1 code into single unit.
...
Conflicts:
firmware/common/hackrf_core.c
2014-11-10 17:02:45 -08:00
Jared Boone
21eb27c3f3
SSP0: Extract SPI interface from W25Q80BV code.
2014-11-10 17:00:15 -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
e6c02bea62
MAX5864: Abstract SPI, extract target code
2014-11-10 16:55:02 -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
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
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