This is an automated email from Gerrit. "Karl Palsson <ka...@tweak.au>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7846
-- gerrit commit f26e8bdd37e569f2fa2a6398697a119de767dee1 Author: Karl Palsson <ka...@tweak.au> Date: Wed Aug 2 21:42:08 2023 +0000 target/cortex_m: Add Realtek Real-M200 and M300 These cores are advertised as M23 and M33 compatible, but are identified by the Realtek implementor id. These cores are found on the RTL872xD family, at least. Change-Id: I4106ccb7e8c562f98072a71e9e818f57999d664e Signed-off-by: Karl Palsson <ka...@tweak.au> diff --git a/src/target/arm.h b/src/target/arm.h index f3abd6cbab..28e5330191 100644 --- a/src/target/arm.h +++ b/src/target/arm.h @@ -61,6 +61,7 @@ enum arm_arch { /** Known ARM implementor IDs */ enum arm_implementor { ARM_IMPLEMENTOR_ARM = 0x41, + ARM_IMPLEMENTOR_REALTEK = 0x72, }; /** diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c index 92af1ac7a7..ed20f18876 100644 --- a/src/target/cortex_m.c +++ b/src/target/cortex_m.c @@ -123,6 +123,19 @@ static const struct cortex_m_part_info cortex_m_parts[] = { .arch = ARM_ARCH_V8M, .flags = CORTEX_M_F_HAS_FPV5, }, + { + .implementor = ARM_IMPLEMENTOR_REALTEK, + .partno = 0xd20, + .name = "Real-M200 (CM23)", + .arch = ARM_ARCH_V8M, + }, + { + .implementor = ARM_IMPLEMENTOR_REALTEK, + .partno = 0xd22, + .name = "Real-M300 (CM33)", + .arch = ARM_ARCH_V8M, + .flags = CORTEX_M_F_HAS_FPV5, + }, }; /* forward declarations */ --