Merge pull request #1181 from greatscottgadgets/cleanup

pre-release clean-up and platform detection improvement
This commit is contained in:
Michael Ossmann
2022-09-27 13:19:52 -04:00
committed by GitHub
130 changed files with 290 additions and 68 deletions

View File

@ -98,7 +98,7 @@ jobs:
run: |
brew tap armmbed/formulae
brew install arm-none-eabi-gcc dfu-util
pip install PyYAML
pip3 install PyYAML
if: matrix.os == 'macos-latest'
- name: Install dependencies (Ubuntu)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2010 - 2012 Michael Ossmann
* Copyright 2010-2017 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*
@ -20,12 +20,14 @@
*/
#include "hackrf_core.h"
#include "platform_detect.h"
int main(void)
{
detect_hardware_platform();
pin_setup();
/* enable all power supplies */
/* enable 1V8 power supply so that the 1V8 LED lights up */
enable_1v8_power();
/* Blink LED1/2/3 on the board. */

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2014 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2017 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2014 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2021 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2021 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2013 Michael Ossmann <mike@ossmann.com>
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*

View File

@ -1,5 +1,5 @@
/*
* Copyright 2013 Michael Ossmann <mike@ossmann.com>
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2019-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2019 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2019-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2019 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2019-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2019 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2019-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2019 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
* Copyright 2013 Benjamin Vernoux <titanmkd@gmail.com>
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2013 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2013 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
* Copyright 2013 Benjamin Vernoux <titanmkd@gmail.com>
*
@ -303,11 +303,11 @@ void delay(uint32_t duration)
void delay_us_at_mhz(uint32_t us, uint32_t mhz)
{
// The loop below takes 4 cycles per iteration.
uint32_t loop_iterations = (us * mhz) / 4;
// The loop below takes 3 cycles per iteration.
uint32_t loop_iterations = (us * mhz) / 3;
asm volatile("start%=:\n"
" subs %[ITERATIONS], #1\n" // 1 cycle
" bpl start%=\n" // 3 cycles
" bpl start%=\n" // 2 cycles
:
: [ITERATIONS] "r"(loop_iterations));
}
@ -560,7 +560,7 @@ static void cpu_clock_pll1_max_speed(void)
CGU_BASE_M4_CLK = reg_val;
/* 9. Wait 50us. */
delay_us_at_mhz(50, 104);
delay_us_at_mhz(50, 102);
/* 10. Set the PLL1 P-divider to direct output mode (DIRECT=1). */
CGU_PLL1_CTRL |= CGU_PLL1_CTRL_DIRECT_MASK;

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Benjamin Vernoux <titanmkd@gmail.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
@ -253,6 +253,7 @@ typedef enum {
} clock_source_t;
void delay(uint32_t duration);
void delay_us_at_mhz(uint32_t us, uint32_t mhz);
/* TODO: Hide these configurations */
extern si5351c_driver_t clock_gen;

View File

@ -1,4 +1,5 @@
/*
* Copyright 2019-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2019 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2018-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2018 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2013 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,6 @@
/*
* Copyright 2012 Will Code? (TODO: Proper attribution)
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Will Code <willcode4@gmail.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,6 @@
/*
* Copyright 2012 Will Code? (TODO: Proper attribution)
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Will Code <willcode4@gmail.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,6 @@
/*
* Copyright 2012 Will Code? (TODO: Proper attribution)
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Will Code <willcode4@gmail.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,6 @@
/*
* Copyright 2012 Will Code? (TODO: Proper attribution)
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Will Code <willcode4@gmail.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,3 +1,24 @@
/*
* Copyright 2015-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#include "max2871.h"
#include "max2871_regs.h"

View File

@ -1,3 +1,24 @@
/*
* Copyright 2017 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef MAX2871_H
#define MAX2871_H

View File

@ -1,3 +1,24 @@
/*
* Copyright 2015-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#include "max2871_regs.h"
#include <stdint.h>

View File

@ -1,3 +1,24 @@
/*
* Copyright 2015-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef MAX2871_REGS_H
#define MAX2871_REGS_H
#include <stdint.h>

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2014 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,3 +1,24 @@
/*
* Copyright 2017-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#include "mixer.h"
#include "rffc5071.h"
#include "rffc5071_spi.h"

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2016-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2016 Dominic Spill <dominicgs@gmail.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2016-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2016 Dominic Spill <dominicgs@gmail.com>
*
* This file is part of HackRF.

View File

@ -1,6 +1,6 @@
/*
* Copyright 2017-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2018 Schuyler St. Leger
* Copyright 2021 Great Scott Gadgets
*
* This file is part of HackRF.
*

View File

@ -1,7 +1,7 @@
/*
* Copyright 2016-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2016 Dominic Spill <dominicgs@gmail.com>
* Copyright 2018 Schuyler St. Leger
* Copyright 2021 Great Scott Gadgets
*
* This file is part of HackRF.
*

View File

@ -1,5 +1,5 @@
/*
* Copyright 2022 Great Scott Gadgets
* Copyright 2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*
@ -120,24 +120,29 @@ void detect_hardware_platform(void)
gpio_input(&gpio2_9_on_P5_0);
gpio_input(&gpio3_6_on_P6_10);
scu_pinmux(P5_0, SCU_GPIO_PUP | SCU_CONF_FUNCTION0);
scu_pinmux(P6_10, SCU_GPIO_PUP | SCU_CONF_FUNCTION0);
delay(20);
/* activate internal pull-down */
scu_pinmux(P5_0, SCU_GPIO_PDN | SCU_CONF_FUNCTION0);
scu_pinmux(P6_10, SCU_GPIO_PDN | SCU_CONF_FUNCTION0);
delay(20);
delay_us_at_mhz(4, 96);
/* tri-state for a moment before testing input */
scu_pinmux(P5_0, SCU_GPIO_NOPULL | SCU_CONF_FUNCTION0);
scu_pinmux(P6_10, SCU_GPIO_NOPULL | SCU_CONF_FUNCTION0);
delay_us_at_mhz(4, 96);
/* if input rose quickly, there must be an external pull-up */
detected_resistors |= (gpio_read(&gpio2_9_on_P5_0)) ? P5_0_PUP : 0;
detected_resistors |= (gpio_read(&gpio3_6_on_P6_10)) ? P6_10_PUP : 0;
/* activate internal pull-up */
scu_pinmux(P5_0, SCU_GPIO_PUP | SCU_CONF_FUNCTION0);
scu_pinmux(P6_10, SCU_GPIO_PUP | SCU_CONF_FUNCTION0);
delay(20);
detected_resistors |= (gpio_read(&gpio2_9_on_P5_0)) ? 0 : P5_0_PDN;
detected_resistors |= (gpio_read(&gpio3_6_on_P6_10)) ? 0 : P6_10_PDN;
delay_us_at_mhz(4, 96);
/* tri-state for a moment before testing input */
scu_pinmux(P5_0, SCU_GPIO_NOPULL | SCU_CONF_FUNCTION0);
scu_pinmux(P6_10, SCU_GPIO_NOPULL | SCU_CONF_FUNCTION0);
delay_us_at_mhz(4, 96);
/* if input fell quickly, there must be an external pull-down */
detected_resistors |= (gpio_read(&gpio2_9_on_P5_0)) ? 0 : P5_0_PDN;
detected_resistors |= (gpio_read(&gpio3_6_on_P6_10)) ? 0 : P6_10_PDN;
switch (detected_resistors) {
case JAWBREAKER_RESISTORS:

View File

@ -1,5 +1,5 @@
/*
* Copyright 2022 Great Scott Gadgets
* Copyright 2022-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2018-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2018 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2018-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2018 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann
* Copyright 2012-2014 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2014 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2013 Benjamin Vernoux <titanmkd@gmail.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2013 Benjamin Vernoux <titanmkd@gmail.com>
*
* This file is part of HackRF.

View File

@ -1,3 +1,24 @@
/*
* Copyright 2017-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#include <libopencm3/cm3/common.h>
#include <libopencm3/lpc43xx/memorymap.h>

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
* Copyright 2013 Benjamin Vernoux <titanmkd@gmail.com>
* Copyright 2017 Schuyler St. Leger <schuyler.st.leger@gmail.com>

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012 Michael Ossmann <mike@ossmann.com>
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone <jared@sharebrained.com>
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2018-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2018 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2018-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2018 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2019-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2019 Dominic Spill
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2019-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2019 Dominic Spill
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Ben Gamari
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Ben Gamari
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
*
* This file is part of HackRF.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2013 Michael Ossmann
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2013 Benjamin Vernoux
* Copyright 2014 Jared Boone, ShareBrained Technology
*

View File

@ -1,5 +1,5 @@
/*
* Copyright 2013 Michael Ossmann
* Copyright 2013-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2013 Benjamin Vernoux
* Copyright 2014 Jared Boone, ShareBrained Technology
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -1,4 +1,5 @@
/*
* Copyright 2014-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
*
* This file is part of HackRF.

View File

@ -231,7 +231,7 @@ macro(DeclareTargets)
COMMAND rm -f _tmp.dfu _header.bin
COMMAND cp ${PROJECT_NAME}_dfu.bin _tmp.dfu
COMMAND dfu-suffix --vid=0x1fc9 --pid=0x000c --did=0x0 -a _tmp.dfu
COMMAND python ${PATH_DFU_PY} ${PROJECT_NAME}
COMMAND python3 ${PATH_DFU_PY} ${PROJECT_NAME}
COMMAND cat _header.bin _tmp.dfu >${PROJECT_NAME}.dfu
COMMAND rm -f _tmp.dfu _header.bin
)

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 Great Scott Gadgets
* Copyright 2019-2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,4 +1,5 @@
/*
* Copyright 2012-2022 Great Scott Gadgets <info@greatscottgadgets.com>
* Copyright 2012 Jared Boone
* Copyright 2013 Benjamin Vernoux
*

View File

@ -1,5 +1,5 @@
/*
* Copyright 2022 Great Scott Gadgets
* Copyright 2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*

View File

@ -1,5 +1,5 @@
/*
* Copyright 2022 Great Scott Gadgets
* Copyright 2022 Great Scott Gadgets <info@greatscottgadgets.com>
*
* This file is part of HackRF.
*

Some files were not shown because too many files have changed in this diff Show More