mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-31 04:20:28 +08:00
if client wants to know how much SPIFFS
This commit is contained in:
parent
30fc94da4c
commit
451de246b7
1 changed files with 5 additions and 1 deletions
|
@ -35,7 +35,6 @@
|
|||
# define FLASH_MEM_MAX_4K_SECTOR 0x3F000
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef FLASH_MEM_ID_LEN
|
||||
# define FLASH_MEM_ID_LEN 8
|
||||
#endif
|
||||
|
@ -79,4 +78,9 @@ typedef struct {
|
|||
uint8_t signature[FLASH_MEM_SIGNATURE_LEN];
|
||||
} PACKED rdv40_validation_t;
|
||||
|
||||
// SPIFFS current allocates 128kb of the 256kb available.
|
||||
#ifndef FLASH_SPIFFS_ALLOCATED_SIZE
|
||||
# define FLASH_SPIFFS_ALLOCATED_SIZE (1024 * 128)
|
||||
#endif
|
||||
|
||||
#endif // __PMFLASH_H
|
||||
|
|
Loading…
Reference in a new issue