Commit graph

24 commits

Author SHA1 Message Date
Piotr Rzeszut
adadfb7fad Corrected documentation on SPI FLASH memory usage after SPIFFS area extension. 2024-12-29 22:45:50 +01:00
Piotr Rzeszut
e3486e57b1 Extend spiffs area to full FLASH array except last two sectors (signature and reserve one for future use) 2024-12-29 22:20:49 +01:00
Piotr Rzeszut
2ccfa187ab Remove unused definitions related to fixed-size SPI flash, improve comments for documentation 2024-12-29 22:19:32 +01:00
Piotr Rzeszut
b1ba5b3ea6 Merge branch 'master' into extend-spiffs-partition-last-page 2024-12-29 22:03:21 +01:00
Piotr Rzeszut
dd17effaab Move T55XX config to spiffs file 2024-12-26 19:46:55 +01:00
Piotr Rzeszut
d1db0aa799 Extending SPIFFS into last page of the SPI FLASH 2024-12-26 15:04:05 +01:00
Piotr Rzeszut
34883cf91f Remove unused pointers to statically alocated storage for keys from pmflash.h. iClass flash-stores password dictionary seem not to be used anywhere. 2024-12-26 03:03:48 +01:00
Piotr Rzeszut
d9a3e4f050 Refactor keys in flash statistics to check for files 2024-12-26 01:11:46 +01:00
Piotr Rzeszut
5af815f271 Mifare dictionary uploaded to spiffs using legacy function 2024-12-25 21:08:44 +01:00
Piotr Rzeszut
565f3f1feb Extend storage allocated for Mifare keys to 4095 keys. Update documentation on the feature and memory map 2024-12-07 00:34:29 +01:00
ANTodorov
d49e1f6af6
remove unused definition 2024-11-17 22:16:43 +02:00
ANTodorov
34e317a9df
address review comments 2024-11-17 22:07:58 +02:00
ANTodorov
48ec109a1e
use all spi flash v0.1
* introduced a new communication command CMD_FLASHMEM_PAGES64K to get the number of 64k pages
* "the last page" is a special, holding the dicts and some other stuff, relocated to there
* raised timeout when wiping a mem page (W25Q16 looks a bit slower than W25X20BV)
* loop all pages in Flash_WipeMemory()
2024-11-17 19:03:15 +02:00
wh201906
3a87979a22
Add the missing definition
for commit 79cfa1d8fa
(Although this definition is unused)
2023-04-13 01:23:50 +08:00
Jean-Michel Picod
8da4da6aa5 Also update comment about total size for Mifare keys storage. 2022-11-24 09:40:34 +01:00
Jean-Michel Picod
ba83c26c1e Add one more sector for Mifare keys on SPI flash.
This is a breaking change and after firmware upgrade, dictionnaries
should be loaded into flash again to ensure they're valid.
2022-11-24 09:35:22 +01:00
Jean-Michel Picod
1adec4dfb2 Fix overflow in SPI memory when writing default key dictionnaries.
Boundaries were defined in the memory layout but weren't enforced
by the client, causing an overflow when trying to load a
dictionnary that was too big.
It's too hard to enforce it on the ARM side as the command is a
generic write.
Now that limits are defined, also outputs them as part of the
`hw status` command.
2022-11-24 03:16:58 +01:00
Philippe Teuwen
30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001
451de246b7 if client wants to know how much SPIFFS 2021-05-16 23:01:37 +02:00
Philippe Teuwen
cb8d589fc4 armsrc: clarify static vars vs global vars, part 3 2020-05-19 18:12:40 +02:00
Philippe Teuwen
d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
iceman1001
283060f962 chg: renaming a struct 2019-07-27 21:15:43 +02:00
merlokk
bd8824a2f3 make style 2019-07-16 16:10:11 +03:00
merlokk
20d13d5509 added PACKED attribute for structures and reorganize include folder 2019-07-16 14:50:38 +03:00