PoC: Integrate spi and flash code

This commit is contained in:
Mikael Ågren 2025-02-03 17:46:25 +01:00
parent 12c23cc149
commit cbc7adf706
No known key found for this signature in database
GPG key ID: E02DA3D397792C46
6 changed files with 11 additions and 12 deletions

View file

@ -4,8 +4,7 @@
#ifndef TKEY_SPI_H
#define TKEY_SPI_H
#include <stddef.h>
#include <stdint.h>
#include "../tk1/types.h"
int spi_ready(void);
int spi_transfer(uint8_t *cmd, size_t cmd_size, uint8_t *tx_buf, size_t tx_size,