Skip to content

Commit c91a7f4

Browse files
illustriousnessRbb666
authored andcommitted
[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
1 parent d3ba09a commit c91a7f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcpu/arm/cortex-m33/context_gcc.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
*/
1414

1515
/**
16-
* @addtogroup cortex-m4
16+
* @addtogroup cortex-m33
1717
*/
1818
/*@{*/
1919

2020
#include <rtconfig.h>
2121

22-
.cpu cortex-m4
22+
.cpu cortex-m33
2323
.syntax unified
2424
.thumb
2525
.text

0 commit comments

Comments
 (0)