summaryrefslogtreecommitdiff
path: root/ports/arm11/gnu/example_build/build_threadx_sample.sh
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-08 17:08:34 +0200
committerGitHub <[email protected]>2026-06-08 17:08:34 +0200
commitb91b03b9e75fa523b17127f9e0eca09dca916459 (patch)
treef6c93b472994cad9bc3e7244a005216493cca472 /ports/arm11/gnu/example_build/build_threadx_sample.sh
parent87ab09cce305eb9cd4aacac4e8c62af72f665bff (diff)
parentdf30b8b96e4c0c6d72e0bb80d2a2ec31666e5afe (diff)
Merge pull request #548 from eclipse-threadx/devv6.5.1.202602a_rel
Merge changes for the v6.5.1.202602a release
Diffstat (limited to 'ports/arm11/gnu/example_build/build_threadx_sample.sh')
-rwxr-xr-xports/arm11/gnu/example_build/build_threadx_sample.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/ports/arm11/gnu/example_build/build_threadx_sample.sh b/ports/arm11/gnu/example_build/build_threadx_sample.sh
new file mode 100755
index 00000000..c342ce5a
--- /dev/null
+++ b/ports/arm11/gnu/example_build/build_threadx_sample.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# 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.
+#
+# SPDX-License-Identifier: MIT
+#
+# AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6).
+# 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
+##############################################################################
+
+set -e
+cd "$(dirname "$0")"
+
+arm-none-eabi-gcc -c -g -mcpu=arm1136j-s reset.S
+arm-none-eabi-gcc -c -g -mcpu=arm1136j-s crt0.S
+arm-none-eabi-gcc -c -g -mcpu=arm1136j-s tx_initialize_low_level.S
+arm-none-eabi-gcc -c -g -mcpu=arm1136j-s -I../../../../common/inc -I../inc sample_threadx.c
+arm-none-eabi-ld -A arm1136j-s -T sample_threadx.ld reset.o crt0.o tx_initialize_low_level.o sample_threadx.o tx.a libc.a libnosys.a libgcc.a -o sample_threadx.out -M > sample_threadx.map
+