-
Notifications
You must be signed in to change notification settings - Fork 146
Add TI Arm Clang Compiler Support to CMSIS Core Validation #282
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
JonatanAntoni
merged 18 commits into
ARM-software:main
from
smmasongt:feature/core-validation-ti-support
Apr 14, 2026
Merged
Changes from 15 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8c76ee3
Add TI Arm Clang Compiler Support to CMSIS Core Validation
smmasongt 0451d70
Add TI Arm Clang Compiler to Core Validation Workflow
smmasongt 4baf587
Add TI Arm Clang Compiler Download and Cache to Core Test Workflow
smmasongt 28202e8
Add TI Arm Clang Compiler to GitHub Workflow
smmasongt c1c4a25
Correct error in Clang_TI linker file name
smmasongt 1fa9350
Revert updates to Core Test workflow
smmasongt ef3b4f3
Address issues with semihosting and CMSE in Clang TI Compiler tests.
smmasongt d10da7b
Update GitHub Cache Action to v5 to address Node.js warning.
smmasongt 6838d21
Correct issue with Clang execution of NS devices
smmasongt d5d4cde
Cleanups
smmasongt 9f42dc5
Clang TI Linker Command File Cleanup
smmasongt 97042d4
Claude Code Review and Refactoring of TI Semihost Implementation
smmasongt d591a9c
Reverts all changes to Bootloader CMSIS Toolbox files
smmasongt 775b910
Adds Clang_TI to gcc-problem-matcher action
smmasongt 5e30ff2
Merge branch 'main' into feature/core-validation-ti-support
smmasongt f7a4d35
Copilot Review - Cortex-A9 Neon Fast Model Error
smmasongt b78be98
Copilot Review - README Inconsistencies
smmasongt 64c2c8a
Copilot Review - Gate Github Workflow actions for Clang TI and Update…
smmasongt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
CMSIS/CoreValidation/Layer/Target/CM0/RTE/Device/ARMCM0/clang_ti_linker_script.cmd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| --stack_size=__STACK_SIZE | ||
| --heap_size=__HEAP_SIZE | ||
| --symbol_map=_start=_c_int00 | ||
| --entry_point=Reset_Handler | ||
| --retain="*(.vectors)" | ||
| --retain="*(.intvecs)" | ||
|
|
||
| /* Macros for Stack/Seal */ | ||
| #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) | ||
| #define __STACKSEAL_SIZE 8 | ||
| #else | ||
| #define __STACKSEAL_SIZE 0 | ||
| #endif | ||
|
|
||
| MEMORY | ||
| { | ||
| ROM0 (RX) : ORIGIN = __ROM0_BASE, LENGTH = __ROM0_SIZE | ||
| RAM0 (RW) : ORIGIN = __RAM0_BASE, LENGTH = __RAM0_SIZE | ||
| } | ||
|
|
||
| SECTIONS | ||
| { | ||
| /* 1. Vectors forced to the base of ROM */ | ||
| .intvecs : load = __ROM0_BASE | ||
| { | ||
| *(.vectors) | ||
| *(.intvecs) | ||
| } | ||
|
|
||
| /* 2. Code and Read-Only Data */ | ||
| .text : {} > ROM0 | ||
|
|
||
| /* 3. CMSE Veneers */ | ||
| #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) | ||
| Veneer$$CMSE : {} > ROM0 | ||
| #endif | ||
|
|
||
| .rodata : {} > ROM0 | ||
| .TI.crctab : {} > ROM0 | ||
|
|
||
| /* 4. Runtime Initialization Tables */ | ||
| .binit : {} > ROM0 | ||
| .cinit : {} > ROM0 | ||
| .pinit : {} > ROM0 | ||
| .init_array : {} > ROM0 | ||
| .fini_array : {} > ROM0 | ||
| .ovly : {} > ROM0 | ||
|
|
||
| /* 5. Initialized Data */ | ||
| .data : load = ROM0, run = RAM0, table(BINIT) | ||
|
|
||
| /* 6. Uninitialized Data */ | ||
| .bss : type = NOINIT {} > RAM0 | ||
| .sysmem : type = NOINIT {} > RAM0 | ||
|
|
||
| /* 7. Stack & Security Seal */ | ||
| /* (HIGH) ensures these are placed at the end of RAM0 */ | ||
| GROUP : > RAM0 (HIGH) | ||
| { | ||
| .stack : type = NOINIT, palign = 8 | ||
| { | ||
| __stack_limit = .; | ||
| . += __STACK_SIZE; | ||
| __INITIAL_SP = .; /* CMSIS startup: initial SP loaded from vector table (8-byte aligned) */ | ||
| __stack = . - 1; /* TI CRT _c_int00 compatibility: CRT computes SP = __stack + 1 */ | ||
| } | ||
|
|
||
| #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) | ||
| .stackseal : type = NOINIT, palign = 8 | ||
| { | ||
| __stack_seal = .; | ||
| . += __STACKSEAL_SIZE; | ||
| } | ||
| #endif | ||
| } | ||
| } |
41 changes: 0 additions & 41 deletions
41
CMSIS/CoreValidation/Layer/Target/CM0/RTE/Device/ARMCM0/tiac_arm.cmd
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
CMSIS/CoreValidation/Layer/Target/CM0plus/RTE/Device/ARMCM0P/clang_ti_linker_script.cmd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| --stack_size=__STACK_SIZE | ||
| --heap_size=__HEAP_SIZE | ||
| --symbol_map=_start=_c_int00 | ||
| --entry_point=Reset_Handler | ||
| --retain="*(.vectors)" | ||
| --retain="*(.intvecs)" | ||
|
|
||
| /* Macros for Stack/Seal */ | ||
| #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) | ||
| #define __STACKSEAL_SIZE 8 | ||
| #else | ||
| #define __STACKSEAL_SIZE 0 | ||
| #endif | ||
|
|
||
| MEMORY | ||
| { | ||
| ROM0 (RX) : ORIGIN = __ROM0_BASE, LENGTH = __ROM0_SIZE | ||
| RAM0 (RW) : ORIGIN = __RAM0_BASE, LENGTH = __RAM0_SIZE | ||
| } | ||
|
|
||
| SECTIONS | ||
| { | ||
| /* 1. Vectors forced to the base of ROM */ | ||
| .intvecs : load = __ROM0_BASE | ||
| { | ||
| *(.vectors) | ||
| *(.intvecs) | ||
| } | ||
|
|
||
| /* 2. Code and Read-Only Data */ | ||
| .text : {} > ROM0 | ||
|
|
||
| /* 3. CMSE Veneers */ | ||
| #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) | ||
| Veneer$$CMSE : {} > ROM0 | ||
| #endif | ||
|
|
||
| .rodata : {} > ROM0 | ||
| .TI.crctab : {} > ROM0 | ||
|
|
||
| /* 4. Runtime Initialization Tables */ | ||
| .binit : {} > ROM0 | ||
| .cinit : {} > ROM0 | ||
| .pinit : {} > ROM0 | ||
| .init_array : {} > ROM0 | ||
| .fini_array : {} > ROM0 | ||
| .ovly : {} > ROM0 | ||
|
|
||
| /* 5. Initialized Data */ | ||
| .data : load = ROM0, run = RAM0, table(BINIT) | ||
|
|
||
| /* 6. Uninitialized Data */ | ||
| .bss : type = NOINIT {} > RAM0 | ||
| .sysmem : type = NOINIT {} > RAM0 | ||
|
|
||
| /* 7. Stack & Security Seal */ | ||
| /* (HIGH) ensures these are placed at the end of RAM0 */ | ||
| GROUP : > RAM0 (HIGH) | ||
| { | ||
| .stack : type = NOINIT, palign = 8 | ||
| { | ||
| __stack_limit = .; | ||
| . += __STACK_SIZE; | ||
| __INITIAL_SP = .; /* CMSIS startup: initial SP loaded from vector table (8-byte aligned) */ | ||
| __stack = . - 1; /* TI CRT _c_int00 compatibility: CRT computes SP = __stack + 1 */ | ||
| } | ||
|
|
||
| #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) | ||
| .stackseal : type = NOINIT, palign = 8 | ||
| { | ||
| __stack_seal = .; | ||
| . += __STACKSEAL_SIZE; | ||
| } | ||
| #endif | ||
| } | ||
| } |
41 changes: 0 additions & 41 deletions
41
CMSIS/CoreValidation/Layer/Target/CM0plus/RTE/Device/ARMCM0P/tiac_arm.cmd
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.