Complete combining of PDI and TPI target communication code files, stub out TINY NVM controller functions.
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
#include <LUFA/Common/Common.h>
|
||||
|
||||
#include "XPROGProtocol.h"
|
||||
#include "TPITarget.h"
|
||||
#include "XPROGTarget.h"
|
||||
|
||||
/* Preprocessor Checks: */
|
||||
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
|
||||
@@ -58,4 +58,11 @@
|
||||
/* Defines: */
|
||||
#define TINY_NVM_BUSY_TIMEOUT_MS 100
|
||||
|
||||
/* Function Prototypes: */
|
||||
bool TINYNVM_WaitWhileNVMControllerBusy(void);
|
||||
bool TINYNVM_ReadMemory(const uint32_t ReadAddress, uint8_t* ReadBuffer, const uint16_t ReadSize);
|
||||
bool TINYNVM_WriteMemory(const uint8_t WriteCommand, const uint32_t WriteAddress, const uint8_t* WriteBuffer);
|
||||
bool TINYNVM_EraseMemory(const uint8_t EraseCommand, const uint32_t Address);
|
||||
bool TINYNVM_WaitWhileNVMBusBusy(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user