From 3295ab4e5cf05cb546856414f1d40b5deedcf219 Mon Sep 17 00:00:00 2001 From: Jerry Jacobs Date: Tue, 12 Feb 2019 21:07:35 +0100 Subject: [PATCH] Revert "Add support for CS32 micro-controller (#757)" (fixes #761) This reverts commit 7651d2116fd74c7803ea00ab1da7cf3d00faf44c. --- include/stlink.h | 1 - src/flash_loader.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/stlink.h b/include/stlink.h index 0f2f5bb51..abacd127e 100644 --- a/include/stlink.h +++ b/include/stlink.h @@ -53,7 +53,6 @@ extern "C" { /* cortex core ids */ // TODO clean this up... #define STM32VL_CORE_ID 0x1ba01477 -#define CS32_CORE_ID 0x2ba01477 #define STM32F7_CORE_ID 0x5ba02477 // Constant STM32 memory map figures diff --git a/src/flash_loader.c b/src/flash_loader.c index 25c11e465..7684680a7 100644 --- a/src/flash_loader.c +++ b/src/flash_loader.c @@ -262,7 +262,6 @@ int stlink_flash_loader_write_to_sram(stlink_t *sl, stm32_addr_t* addr, size_t* loader_code = loader_code_stm32l; loader_size = sizeof(loader_code_stm32l); } else if (sl->core_id == STM32VL_CORE_ID - || sl->core_id == CS32_CORE_ID || sl->chip_id == STLINK_CHIPID_STM32_F3 || sl->chip_id == STLINK_CHIPID_STM32_F3_SMALL || sl->chip_id == STLINK_CHIPID_STM32_F303_HIGH