Basic JTAG working
This commit is contained in:
parent
37338e2ad8
commit
3beecbc4fa
9 changed files with 147 additions and 65 deletions
|
|
@ -22,7 +22,7 @@ struct spi_flash_if {
|
|||
void spif_init(struct spi_flash_if *spif, size_t page_size, SPI_TypeDef *spi, void (*cs)(bool val));
|
||||
|
||||
void spif_write(struct spi_flash_if *spif, size_t addr, size_t len, const char* data);
|
||||
void spif_read(struct spi_flash_if *spif, size_t addr, size_t len, char* data);
|
||||
ssize_t spif_read(struct spi_flash_if *spif, size_t addr, size_t len, char* data);
|
||||
|
||||
void spif_clear_mem(struct spi_flash_if *spif);
|
||||
void spif_clear_sector(struct spi_flash_if *spif, size_t addr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue