mirror of
https://github.com/XIVN1987/DAPLink.git
synced 2026-09-27 06:26:16 +00:00
add AT32F425 porting
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user