Commit graph

1820 commits

Author SHA1 Message Date
Philippe Teuwen
6949a780fc Add possibility to make install more firmware variants 2019-08-31 00:26:35 +02:00
Philippe Teuwen
4fdb5a2f4b make install: half way 2019-08-30 21:55:13 +02:00
Philippe Teuwen
b5f5b9276f make install skeleton 2019-08-30 21:44:40 +02:00
Philippe Teuwen
2022df1068 make style 2019-08-30 10:45:52 +02:00
Philippe Teuwen
8987e956ac POSIX sh version of mkversion
Most targeted platforms have "sh" and don't need Perl as requirement.
Still Perl script is present as fallback.
2019-08-29 23:23:53 +02:00
Iceman
3408d75ac9
Update Makefile.hal
fix https://github.com/RfidResearchGroup/proxmark3/issues/375
2019-08-29 21:25:06 +02:00
iceman1001
03867018f1 chg: iclass fixes. better timings, to get 280us vs 330us (default) time before card response. 2019-08-28 21:29:08 +02:00
iceman1001
501182ca06 chg: ecload NG, fchk use ecfill trick 2019-08-28 21:23:31 +02:00
iceman1001
28d703d6df chg: eload NG 2019-08-28 21:21:52 +02:00
Philippe Teuwen
a64aa99b74 remove tabs 2019-08-27 21:19:44 +02:00
Philippe Teuwen
d88b76beda partial make style 2019-08-27 17:28:08 +02:00
iceman1001
48d3802d35 chg: optimization of iclass mac calculations on deviceside (@pwpiwi) see https://github.com/Proxmark/proxmark3/pull/861
chg: some textual
2019-08-27 10:51:52 +02:00
Philippe Teuwen
16a7cfd7b2 make style (excepted cmdhficlass...) 2019-08-26 22:28:39 +02:00
Iceman
fea5d88278 add: detect unfused / write once magic tags, from https://github.com/nfc-tools/libnfc/pull/554 2019-08-20 14:53:52 +02:00
sguerrini97
a6e5f9922f PCF7931: Print found single/consecutive block(s), fixes to block 1 check and some comments
Printing blocks makes it easier to manually reorder blocks when block 0 and 1 are not transmitted
2019-08-19 17:10:25 +02:00
iceman1001
6f9ec6dd24 FIX: 'spiffs : fixes the device going rouge with bad memory reading' Thanks @megabug 2019-08-19 15:18:17 +02:00
Philippe Teuwen
3771c150f0 make style 2019-08-13 17:42:03 +02:00
Philippe Teuwen
763c94334b add missing includes and fix mf1ksim usage in hf_colin standalone mode 2019-08-13 17:39:48 +02:00
Philippe Teuwen
0ace6bffb8 missing includes for spiffs 2019-08-13 17:39:48 +02:00
cjbrigato
961f98c125 SPIFFS : FIXES FS corruption against high numbero f current losses, high number of files manipulation. FIXES LOG_BLOCK erasing handlers. FIXES Garbage Collector. Overall, SPIFFS should now be WAY MORE resilient to any form of misbehavior. In case of corrupted filesystem (should still be readable !), spamming 'mem spiffs check' from the client will ensure at least 2 new free 4k blocks each tile (if number of LOG_PAGE available is enough) and in the same pass will move/reorganize the LOG_PAGES of contextual blocks. Yiha 2019-08-13 17:39:48 +02:00
iceman1001
5acc77bc95 chg: mem spiffs info - text output 2019-08-12 16:33:27 -04:00
Philippe Teuwen
47b60d84de make style 2019-08-11 23:53:45 +02:00
Philippe Teuwen
80b4e81130 Fix fpga_compress race condition and isolate it in tools 2019-08-11 21:42:01 +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
Iceman
b7d412d27b Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 2019-08-10 21:04:25 +02:00
Iceman
a78b8a406c fix: hf iclass sim 3 - reading now works... 2019-08-10 18:33:06 +02:00
Philippe Teuwen
c58937b5f5 client: clean deps while cleaning objects 2019-08-09 12:12:22 +02:00
Philippe Teuwen
bc28eb04e4 Revert 00350db and add waiting time extension request mechanism, see issue #265 2019-08-07 13:04:34 +02:00
Philippe Teuwen
9b44590f8d make style 2019-08-07 13:04:26 +02:00
Philippe Teuwen
12d38bb6ac fix standalones after Mifare1ksim changes 2019-08-07 11:57:26 +02:00
Philippe Teuwen
12a0540d91 mf sim: add option to pass explicitly atqa/sak and reject explicitly unknown vals for option t 2019-08-07 01:32:37 +02:00
Philippe Teuwen
4615354864 mf sim: respect DBG_NONE and explicit ATQA/SAK usage 2019-08-07 00:47:32 +02:00
Philippe Teuwen
80941ed9e1 Remove comments 2019-08-07 00:02:00 +02:00
Philippe Teuwen
9f8e63a7c8 print errors only if dbg level allows errors 2019-08-06 23:19:59 +02:00
Philippe Teuwen
650dd5855f ok it seems PMW CNTR is not reset as promised in the datasheet, let's fix this for now... 2019-08-06 23:10:02 +02:00
Philippe Teuwen
0f9880b18f cleaning 2019-08-06 13:52:03 +02:00
Philippe Teuwen
1354aec556 typos 2019-08-06 13:51:10 +02:00
Philippe Teuwen
c74028fa10 show slow clock in hw status 2019-08-06 13:42:17 +02:00
Philippe Teuwen
8b3159c83d Use more defines when using main clock or master clock 2019-08-06 13:40:08 +02:00
Philippe Teuwen
2cbe43f269 clarifications and minor changes in slow clock related operations:
* SpinDelay and SpinDelayUs: now rounding applies instead of truncating
* Document maximum duration of SpinDelay/SpinDelayUs/BUTTON_CLICK/BUTTON_HELD
* Add argument check against max duration in SpinDelay/BUTTON_CLICK/BUTTON_HELD
* Document why these functions don't need to take wrapping into acount as in GetTickCountDelta
* Use >= in the spinning loops
* Clarify StartTickCount calibration operations and use masks AT91C_CKGR_MAINRDY and AT91C_RTTC_RTPRES
2019-08-06 13:09:48 +02:00
iceman1001
25748b0746 style 2019-08-05 12:01:11 -04:00
Philippe Teuwen
225d406d21 cppcheck fix: Checking if unsigned variable 'len_to_read' is less than zero. 2019-08-05 00:12:35 +02:00
Philippe Teuwen
45c27573b3 ARM Makefile: softer dependency on fpga_compress 2019-08-04 21:33:57 +02:00
iceman1001
2cc24c8714 chg: 'hf iclass' generically, check button press fewer times to not interupt time critical parts too much 2019-08-04 18:31:52 +02:00
iceman1001
7cb696c5bc chg: 'hf iclass sim 3' - now supports READ4 cmd. 2019-08-04 18:16:16 +02:00
iceman1001
a90e5e1858 chg: legic cmds uses return macros.
chg: hf search started to use macros
2019-08-03 23:36:55 +02:00
Philippe Teuwen
60bfc37f35 remove more dummy cmds 2019-08-03 22:52:32 +02:00
Philippe Teuwen
61538bd635 thinfilm simulation when on battery 2019-08-03 22:37:01 +02:00
Philippe Teuwen
3dae748314 thinfilm is ok with thumb 2019-08-03 22:28:58 +02:00
Philippe Teuwen
25f358955b make hf search robust to various HF configurations 2019-08-03 22:14:12 +02:00