11/*******************************************************************************
2- * Copyright (c) 2021 ARM Ltd. and others
2+ * Copyright (c) 2022 ARM Ltd. and others
33* All rights reserved. This program and the accompanying materials
44* are made available under the terms of the Eclipse Public License v1.0
55* which accompanies this distribution, and is available at
@@ -742,6 +742,7 @@ protected String getCpuPrefix(String cpu, String mve) {
742742 bMve = true ;
743743 break ;
744744 case "Cortex-M55" : //$NON-NLS-1$
745+ case "Cortex-M85" : //$NON-NLS-1$
745746 bMve = true ;
746747 break ;
747748 default :
@@ -768,7 +769,7 @@ protected String getCpuPrefix(String cpu, String mve) {
768769 *
769770 * @param cpu device info's Dcore attribute
770771 * @param fpu device info's Dfpu attribute
771- * @param mve device info's Ddsp attribute
772+ * @param dsp device info's Ddsp attribute
772773 * @param mve device info's Dmve attribute
773774 * @return resulting FPU string
774775 */
@@ -777,7 +778,7 @@ public String getFpuSuffix(String cpu, String fpu, String dsp, String mve) {
777778 if (CmsisConstants .FP_MVE .equals (mve )) {
778779 return "FP16.FP32" ; //$NON-NLS-1$
779780 }
780- if ("Cortex-M33" .equals (cpu )) { //$NON-NLS-1$
781+ if ("Cortex-M33" .equals (cpu ) || "Star-MC1" . equals ( cpu ) ) { //$NON-NLS-1$
781782 if (!CmsisConstants .DSP .equals (dsp )) {
782783 return NoDSP_NoFPU ;
783784 }
@@ -835,12 +836,13 @@ public String getFpuSuffix(String cpu, String fpu, String dsp, String mve) {
835836 case "ARMV81MML" : //$NON-NLS-1$
836837 return dp ? "FP16.FP32.FP64" : "FP16.FP32" ; //$NON-NLS-1$ //$NON-NLS-2$
837838 case "Cortex-M55" : //$NON-NLS-1$
839+ case "Cortex-M85" : //$NON-NLS-1$
838840 return "FP16.FP32.FP64" ; // $NON-NLS-2$
839841
840842 case "Cortex-M35P" : //$NON-NLS-1$
841843 case "Cortex-M33" : //$NON-NLS-1$
844+ case "Star-MC1" : //$NON-NLS-1$
842845 return "FPv5_SP_D16" ; //$NON-NLS-1$
843-
844846 }
845847 return NoFPU ;
846848 }
0 commit comments