chg: flashmem adaptions
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "proxmark3.h"
|
||||
#include "apps.h"
|
||||
#include "ticks.h"
|
||||
|
||||
// Used Command
|
||||
#define ID 0x90
|
||||
@@ -53,7 +54,6 @@
|
||||
|
||||
#define UNIQUE_ID 0x4B
|
||||
|
||||
|
||||
// Not used or not support command
|
||||
#define RELEASE 0xAB
|
||||
#define POWERDOWN 0xB9
|
||||
@@ -120,4 +120,10 @@ uint16_t FlashSendByte(uint32_t data);
|
||||
bool FlashInit();
|
||||
void EXFLASH_TEST(void);
|
||||
|
||||
#endif
|
||||
void Flash_UniqueID(uint8_t *uid);
|
||||
uint8_t Flash_ReadID(void);
|
||||
uint8_t Flash_ReadData(uint32_t address, uint8_t *out, uint16_t len);
|
||||
uint8_t Flash_WriteData(uint32_t address, uint8_t *in, uint16_t len);
|
||||
void Flashmem_print_status(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user