612 Commits

Author SHA1 Message Date
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
Michael Ossmann
a50ecd7128 removed old cpldjtagprog. use hackrf_cpldjtag with hackrf_usb firmware. 2014-03-16 09:38:14 -06:00
Michael Ossmann
15bda174c7 maintain PLLA on XTAL and PLLB on CLKIN at all times (makes automatic clock source switching more reliable) 2014-03-14 22:27:30 -06:00
Michael Ossmann
ca04d7c04b activated CLKOUT (always on) and CLKIN (automatically used when detected) 2014-03-14 21:28:13 -06:00
Michael Ossmann
d4a5c2290b replaced set_freq_if() with set_freq_explicit() and implemented explicit tuning option in hackrf_transfer 2014-03-13 16:06:51 -06:00
Michael Ossmann
08927ab50b fixed submodule instructions (no cmake for libopencm3) 2014-03-13 08:44:28 -06:00
Michael Ossmann
7c3f6340ed HackRF One antenna port power control in firmware, libhackrf, and hackrf_transfer 2014-03-12 17:21:49 -06:00
Michael Ossmann
dce15fa9f6 firmware support for HackRF One USB ID 2014-03-12 16:21:20 -06:00
Michael Ossmann
630a78aabe stale comment 2014-03-12 16:05:53 -06:00
Michael Ossmann
f5be40fe5b fixed tuning bug 2014-03-12 12:40:45 -06:00
Michael Ossmann
d3bba0dc89 reverted to low-side injection until/unless inverted spectrum is resolved 2014-03-03 18:28:23 -07:00
Michael Ossmann
a9592ea87e fixed bug with high-side injection tuning 2014-03-03 18:24:16 -07:00
Michael Ossmann
f74e9e9dc1 divided tuning frequencies above 2750 MHz into three ranges with graduated IF for spur avoidance 2014-03-03 16:30:48 -07:00
Michael Ossmann
768323e28f removed check for too low tuning frequency now that we permit tuning down to 0 Hz 2014-03-03 14:13:56 -07:00
Michael Ossmann
cd9a1c1366 high-side injection and graduated IF for tuning from 0 to 2150 MHz 2014-03-03 14:08:38 -07:00
Michael Ossmann
d051c42e3a increased maximum tuning frequency from 6800 MHz to 7250 MHz 2014-03-03 14:07:48 -07:00
Michael Ossmann
fbe4c481f2 reduced minimum tuning frequency from 5 MHz to 0 Hz 2014-03-03 12:21:28 -07:00
Michael Ossmann
dd6d192e13 increased allowed MAX2837 frequency range from 2300-2700 MHz to 2150-2750 MHz based on experimentation 2014-03-03 12:20:27 -07:00
Michael Ossmann
99f1ba6619 RUN_FROM=RAM and other details in firmware/README 2014-02-22 10:27:12 -07:00
Michael Ossmann
7f34c6cc92 disable antenna port power 2014-02-21 16:55:44 -07:00
Jared Boone
847289bf31 Fix attempt #2 for proper tuning frequency calculation. 2014-02-19 13:17:47 -08:00
Jared Boone
b1eccd4e79 Add integer promotion to tuning frequency calculation. 2014-02-19 13:08:02 -08:00
Jared Boone
84d7263fa4 Widen frequency argument/return paths in RFFC5071 code. 2014-02-19 12:56:24 -08:00
Jared Boone
e3025e94ff Apparent fix for .dfu not being generated.
TODO: Does not address the fact that make continues despite the .dfu creation failure...
2014-02-18 17:05:53 -08:00
Jared Boone
9797512186 Rename ldscript to be the one and only M0 embedding .ld, reading from .text. 2014-02-18 16:48:21 -08:00
Jared Boone
dfd04e3c89 Change default Makefile target board to HACKRF_ONE. 2014-02-14 10:49:11 -08:00
Jared Boone
a51eb9dd60 Remove usb_bulk_buffer declaration, it was causing duplicate buffers to exist in RAM. Allow ldscript to determine symbol's address by making buffer "extern" only. 2014-02-14 10:48:38 -08:00
Jared Boone
4aa3a3b553 Fix M0 ldscript breakage. 2014-02-14 10:47:05 -08:00
Jared Boone
ec508cadcd Fix relative path for libs and ldscripts in linking. 2014-01-12 14:51:54 -08:00
Jared Boone
a097879528 Un-hardcode base address of M0 memory region. 2014-01-11 17:49:26 -08:00
Jared Boone
bb8943ce5b Break ldscripts into smaller pieces that can be shared. 2014-01-11 17:38:27 -08:00
Jared Boone
ba2cc32ac6 Combine ram_usb[01] into a single region.
Assign usb_bulk_buffer symbol to ram_usb origin, instead of hard-coding a pointer in C.
Change declaration of usb_bulk_buffer from a pointer to an array.
2014-01-11 17:07:49 -08:00