Skip to content

Commit

Permalink
Update all split licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
stojadin2701 committed Oct 29, 2023
1 parent f5859c6 commit dfb9dd8
Show file tree
Hide file tree
Showing 43 changed files with 296 additions and 980 deletions.
33 changes: 8 additions & 25 deletions flight_computer/src/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
/*
* FreeRTOS V202111.00
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* https://www.FreeRTOS.org
* https://github.com/FreeRTOS
*
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from FreeRTOS (https://github.com/FreeRTOS),
/// released under MIT License.

#ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H
Expand All @@ -31,6 +13,7 @@
extern "C" {
#endif

/// FreeRTOS V202111.00
/*-----------------------------------------------------------
* Application specific definitions.
*
Expand Down
25 changes: 7 additions & 18 deletions flight_computer/src/cli/cli.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
* This file was part of Cleanflight and Betaflight.
* https://github.com/betaflight/betaflight
* It is modified for the CATS Flight Software.
*
* 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 <https://www.gnu.org/licenses/>.
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from Betaflight (https://github.com/betaflight/betaflight),
/// released under GNU General Public License v3.0.

#include "cli/cli.hpp"

Expand Down
25 changes: 7 additions & 18 deletions flight_computer/src/cli/cli.hpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
* This file was part of Cleanflight and Betaflight.
* https://github.com/betaflight/betaflight
* It is modified for the CATS Flight Software.
*
* 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 <https://www.gnu.org/licenses/>.
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from Betaflight (https://github.com/betaflight/betaflight),
/// released under GNU General Public License v3.0.

#pragma once

Expand Down
25 changes: 7 additions & 18 deletions flight_computer/src/cli/cli_commands.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
* This file was adapted from Cleanflight and Betaflight.
* https://github.com/betaflight/betaflight
* It is modified for the CATS Flight Software.
*
* 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 <https://www.gnu.org/licenses/>.
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from Betaflight (https://github.com/betaflight/betaflight),
/// released under GNU General Public License v3.0.

#include "cli/cli_commands.hpp"

Expand Down
25 changes: 7 additions & 18 deletions flight_computer/src/cli/cli_commands.hpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
* This file was part of Cleanflight and Betaflight.
* https://github.com/betaflight/betaflight
* It is modified for the CATS Flight Software.
*
* 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 <https://www.gnu.org/licenses/>.
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from Betaflight (https://github.com/betaflight/betaflight),
/// released under GNU General Public License v3.0.

#pragma once

Expand Down
25 changes: 7 additions & 18 deletions flight_computer/src/cli/settings.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
* This file was part of Cleanflight and Betaflight.
* https://github.com/betaflight/betaflight
* It is modified for the CATS Flight Software.
*
* 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 <https://www.gnu.org/licenses/>.
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from Betaflight (https://github.com/betaflight/betaflight),
/// released under GNU General Public License v3.0.

#include "cli/settings.hpp"
#include "cli/cli.hpp"
Expand Down
25 changes: 7 additions & 18 deletions flight_computer/src/cli/settings.hpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
* This file was part of Cleanflight and Betaflight.
* https://github.com/betaflight/betaflight
* It is modified for the CATS Flight Software.
*
* 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 <https://www.gnu.org/licenses/>.
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from Betaflight (https://github.com/betaflight/betaflight),
/// released under GNU General Public License v3.0.

#pragma once

Expand Down
28 changes: 6 additions & 22 deletions flight_computer/src/syscalls.c
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
/**
******************************************************************************
* @file syscalls.c
* @author Auto-generated by STM32CubeIDE
* @brief STM32CubeIDE Minimal System calls file
*
* For more information about which c-functions
* need which of these lowlevel functions
* please consult the Newlib libc-manual
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from STMicroelectronics, released under BSD 3-Clause license.

/* Includes */
#include <errno.h>
Expand Down
28 changes: 6 additions & 22 deletions flight_computer/src/sysmem.c
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
/**
******************************************************************************
* @file sysmem.c
* @author Generated by STM32CubeIDE
* @brief STM32CubeIDE System Memory calls file
*
* For more information about which C functions
* need which of these lowlevel functions
* please consult the newlib libc manual
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/// Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
/// Additional notice:
/// This file was adapted from STMicroelectronics, released under BSD 3-Clause license.

/* Includes */
#include <errno.h>
Expand Down
39 changes: 6 additions & 33 deletions flight_computer/src/target/VEGA/STM32F411CCUX_FLASH.ld
Original file line number Diff line number Diff line change
@@ -1,36 +1,9 @@
/*
******************************************************************************
**
** @file : LinkerScript.ld
**
** @author : Auto-generated by STM32CubeIDE
**
** @brief : Linker script for STM32F411CCUx Device from STM32F4 series
** 256Kbytes FLASH
** 128Kbytes RAM
**
** Set heap size, stack size and stack location according
** to application requirements.
**
** Set memory bank area and size if external memory is used
**
** Target : STMicroelectronics STM32
**
** Distribution: The file is distributed as is, without any warranty
** of any kind.
**
******************************************************************************
** @attention
**
** Copyright (c) 2022 STMicroelectronics.
** All rights reserved.
**
** This software is licensed under terms that can be found in the LICENSE file
** in the root directory of this software component.
** If no LICENSE file comes with this software, it is provided AS-IS.
**
******************************************************************************
*/
/* Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* Additional notice:
* This file was adapted from STMicroelectronics, released under BSD 3-Clause license. */

/* Entry Point */
ENTRY(Reset_Handler)
Expand Down
27 changes: 4 additions & 23 deletions flight_computer/src/target/VEGA/STM32F411CCUX_RAM.ld
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
/**
******************************************************************************
* @file LinkerScript.ld
* @author Auto-generated by STM32CubeIDE
* @brief Linker script for STM32F411CCUx Device from STM32F4 series
* 256Kbytes FLASH
* 128Kbytes RAM
/* Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
*
* Set heap size, stack size and stack location according
* to application requirements.
* SPDX-License-Identifier: GPL-3.0-or-later
*
* Set memory bank area and size if external memory is used
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
* Additional notice:
* This file was adapted from STMicroelectronics, released under BSD 3-Clause license. */

/* Entry Point */
ENTRY(Reset_Handler)
Expand Down
34 changes: 7 additions & 27 deletions flight_computer/src/target/VEGA/startup_stm32f411ccux.S
Original file line number Diff line number Diff line change
@@ -1,30 +1,10 @@
/**
******************************************************************************
* @file startup_stm32f411xe.s
* @author MCD Application Team
* @brief STM32F411xExx Devices vector table for GCC based toolchains.
* This module performs:
* - Set the initial SP
* - Set the initial PC == Reset_Handler,
* - Set the vector table entries with the exceptions ISR address
* - Branches to main in the C library (which eventually
* calls main()).
* After Reset the Cortex-M4 processor is in Thread mode,
* priority is Privileged, and the Stack is set to Main.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/

/* Copyright (C) 2020, 2024 Control and Telemetry Systems GmbH
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* Additional notice:
* This file was adapted from STMicroelectronics, released under BSD 3-Clause license. */

.syntax unified
.cpu cortex-m4
.fpu softvfp
Expand Down
Loading

0 comments on commit dfb9dd8

Please sign in to comment.