Skip to content

Add Arm copyright notices to samples #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <stdio.h>

int main(void) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

// Include as many C++17 headers as possible.
// Unsupported headers are commented out.
#include <algorithm>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2020-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <stdio.h>

int main(void) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2020-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <stdio.h>

int main(void) {
Expand Down
6 changes: 6 additions & 0 deletions arm-software/embedded/samples/src/baremetal-uart/hello.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2020-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <stdio.h>

// https://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf sections 14.2 and 29.10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2023-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <iostream>

class Base {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <iostream>

int main(void) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2024-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <iostream>

int main(void) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2023-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <iostream>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
|*
\*===----------------------------------------------------------------------===*/

// Copyright (c) 2023-2025, Arm Limited and affiliates.

// This file is derived from various files in compiler-rt of the llvm-project,
// see https://github.com/llvm/llvm-project/tree/main/compiler-rt/lib/profile

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2023-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <iostream>
#include <limits>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2023-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <stdio.h>
#include <stdlib.h>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) 2021-2025, Arm Limited and affiliates.
*
* Part of the Arm Toolchain project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

#include <vector>
#include <iostream>

Expand Down