put ch32f1 in its own file
This commit is contained in:
parent
04eb33e039
commit
7c120ecb58
|
@ -54,6 +54,7 @@ SRC = \
|
|||
samd.c \
|
||||
samx5x.c \
|
||||
stm32f1.c \
|
||||
ch32f1.c \
|
||||
stm32f4.c \
|
||||
stm32h7.c \
|
||||
stm32l0.c \
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue