Commit graph

54 commits

Author SHA1 Message Date
iceman1001
646f1a5b97 making the spiffs write guarded if firmware was compiled with spiffs flash enabled 2025-06-11 12:27:04 +02:00
iceman1001
24d6013f10 making the spiffs write guarded if firmware was compiled with spiffs flash enabled 2025-06-11 12:26:11 +02:00
John de Kroon
59839f1107
Store card in spiff memory
Signed-off-by: John de Kroon <mail@johndekroon.nl>
2025-03-29 12:55:09 +01:00
iceman1001
cef07dedf6 code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits 2025-02-21 15:38:33 +01:00
Philippe Teuwen
838e0adfa7 rework Mifare simulation flags 2024-10-19 20:34:40 +02:00
Philippe Teuwen
a11ba61b01 hf mf ecfill: add support for quick dump via backdoor auth 2024-10-13 22:55:41 +02:00
Philippe Teuwen
dc91a6d1da hf_mattyrun: fix compilation error on recent gcc 2024-08-31 10:11:09 +02:00
Philippe Teuwen
ee8b9ca74b make style 2024-08-03 21:21:11 +02:00
Michael Roland
0503d140f3 Move dictionary definition (MATTYRUN_MFC_DEFAULT_KEYS) into separate header file and prune keyset 2024-07-25 12:38:12 +02:00
Michael Roland
9d65fa6aee fix incorrect display of partial emulation state 2024-05-15 15:34:08 +02:00
Michael Roland
7d49b168c8 fix LED signalling 2024-05-05 01:52:16 +02:00
Michael Roland
63b9c91fcc Rewrite documentation and and improve/cleanup coding style 2024-05-05 01:36:20 +02:00
Michael Roland
83a4f7476f load additional user-defined keys from emulator memory 2024-05-04 23:43:39 +02:00
Michael Roland
ff997bed26 rewrite of HF MattyRun standalone mode 2024-05-02 09:49:47 +02:00
iceman1001
6ba002725f rmeoved some fct devices side regarding eml get/ set 2023-07-27 18:55:41 +02:00
nvx
edd8e36d80 Cleanup arm-side reader-mode mifare classic block read/write code. 2023-07-04 00:11:01 +10:00
Philippe Teuwen
b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
Philippe Teuwen
ce2148b22c namespace-protect static vars in standalone modes to avoid conflits when merged with dankarmulti 2021-12-13 01:56:57 +01:00
Philippe Teuwen
5b54385347 rename globals 2021-08-21 23:08:26 +02:00
iceman1001
8d18860c6a fix cppchecker 2021-03-26 21:30:25 +01:00
Philippe Teuwen
b081684f22 HF_MATTYRUN: turn leds off when quitting mode 2020-10-06 01:17:40 +02:00
Philippe Teuwen
224cb2ffd7 make style 2020-06-08 03:15:10 +02:00
iceman1001
b22ea6f846 fix: matty_run eloadcard 2020-05-20 18:28:10 +02:00
Philippe Teuwen
b556810776 armsrc: clarify static vars vs global vars, part 2 2020-05-19 17:25:58 +02:00
Philippe Teuwen
3f71be870b cppcheck on hf_mattyrun 2020-05-14 23:26:41 +02:00
Philippe Teuwen
026707b960 arm: fix prototypes 2020-05-11 13:48:57 +02:00
iceman1001
9dc419cec5 partial fix for mattyrun 2020-02-28 10:01:52 +01:00
iceman1001
657061f8d5 fix: use defines.. 2019-12-26 23:41:30 +01:00
Philippe Teuwen
39fd6b1910 coverity: separate crypto1 fcts ARM<>host into create/destroy and init/deinit 2019-10-18 16:58:24 +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
Philippe Teuwen
12d38bb6ac fix standalones after Mifare1ksim changes 2019-08-07 11:57:26 +02:00
Philippe Teuwen
f276dca3f1 less hardcoded sizes and more ARRAYLEN 2019-07-31 23:45:17 +02:00
Philippe Teuwen
8281d3a384 Fix hf_mattyrun bug introduced in 732bc766f9 2019-07-16 22:47:34 +02:00
Philippe Teuwen
aab0558a58 minor txt alignments 2019-07-09 22:49:57 +02:00
Philippe Teuwen
1ebfa897c8 remove some cppcheck warnings 2019-06-12 06:41:23 -07:00
Philippe Teuwen
a55e597e36 make style 2019-06-07 21:40:33 +02:00
Philippe Teuwen
732bc766f9 Reduce some var scopes 2019-06-07 18:41:39 +02:00
Philippe Teuwen
4761ea13f7 MF_DBGLEVEL => DBGLEVEL (pm3 side) 2019-06-06 10:05:09 +02:00
iceman1001
bb45aad212 fix: mattyrun - use 10/7/4 uid (@McEloff) 2019-05-23 03:40:01 -04:00
iceman1001
81053d8c42 fix: standalone mode mattyrun now compiles 2019-05-23 03:03:24 -04:00
Philippe Teuwen
cb452c98ba rework Dbprintf & add color support 2019-04-26 10:36:06 +02:00
iceman1001
7220653ccd chg: refactor standalone mode info string
add: icerun - skeleton standalone mode for ppl to use as base for their new modes.
2019-04-25 21:44:34 +02:00
iceman1001
9c776c8935 fix: standalonemode matty_run now compiles 2019-04-19 09:23:02 +02:00
iceman1001
db78d26b9f styles 2019-04-07 10:33:34 +02:00
iceman1001
ca9061bd32 changed byte_t -> uint8_t 2019-03-21 15:19:18 +01:00
iceman1001
4706d27903 reassigned 2019-03-18 20:11:19 +01:00
Philippe Teuwen
1b2601a48a Add missing EOF LF 2019-03-12 00:12:26 +01:00
Philippe Teuwen
961d929f4d changing {} style to match majority of previous style 2019-03-10 11:20:22 +01:00
Philippe Teuwen
0373696662 make style 2019-03-10 00:00:59 +01:00
Philippe Teuwen
957464ca88 armsrc Standalone: fix mix of spaces & tabs 2019-03-09 11:19:45 +01:00