Skip to content
Open
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
63 changes: 63 additions & 0 deletions .github/workflows/repo_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Copyright (c) 2026 Eclipse ThreadX contributors
#
# This program and the accompanying materials are made available under the
# terms of the MIT License which is available at
# https://opensource.org/licenses/MIT.
#
# AI Disclosure: This file was largely AI-generated by Claude Code (Opus 5).
# The AI-generated portions may be considered public domain (CC0-1.0)
# and not subject to the project's licence. The human contributor has
# reviewed and verified that the code is correct.
#
# SPDX-License-Identifier: MIT and CC0-1.0
###############################################################################

name: repo_checks

# Repository-wide text checks.
#
# THIS LIVES IN ITS OWN WORKFLOW BECAUSE IT MUST NOT BE PATH-FILTERED, and a
# path filter is a property of a workflow rather than of a job. The check
# selects its input with `git ls-files` and scans every tracked file, so any
# file at all can carry a finding.
#
# That is not hypothetical here. The pass that introduced the fixed
# disclosure line covered source files only, and the drift it was meant to end
# survived for months afterwards in CMake files, toolchain files, shell and
# PowerShell scripts, a GDB script and a Visual Studio manifest -- precisely
# the files a source-path filter would have skipped. A workflow that gates no
# pull request anybody opens is worse than no workflow, because it looks like
# coverage.
#
# Cheap enough that running it on everything costs nothing worth measuring: it
# is grep over a repository this size, with no toolchain, no build and no
# cache.

on:
# No `paths:` on either trigger, deliberately. See above.
push:
branches: [ dev, master ]
pull_request:
branches: [ dev, master ]

# A second push to the same branch makes the first answer irrelevant.
concurrency:
group: repo-checks-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
checks:
runs-on: ubuntu-24.04
steps:
# Actions are pinned to a commit SHA with the version in the trailing
# comment. A tag can be moved; a SHA cannot, which is what makes "which
# code ran in our CI" answerable from the repository.
- name: Check out the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Check the AI disclosure comments
run: scripts/check_ai_disclosure.sh
2 changes: 1 addition & 1 deletion cmake/aarch64-none-elf.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Shared settings for the AArch64 bare metal ports, the counterpart of
# arm-none-eabi.cmake beside it. The two differ by more than the tool prefix:
Expand Down
2 changes: 1 addition & 1 deletion cmake/arm11.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for ARM11 using GNU tools. The port readme identifies the
# target as ARM1136J-S, which is what -mcpu selects.
Expand Down
2 changes: 1 addition & 1 deletion cmake/arm9.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for ARM9 using GNU tools. This is the oldest core in the
# CMake build; the port readme names ARM9 itself.
Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a12.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A12 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a15.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A15 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a17.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A17 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a34.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A34 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a35.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A35 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a5.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A5 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a53.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A53 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a55.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A55 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a57.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A57 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a5x.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for the Arm Cortex-A5x SMP port using GNU tools. That port
# targets the family rather than one core: its readme and example name A53,
Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a65.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A65 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a65ae.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A65ae using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a7.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A7 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a72.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A72 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a73.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A73 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a75.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A75 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a76.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A76 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a76ae.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A76ae using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a77.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A77 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a78.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A78 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_a8.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-A8 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_m23.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-M23 using GNU tools. Armv8-M Baseline is
# Thumb only, hence -mthumb with no Arm state alternative.
Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_m33.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-M33 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_m52.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-M52 using GNU tools.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_m55.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-M55 using GNU tools.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_m85.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-M85 using GNU tools.
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_r4.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-R4 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_r5.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-R5 using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_r52.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-R52 (Armv8-R, AArch32) using GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion cmake/cortex_r52_clang.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# Toolchain file for Arm Cortex-R52 (Armv8-R, AArch32) using Arm Toolchain for
# Embedded, which is LLVM based and is the successor to Arm Compiler 6.
Expand Down
2 changes: 1 addition & 1 deletion ports/arm11/gnu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# ThreadX port sources for arm11, GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion ports/arm11/gnu/example_build/build_threadx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# SPDX-License-Identifier: MIT
#
# AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6).
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
# The AI-generated portions may be considered public domain (CC0-1.0)
# and not subject to the project's licence. The human contributor has
# reviewed and verified that the code is correct.
Expand Down
2 changes: 1 addition & 1 deletion ports/arm11/gnu/example_build/build_threadx_sample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# SPDX-License-Identifier: MIT
#
# AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6).
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
# The AI-generated portions may be considered public domain (CC0-1.0)
# and not subject to the project's licence. The human contributor has
# reviewed and verified that the code is correct.
Expand Down
2 changes: 1 addition & 1 deletion ports/arm9/gnu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# ThreadX port sources for arm9, GNU tools.

Expand Down
2 changes: 1 addition & 1 deletion ports/arm9/gnu/example_build/build_threadx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# SPDX-License-Identifier: MIT
#
# AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6).
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
# The AI-generated portions may be considered public domain (CC0-1.0)
# and not subject to the project's licence. The human contributor has
# reviewed and verified that the code is correct.
Expand Down
2 changes: 1 addition & 1 deletion ports/arm9/gnu/example_build/build_threadx_sample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# SPDX-License-Identifier: MIT
#
# AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6).
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
# The AI-generated portions may be considered public domain (CC0-1.0)
# and not subject to the project's licence. The human contributor has
# reviewed and verified that the code is correct.
Expand Down
2 changes: 1 addition & 1 deletion ports/cortex_a12/gnu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 Eclipse ThreadX contributors
# SPDX-License-Identifier: MIT
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
#
# ThreadX port sources for the ARMv7-A cores, GNU tools.
# Copied into every ARMv7-A gnu port by update.sh, so edit it here.
Expand Down
2 changes: 1 addition & 1 deletion ports/cortex_a12/gnu/example_build/build_threadx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# SPDX-License-Identifier: MIT
#
# AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6).
# Some portions generated by Claude Code (Opus 5).
# Portions of this file were generated with AI assistance.
# The AI-generated portions may be considered public domain (CC0-1.0)
# and not subject to the project's licence. The human contributor has
# reviewed and verified that the code is correct.
Expand Down
Loading
Loading