mirror of
https://github.com/OpenRTX/OpenRTX
synced 2026-08-08 12:29:06 -04:00
copyright-and-license: adopt SPDX-compliant header
This change removes the old copyright header from project sources and replaces it with a new simplified SPDX-compliant header. Note that files that were missing the header but reasonably understood to be licensed according to the root license were not corrected. Signed-off-by: Ryan Turner <ryan@turnrye.com>
This commit is contained in:
parent
5e1250c0a8
commit
95fdcd5fe2
419 changed files with 2219 additions and 7006 deletions
|
|
@ -1,3 +1,9 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
/*******************************************************************************
|
||||
* *
|
||||
* Convert a baseband from m17-cpp-mod to Module17/MD3x0 ADC input equivalent *
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env python3
|
||||
# Single-file bin2sgl converter (Python)
|
||||
#
|
||||
# This work is a derivation from the OpenGD77 project, the file specifically having these terms:
|
||||
# SPDX-FileCopyrightText: Copyright (C)2019 Kai Ludwig, DG4KLU
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
from __future__ import annotations
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
|
|
|
|||
|
|
@ -1,19 +1,8 @@
|
|||
/***************************************************************************
|
||||
* Copyright (C) 2024 - 2025 by Silvano Seva IU2KWO *
|
||||
* *
|
||||
* 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 3 of the License, 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; if not, see <http://www.gnu.org/licenses/> *
|
||||
***************************************************************************/
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <codec2/codec2.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
|
|
@ -1,19 +1,7 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
# Copyright (C) 2021 by Alain Carlucci.
|
||||
#
|
||||
# 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 3 of the License, 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; if not, see <http://www.gnu.org/licenses/>
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
|
||||
function show_help {
|
||||
echo "OpenRTX clang-format tool."
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2025 Alain Carlucci, Silvano Seva
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
|
||||
import struct
|
||||
import sys
|
||||
|
|
@ -37,7 +38,7 @@ input_file = sys.argv[1]
|
|||
output_file = sys.argv[2]
|
||||
|
||||
file_data = open(input_file, "rb").read()
|
||||
file_len = len(file_data)
|
||||
file_len = len(file_data)
|
||||
|
||||
encoded_len = struct.pack("<I", file_len )
|
||||
|
||||
|
|
@ -50,7 +51,7 @@ payload = payload + (bytes([0] * padlen))
|
|||
full_key = key * ((len(payload) + len(key) + 0x80) // len(key))
|
||||
|
||||
header1 = [
|
||||
0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
]
|
||||
|
||||
|
|
@ -64,14 +65,14 @@ header2=[
|
|||
0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
||||
# 0x44
|
||||
0x80, 0x00, 0x00, 0x00,
|
||||
0x80, 0x00, 0x00, 0x00,
|
||||
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
||||
# 0x6d 0x6f
|
||||
0x01, 0x00, 0x19, 0x00,
|
||||
0x01, 0x00, 0x19, 0x00,
|
||||
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00
|
||||
|
|
|
|||
|
|
@ -58,9 +58,16 @@ def svgToBytes(filename, height):
|
|||
alpha.show()
|
||||
return numpy.array(alpha)
|
||||
|
||||
|
||||
# REUSE-IgnoreStart
|
||||
first_ascii = 32 # Start at ascii d32 which is " " per https://www.rapidtables.com/code/text/ascii-table.html
|
||||
dont_edit_banner = "// This is a generated file, please do not edit it! Use generate_symbols.py\n"
|
||||
dont_edit_banner = "/*\n"
|
||||
dont_edit_banner += " * SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors\n"
|
||||
dont_edit_banner += " * \n"
|
||||
dont_edit_banner += " * SPDX-License-Identifier: GPL-3.0-or-later\n"
|
||||
dont_edit_banner += " */\n"
|
||||
dont_edit_banner += "\n"
|
||||
dont_edit_banner += "// This is a generated file, please do not edit it! Use generate_symbols.py\n"
|
||||
# REUSE-IgnoreEnd
|
||||
|
||||
class FontDefinition:
|
||||
scalar = 1.6 # this number is used to roughly convert from pt to px
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
|
||||
gdb_port 3333
|
||||
|
||||
source [find interface/jlink.cfg]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
#
|
||||
# OpenOCD configuration file for in-circuit debugging the stm32f4discovery
|
||||
# To start debugging issue those commands:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
#! /usr/bin/env python3
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
|
||||
import pandas as pd
|
||||
from matplotlib import pyplot as plt
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
#! /usr/bin/env python3
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
|
||||
import pandas as pd
|
||||
from matplotlib import pyplot as plt
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
|
||||
|
||||
import sys
|
||||
import struct
|
||||
import subprocess
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue