Commit graph

61 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
595fde5312 update scripts to work with make install 2019-08-30 23:35:29 +02:00
Philippe Teuwen
742b62502e make install, second half 2019-08-30 22:44:52 +02:00
Philippe Teuwen
3245260c00 Add Makefile.defs with common defs 2019-08-30 22:10:06 +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
99159b3cda remove makefile flash targets, better to use provided scripts or direct calls to flasher 2019-08-30 10:40:02 +02:00
Philippe Teuwen
a78839a644 make os -> make fullimage 2019-08-30 10:28:56 +02:00
Philippe Teuwen
847b6bcc33 remove tabs 2019-08-13 17:51:11 +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
Philippe Teuwen
92122877d0 fix nonce2key typo 2019-08-09 12:12:22 +02:00
Philippe Teuwen
cb439ef58b style of .v files 2019-07-30 22:51:38 +02:00
Philippe Teuwen
2fee6f597d add tab detection in Makefile 2019-07-24 00:56:01 +02:00
Philippe Teuwen
383d3327be remove spurious changes in make style 2019-07-14 18:42:11 +02:00
Philippe Teuwen
742fe16830 Makefile verbose mode: make V=1 as for CMake 2019-06-02 16:04:35 +02:00
Philippe Teuwen
a23be5e6b3 make help: remove spurious parenthesis 2019-06-02 15:52:58 +02:00
Philippe Teuwen
8c0cd4cfa2 Cleaner makefile execution, use 'make Q=' if you want to see full lines 2019-06-02 00:25:25 +02:00
Philippe Teuwen
3bf26f2808 simplify makefile 2019-06-01 22:49:28 +02:00
Philippe Teuwen
355319e36a Automate make clean when platform definitions are changed 2019-06-01 01:37:02 +02:00
Fl0-0
1560d1f1b3 using saved STANDALONE print 2019-05-31 14:54:44 +02:00
Philippe Teuwen
c6b8c0c472 manual Makefile style (as some tabs need to be preserved) 2019-05-06 20:45:59 +02:00
Philippe Teuwen
5b86284b49 update docs 2019-05-05 19:53:58 +02:00
Philippe Teuwen
3176684f4a Add usart dev cmds & dynamic flash support capability 2019-05-03 22:30:17 +02:00
Philippe Teuwen
f3b3508d3e Move compile options to Makefile.hal 2019-04-25 22:15:16 +02:00
Philippe Teuwen
9fca642e10 Add makefile dependencies for recovery: need bootrom & os 2019-04-25 01:59:30 +02:00
Philippe Teuwen
a7448f802f make style: don't indent preprocessor directives 2019-04-07 12:10:51 +02:00
Philippe Teuwen
7fa4b86df6 textual 2019-04-05 22:45:42 +02:00
Philippe Teuwen
a738cdcdb2 Detecting weird codepages 2019-04-05 22:44:50 +02:00
Philippe Teuwen
9b9120b0f2 Move CRLF normalization from make style to git attributes 2019-03-28 14:28:42 +01:00
Philippe Teuwen
d447fb838f global makefile: cleanup targets 2019-03-17 00:02:58 +01:00
Philippe Teuwen
f205f9db87 make style: take care of EOF LF 2019-03-12 00:11:27 +01:00
Philippe Teuwen
d21302d39c make style: test for astyle presence 2019-03-11 17:49:07 +01:00
Philippe Teuwen
119e3f0ed9 Makefile: allow alternative platforms, try make PLATFORM=foo 2019-03-11 00:44:34 +01:00
Philippe Teuwen
2f12e57408 Makefiles: remove spurious spaces/tabs 2019-03-10 11:35:03 +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
0d9223a547 client: fix mix of spaces & tabs 2019-03-09 23:35:06 +01:00
Philippe Teuwen
716c17bac8 Introduce make style, more to come 2019-03-09 09:11:26 +01:00
Chris
5f77121694 initial commit to be in sync the-soon-defunct repo pm3rdv40. 2018-08-12 21:54:31 +02:00
iceman1001
fca1c9b7cf chg: 'hf mf mifare' - (deviceside) reset cycles when negative or too large 2018-02-05 16:47:10 +01:00
Brian Pow
d412240760 added 'make mfkey' and 'make nonce2key', 'make all' now builds mfkey and nonce2key 2018-02-04 21:55:33 +08:00
Federico Cerutti
26713b3315 Install instructions and makefile switch for ArchLinux 2018-01-20 19:31:04 +01:00
ceres-c
5b979d3b72 Fixed udev makefile 2017-10-19 16:10:46 +02:00
iceman1001
28f1f23d48 chg: easy printing of MAKE variables
Usage::
  make print-FLASHTOOL
  cd bootrom; make print-APP_CFLAGS
  cd client; make print-GCC_VERSION
2017-09-18 18:59:51 +02:00
iceman1001
1ae1311926 ADD: some more comments
CHG: 'make udev'   now also addes user to the dialout group.
2017-08-27 13:22:10 +02:00
iceman1001
475a19b937 part of monstermerge. 2017-07-27 20:59:54 +02:00
iceman1001
3f7540c9b7 CHG: added an entry to copy the 77-mm-usb-device-blacklist.rules file into /etc/udev/rules.d and reload the rules.
All needs to be executed as root,  so I use sudo.

  pm3:>make udev

Is all that is needed to install it on Linux systems.
2016-05-16 19:04:04 +02:00
iceman1001
c2731f37be CHG: a major remake of the "hf mf c*" commands. Ie chinese magic tags. Tried to make them consistent in parameter calls and simplified. And fixed the annoying gen1 tags that answers with a ACK/NACK on HALT commands.. 2015-11-09 21:46:15 +01:00
iceman1001
9783989b40 ADD: pwpiwi 's FPGA compress 2015-06-25 12:22:34 +02:00