diff options
| author | Yucai Liu <[email protected]> | 2025-11-01 15:21:09 +0800 |
|---|---|---|
| committer | R b b666 <[email protected]> | 2025-11-02 16:23:31 +0800 |
| commit | c91a7f46f576ea89271a29365b36fd3fd0265a01 (patch) | |
| tree | 876a6e2f86f382d9d1337b4b3d877d6bf652236d | |
| parent | d3ba09a0d7ef98d1ac39949c1d69f0eed776dcaf (diff) | |
[libcpu/arm/cortex-m33]: Fix incorrect CPU architecture in GCC context switch
The context_gcc.S file was incorrectly marked as cortex-m4 in both the
doxygen comment and .cpu directive, while the IAR and KEIL versions
correctly specify cortex-m33. This file uses ARMv8-M specific features
(PSPLIM register, TrustZone support) that are not available in Cortex-M4.
Changes:
- Update doxygen group from cortex-m4 to cortex-m33
- Change .cpu directive from cortex-m4 to cortex-m33
| -rw-r--r-- | libcpu/arm/cortex-m33/context_gcc.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/arm/cortex-m33/context_gcc.S b/libcpu/arm/cortex-m33/context_gcc.S index 8b850cd1c0..9a83967f4e 100644 --- a/libcpu/arm/cortex-m33/context_gcc.S +++ b/libcpu/arm/cortex-m33/context_gcc.S @@ -13,13 +13,13 @@ */ /** - * @addtogroup cortex-m4 + * @addtogroup cortex-m33 */ /*@{*/ #include <rtconfig.h> -.cpu cortex-m4 +.cpu cortex-m33 .syntax unified .thumb .text |
