Fix TPI NVM Write handler -- AVRStudio sends out writes in page sized chunks, not byte sized chunks.
This commit is contained in:
parent
7c8f4a716f
commit
4600fd0cb6
4 changed files with 22 additions and 9 deletions
|
@ -65,7 +65,7 @@
|
|||
void TINYNVM_SendPointerAddress(const uint16_t AbsoluteAddress);
|
||||
bool TINYNVM_WaitWhileNVMBusBusy(void);
|
||||
bool TINYNVM_ReadMemory(const uint32_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadLength);
|
||||
bool TINYNVM_WriteMemory(const uint32_t WriteAddress, const uint8_t Byte);
|
||||
bool TINYNVM_WriteMemory(const uint32_t WriteAddress, const uint8_t* WriteBuffer, uint16_t WriteLength);
|
||||
bool TINYNVM_EraseMemory(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue