This is an automated email from Gerrit.

"Yang sheng <iyysh...@gmail.com>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/7136

-- gerrit

commit dd343cc9aa75b12efda6fc0c74e6114e033978dc
Author: iysheng <iyysh...@gmail.com>
Date:   Sat Aug 20 08:30:59 2022 +0800

    target/arm: Add support with identify START-MC1
    
    Tested with an PLUS-F5270 board which uses the MM32F5277E9PV.
    
    Signed-off-by: iysheng <iyysh...@gmail.com>
    Change-Id: Icb75ae8337fdc6fa60e39d3d74dd8bc163707bdd

diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c
index aeaeb18294..1bb37797a7 100644
--- a/src/target/cortex_m.c
+++ b/src/target/cortex_m.c
@@ -91,6 +91,12 @@ static const struct cortex_m_part_info cortex_m_parts[] = {
                .arch = ARM_ARCH_V8M,
                .flags = CORTEX_M_F_HAS_FPV5,
        },
+       {
+               .partno = START_MC1_PARTNO,
+               .name = "START-MC1",
+               .arch = ARM_ARCH_V8M,
+               .flags = CORTEX_M_F_HAS_FPV5,
+       },
        {
                .partno = CORTEX_M35P_PARTNO,
                .name = "Cortex-M35P",
diff --git a/src/target/cortex_m.h b/src/target/cortex_m.h
index 69368a919e..89dfd66696 100644
--- a/src/target/cortex_m.h
+++ b/src/target/cortex_m.h
@@ -44,6 +44,7 @@ enum cortex_m_partno {
        CORTEX_M0P_PARTNO  = 0xC60,
        CORTEX_M23_PARTNO  = 0xD20,
        CORTEX_M33_PARTNO  = 0xD21,
+       START_MC1_PARTNO   = 0x132,
        CORTEX_M35P_PARTNO = 0xD31,
        CORTEX_M55_PARTNO  = 0xD22,
 };

-- 

Reply via email to