This is an automated email from Gerrit.

"Christian U. <i...@cu-tec.de>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/7110

-- gerrit

commit 875a5ec377ab940f122849a959587abb6656b507
Author: Christian U <i...@cu-tec.de>
Date:   Fri Aug 5 14:10:13 2022 +0200

    Add support for Geehy Cortex-M0+ controllers
    proposed by Paul Fertser on the user mailing list
    
    Change-Id: Iff08ded19166c6964e94732243e25dbaf3510bee
    Signed-off-by: Christian U <i...@cu-tec.de>

diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c
index 455a06a9b8..37822e3440 100644
--- a/src/flash/nor/stm32f1x.c
+++ b/src/flash/nor/stm32f1x.c
@@ -745,6 +745,7 @@ static int stm32x_get_property_addr(struct target *target, 
struct stm32x_propert
 
        switch (cortex_m_get_partno_safe(target)) {
        case CORTEX_M0_PARTNO: /* STM32F0x devices */
+       case CORTEX_M0P_PARTNO: /* APM32x devices */
                addr->device_id = 0x40015800;
                addr->flash_size = 0x1FFFF7CC;
                return ERROR_OK;

-- 

Reply via email to