put ch32f1 in its own file

This commit is contained in:
mean 2022-04-07 14:12:21 +02:00 committed by Rachel Mant
parent 04eb33e039
commit 7c120ecb58
3 changed files with 2 additions and 3 deletions

View File

@ -54,6 +54,7 @@ SRC = \
samd.c \
samx5x.c \
stm32f1.c \
ch32f1.c \
stm32f4.c \
stm32h7.c \
stm32l0.c \

View File

@ -97,9 +97,7 @@ static int stm32f1_flash_write(struct target_flash *f,
#define FLASHSIZE 0x1FFFF7E0
#define FLASHSIZE_F0 0x1FFFF7CC
//
#include "stm32f1_ch32.c"
//
static void stm32f1_add_flash(target *t,
uint32_t addr, size_t length, size_t erasesize)
{