mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Basic read/write/erase flash functionality works from the CLI
Very little code coverage tested yet, only writes of small sizes
This commit is contained in:
parent
ec3d85ae92
commit
3eb28f16ea
12 changed files with 839 additions and 4 deletions
|
@ -24,7 +24,7 @@ bool spiInit(SPI_TypeDef *instance);
|
|||
void spiSetDivisor(SPI_TypeDef *instance, uint16_t divisor);
|
||||
uint8_t spiTransferByte(SPI_TypeDef *instance, uint8_t in);
|
||||
|
||||
bool spiTransfer(SPI_TypeDef *instance, uint8_t *out, uint8_t *in, int len);
|
||||
bool spiTransfer(SPI_TypeDef *instance, uint8_t *out, const uint8_t *in, int len);
|
||||
|
||||
uint16_t spiGetErrorCounter(SPI_TypeDef *instance);
|
||||
void spiResetErrorCounter(SPI_TypeDef *instance);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue