DAPLink (CMSIS-DAP) porting to Artery AT32F425, WCH CH32V203 and WCH CH32V305.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
680 B

#ifndef FLASH_BLOB_H
#define FLASH_BLOB_H
#include <stdint.h>
typedef struct {
uint32_t breakpoint;
uint32_t static_base;
uint32_t stack_pointer;
} program_syscall_t;
typedef struct {
const uint32_t init;
const uint32_t uninit;
const uint32_t erase_chip;
const uint32_t erase_sector;
const uint32_t program_page;
const program_syscall_t sys_call_s;
const uint32_t program_buffer;
const uint32_t algo_start;
const uint32_t algo_size;
const uint32_t *algo_blob;
const uint32_t program_buffer_size;
} program_target_t;
typedef struct {
const uint32_t start;
const uint32_t size;
} sector_info_t;
#endif