PM3 Software installation error during "make -j8 all"

After running the “make -j8 all” I get an error at the end “src/cmdlfhitag.c:231:50: error: converting to execution character set: Illegal byte sequence”. (Same error when running the “make clean && make -j8 all”.)
Here is the full output:
src/cmdlfhitag.c: In function ‘CmdLFHitagEload’:
src/cmdlfhitag.c:231:50: error: converting to execution character set: Illegal byte sequence

  • 231 | arg_lit0(“m”, “htm”, “Card type Hitag ╬╝”),*
  •  |                                                 ^*
    

make[1]: * [Makefile:935: obj/cmdlfhitag.o] Error 1
make[1]: * Waiting for unfinished jobs…
make: * [Makefile:171: client/all] Error 2

Any thoughts on what went wrong???

After that i can’t run the rest, see below:
pm3 ~/proxmark3$ ./pm3-flash-all
[!!] In devel workdir but no executable found, did you compile it?

whats does -j8 do ? have you tried just

make clean && make all

It’s in the guide… but it enables the compiler to run multiple threads

OHHH nifty. I should probably read the guide

Oh I have read this but I don’t remember -j8 being there I will try it on my next recompile. my system is pretty fast to begin with so compile time has never bothered me

Dusting this off. To the OP, we have no idea which git commit you’re trying to build from. Checkout latest and retry.
Here’s a hint for you @Blu3Rats
linux man is your (best) friend make(1) - Linux man page

man make

So if we read inside for -j we have the following

-j [jobs], –jobs[=jobs]
Specifies the number of jobs (commands) to run simultaneously. If there is more than one -j option, the last one is effective. If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously.

As Amal mentioned if you parse a number, make will spin amount of threads that equals this number, and build will be faster. Because not all the cpus are made the same and they do have diff core count, you can do just

make -j

The compiler will spin same amount of threads equal to your cpu core count :slight_smile:

3 Likes

I literally did this 48 hours ago and had the same issue. just take out -j8 you don’t need it, it just makes your build faster. just make clean && make all

1 Like

Cool, here is my latest compile from this morning

root@DietPi:~/git/proxmark3# git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
root@DietPi:~/git/proxmark3# git show 
commit b156f4a5cdcad8e37159a6868173ad24e4abbf89 (HEAD -> master, origin/master, origin/HEAD)
Author: iceman1001 <iceman@iuse.se>
Date:   Mon Aug 28 12:04:12 2023 +0200

    misspelled a name....  sorry

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 637917d1a..cae4e6507 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
 This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
 
 ## [unreleased][unreleased]
- - Swapped to OE1 for Shallow modulation on RDV4. Thanks to @gentlekiwi for testing (@d18c7db)
+ - Swapped to OE1 for Shallow modulation on RDV4. Thanks to @gentilkiwi for testing (@d18c7db)
  - Changed iClass SIO and Legacy credential detection to be more reliable (@nvx)
  - Added `hf iclass esetblk` - set iClass emulator memory block data (@nvx)
  - Added cryptorf regressiontests (@iceman1001)

































root@DietPi:~/git/proxmark3# make clean && make -j all

===================================================================
Version info:      Iceman/master/v4.16717-385-gb156f4a5c
Platform name:     Proxmark3 RDV4
PLATFORM:          PM3RDV4
PLATFORM_FPGA:     xc2s30
PLATFORM_SIZE:     512
Platform extras:   BTADDON
Included options:  SMARTCARD FLASH -DRDV4 FPC_USART_HOST LF HITAG EM4x50 EM4x70 ZX8211 GENERAL_HF ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT FPC_USART
Standalone mode:   LF_SAMYRUN
===================================================================
[*] MAKE client/clean
===================================================================
Version info:      Iceman/master/v4.16717-385-gb156f4a5c
Client platform:   Linux
GUI support:       QT5 found, enabled (Qt version 5.15.8 in /usr/lib/aarch64-linux-gnu)
native BT support: Bluez found, enabled
Jansson library:   system library not found, using local library
Lua library:       system library not found, using local library
Python3 library:   Python3 v3.11 found, enabled
Readline library:  enabled
Whereami library:  system library not found, using local library
Lua SWIG:          wrapper found
Python SWIG:       wrapper found
compiler version:  cc (Debian 12.2.0-14) 12.2.0
===================================================================
PLATFORM Linux
[*] MAKE bootrom/clean
[*] MAKE fpga_compress/clean
[*] MAKE armsrc/clean
[*] MAKE recovery/clean
[*] MAKE mfkey/clean
[*] MAKE nonce2key/clean
[*] MAKE mf_nonce_brute/clean
[*] MAKE mfd_aes_brute/clean
[*] MAKE cryptorf/clean

===================================================================
Version info:      Iceman/master/v4.16717-385-gb156f4a5c
Platform name:     Proxmark3 RDV4
PLATFORM:          PM3RDV4
PLATFORM_FPGA:     xc2s30
PLATFORM_SIZE:     512
Platform extras:   BTADDON
Included options:  SMARTCARD FLASH -DRDV4 FPC_USART_HOST LF HITAG EM4x50 EM4x70 ZX8211 GENERAL_HF ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT FPC_USART
Standalone mode:   LF_SAMYRUN
===================================================================
[*] MAKE client/all
[*] MAKE bootrom/all
[*] MAKE fpga_compress/all
[*] MAKE mfkey/all
[*] MAKE nonce2key/all
[*] MAKE mf_nonce_brute/all
[*] MAKE mfd_aes_brute/all
[*] MAKE cryptorf/all
[-] CC fpga_compress.c
[-] CC ../../common/lz4/lz4hc.c
[-] CC ../../common/lz4/lz4.c
[-] CC mfkey32.c
[-] CC brute_key.c
[-] CC ../../common/crapto1/crypto1.c
compiler version:  arm-none-eabi-gcc (15:12.2.rel1-1) 12.2.1 20221205
[-] CC util_posix.c
[=] CHECK version_pm3.c
[-] CC ../../common/crapto1/crapto1.c
[-] CC nonce2key.c
[-] CC ram-reset.s
[-] CC randoms.c
[-] CC ../../common/crapto1/crypto1.c
[-] CC ../../common/bucketsort.c
[-] CC mfd_aes_brute.c
[-] CC flash-reset.s
[-] CC ../../common/crapto1/crapto1.c
[-] CC mfkey32v2.c
[-] CC mf_nonce_brute.c
[-] CC mfd_multi_brute.c
[-] CC ../common_arm/usb_cdc.c
[-] CC ../../common/bucketsort.c
[-] CC mfkey64.c
[-] CC ../../common/crapto1/crypto1.c
[-] CC ../common_arm/clocks.c
[-] CC ../../common/crapto1/crapto1.c
[-] CC bootrom.c
[-] CC ../../common/bucketsort.c
[-] CC cm.c
[-] CC ../common_arm/flashmem.c
[-] CC iso14443crc.c
[-] CC ../common_arm/ticks.c
[-] CC ../../common/cryptorf/cryptolib.c
[-] CC sleep.c
[-] CC util.c
[-] CC sm.c
[-] CC util_posix.c
[-] CC mf_trace_brute.c
[-] CXX sma.cpp
[-] CXX sma_multi.cpp
===================================================================
[-] CC version_pm3.c
Version info:      Iceman/master/v4.16717-385-gb156f4a5c
Client platform:   Linux
GUI support:       QT5 found, enabled (Qt version 5.15.8 in /usr/lib/aarch64-linux-gnu)
native BT support: Bluez found, enabled
Jansson library:   system library not found, using local library
Lua library:       system library not found, using local library
Python3 library:   Python3 v3.11 found, enabled
Readline library:  enabled
Whereami library:  system library not found, using local library
Lua SWIG:          wrapper found
Python SWIG:       wrapper found
compiler version:  cc (Debian 12.2.0-14) 12.2.0
===================================================================
[-] CC src/mifare/aiddesfire.c
[-] CC src/aidsearch.c
[-] CC src/atrs.c
[-] CC src/cmdanalyse.c
[-] CC src/cmdcrc.c
[-] CC src/cmddata.c
[-] CC src/cmdflashmem.c
[-] CC src/cmdflashmemspiffs.c
[-] CC src/cmdhf.c
[-] CC src/cmdhf14a.c
[-] CC src/cmdhf14b.c
[-] CC src/cmdhf15.c
[-] CC src/cmdhfcryptorf.c
[-] CC src/cmdhfepa.c
[-] CC src/cmdhfemrtd.c
[-] CC src/cmdhffelica.c
[-] CC src/cmdhffido.c
[-] CC src/cmdhffudan.c
[-] CC src/cmdhfgallagher.c
[-] CC src/cmdhfksx6924.c
[-] CC src/cmdhfcipurse.c
[-] CC src/cmdhficlass.c
[-] CC src/cmdhflegic.c
[-] CC src/cmdhfjooki.c
[-] CC src/cmdhflist.c
[=] CXX brute_key
[-] CC src/cmdhflto.c
[-] CC src/cmdhfmf.c
[-] CC src/cmdhfmfdes.c
[-] CC src/cmdhfmfhard.c
[-] CC src/cmdhfmfu.c
[-] CC src/cmdhfmfp.c
[-] CC src/cmdhfntag424.c
[-] CC src/cmdhfseos.c
[-] CC src/cmdhfst.c
[-] CC src/cmdhfst25ta.c
[=] CXX mfd_aes_brute
[-] CC src/cmdhftesla.c
[-] CC src/cmdhfthinfilm.c
[-] CC src/cmdhftopaz.c
[=] LD obj/bootrom.elf
[-] CC src/cmdhftexkom.c
[-] CC src/cmdhfvas.c
[=] GEN obj/bootrom.s19
[-] CC src/cmdhfwaveshare.c
[-] CC src/cmdhfxerox.c
[-] CC src/cmdhw.c
[-] CC src/cmdlf.c
[-] CC src/cmdlfawid.c
[-] CC src/cmdlfcotag.c
[-] CC src/cmdlfdestron.c
[-] CC src/cmdlfem.c
[-] CC src/cmdlfem410x.c
[-] CC src/cmdlfem4x05.c
[-] CC src/cmdlfem4x50.c
[-] CC src/cmdlfem4x70.c
[-] CC src/cmdlffdxb.c
[-] CC src/cmdlfguard.c
[=] CXX mfd_multi_brute
[-] CC src/cmdlfgallagher.c
[-] CC src/cmdlfhid.c
[-] CC src/cmdlfhitag.c
[-] CC src/cmdlfidteck.c
[-] CC src/cmdlfindala.c
[-] CC src/cmdlfio.c
[-] CC src/cmdlfjablotron.c
[-] CC src/cmdlfkeri.c
[-] CC src/cmdlfmotorola.c
[-] CC src/cmdlfnedap.c
[-] CC src/cmdlfnexwatch.c
[-] CC src/cmdlfnoralsy.c
[-] CC src/cmdlfpac.c
[-] CC src/cmdlfparadox.c
[=] CXX cm
[=] CXX sm
[-] CC src/cmdlfpcf7931.c
[-] CC src/cmdlfpresco.c
[-] CC src/cmdlfpyramid.c
[-] CC src/cmdlfsecurakey.c
[-] CC src/cmdlft55xx.c
[-] CC src/cmdlfti.c
[-] CC src/cmdlfviking.c
[-] CC src/cmdlfvisa2000.c
[-] CC src/cmdlfzx8211.c
[-] CC src/cmdmain.c
[-] CC src/cmdnfc.c
[-] CC src/cmdparser.c
[-] CC src/cmdpiv.c
[-] CC src/cmdscript.c
[-] CC src/cmdsmartcard.c
[-] CC src/cmdtrace.c
[-] CC src/cmdusart.c
[-] CC src/cmdwiegand.c
[-] CC src/comms.c
[-] CC src/crypto/asn1dump.c
[-] CC src/crypto/asn1utils.c
[-] CC src/crypto/libpcrypto.c
[-] CC src/emv/cmdemv.c
[-] CC src/emv/crypto.c
[-] CC src/emv/crypto_polarssl.c
[-] CC src/emv/dol.c
[-] CC src/emv/emv_pk.c
[-] CC src/emv/emv_pki.c
[-] CC src/emv/emv_pki_priv.c
[-] CC src/emv/emv_roca.c
[-] CC src/emv/emv_tags.c
[-] CC src/emv/emvcore.c
[-] CC src/emv/emvjson.c
[-] CC src/emv/tlv.c
[-] CC src/emv/test/crypto_test.c
[-] CC src/emv/test/cryptotest.c
[-] CC src/emv/test/cda_test.c
[-] CC src/emv/test/dda_test.c
[-] CC src/emv/test/sda_test.c
[-] CC src/fido/additional_ca.c
[-] CC src/fido/cose.c
[-] CC src/fido/cbortools.c
[-] CC src/fido/fidocore.c
[-] CC src/ksx6924/ksx6924core.c
[-] CC src/cipurse/cipursecore.c
[-] CC src/cipurse/cipursecrypto.c
[-] CC src/cipurse/cipursetest.c
[-] CC src/fileutils.c
[-] CC src/flash.c
[-] CC ../common/generator.c
[-] CC src/graph.c
[-] CC src/jansson_path.c
[-] CC src/iso4217.c
[-] CC src/iso7816/apduinfo.c
[-] CC src/iso7816/iso7816core.c
[-] CC src/loclass/cipher.c
[-] CC src/loclass/cipherutils.c
[-] CC src/loclass/elite_crack.c
[-] CC src/loclass/ikeys.c
[-] CC src/mifare/lrpcrypto.c
[-] CC src/mifare/desfirecrypto.c
[-] CC src/mifare/desfirecore.c
[-] CC src/mifare/desfiresecurechan.c
[-] CC src/mifare/desfiretest.c
[-] CC src/mifare/gallaghercore.c
[-] CC src/mifare/mad.c
[-] CC src/mifare/mfkey.c
[-] CC src/mifare/mifare4.c
[-] CC src/mifare/mifaredefault.c
[-] CC src/mifare/mifarehost.c
[-] CC src/nfc/ndef.c
[-] CC src/pm3.c
[-] CC src/pm3_binlib.c
[-] CC src/pm3_bitlib.c
[-] CC src/preferences.c
[-] CC src/pm3line.c
[-] CC src/proxmark3.c
[-] CC src/scandir.c
[-] CC src/uart/uart_posix.c
[-] CC src/uart/uart_win32.c
[-] CC src/scripting.c
[-] CC src/ui.c
[-] CC src/util.c
[=] CHECK src/version_pm3.c
[-] CC src/wiegand_formats.c
[-] CC src/wiegand_formatutils.c
[-] CC ../common/bucketsort.c
[-] CC ../common/cardhelper.c
[-] CC ../common/crapto1/crapto1.c
[-] CC ../common/crapto1/crypto1.c
[-] CC ../common/crc.c
[-] CC ../common/crc16.c
[-] CC ../common/crc32.c
[-] CC ../common/crc64.c
[-] CC ../common/commonutil.c
[-] CC ../common/iso15693tools.c
[-] CC ../common/legic_prng.c
[-] CC ../common/lfdemod.c
[-] CC ../common/util_posix.c
[-] CC src/pm3_luawrap.c
[-] CC src/pm3_pywrap.c
[-] UIC src/ui/ui_overlays.h
[-] UIC src/ui/ui_image.h
[*] MAKE deps/amiitool/libamiibo.a
[*] MAKE deps/cliparser/libcliparser.a
[*] MAKE deps/hardnested/libhardnested.a
[*] MAKE deps/liblua/liblua.a for linux
[*] MAKE deps/jansson/libjansson.a
[*] MAKE obj/libmbedtls.a
[*] MAKE deps/reveng/libreveng.a
[*] MAKE deps/tinycbor/tinycbor.a
[*] MAKE deps/whereami/libwhereami.a
[=] GEN lualibs/pm3_cmd.lua
PLATFORM Linux
[-] CC amiibo.c
[-] CC drbg.c
[-] CC keygen.c
[=] GEN lualibs/mfc_default_keys.lua
[-] CC argtable3.c
[-] CC src/version_pm3.c
[-] CC dump.c
[-] CC cliparser.c
[-] CC error.c
[-] CC hashtable.c
[-] CC cborencoder.c
[-] CC hashtable_seed.c
[-] CC cborencoder_close_container_checked.c
[-] CC bmpbit.c
[=] TEST bmptst
[-] CC load.c
[-] CC bmpbit.c
[-] CC memory.c
[-] CC cborerrorstrings.c
[-] CXX src/proxgui.cpp
[-] CC cli.c
[-] CC pack_unpack.c
[-] CC aes.c[-] CC cborparser.c

[-] CC model.c
[-] CC asn1parse.c
[-] CC strbuffer.c
[-] CC poly.c
[-] CC cborparser_dup_string.c
[-] CC preset.c
[-] CC asn1write.c
[-] CC base64.c
[-] CC reveng.c
[-] CC cborpretty.c
[-] CXX src/proxguiqt.cpp
[-] CC bignum.c
[-] CC strconv.c
[-] CC whereami.c
[-] CC cbortojson.c
[-] CC ctr_drbg.c
[-] CC entropy_poll.c
[-] CC utf.c
[-] CC(NOSIMD) hardnested_bf_core.c
[-] CC entropy.c
[-] CC cborvalidation.c
[-] CC(NOSIMD) hardnested_bitarray_core.c
[-] CC lapi.c
[-] CC error.c
[-] CC(NEON) hardnested_bf_core.c
[-] MOC src/proxguiqt.moc.cpp
[-] CC(NEON) hardnested_bitarray_core.c
[-] CC ecp.c
[-] CC value.c
[-] CC ecp_curves.c
[-] CC certs.c
[-] CC lcode.c
[-] CC camellia.c
[-] CC lctype.c
[-] CC blowfish.c
[-] CC cipher_wrap.c
[-] CXX src/proxguiqt.moc.cpp
[-] CC ldebug.c
[-] CC cipher.c
[-] CC ldo.c
[-] CC ldump.c
[-] CC cmac.c
[-] CC des.c
[-] CC lfunc.c
[-] CC ecc_point_compression.c
[-] CC lgc.c
[-] CC ecdh.c
[-] CC llex.c
[-] CC lmem.c
[-] CC ecdsa.c
[-] CC lobject.c
[-] CC gcm.c
[-] CC lopcodes.c
[-] CC md.c
[-] CC lparser.c
[-] CC md5.c
[-] CC lstate.c
[-] CC oid.c
[-] CC lstring.c
[-] CC pem.c
[-] CC ltable.c
[-] CC arc4.c
[-] CC ltm.c
[-] CC lundump.c
[-] CC pk.c
[-] CC lvm.c
[-] CC pk_wrap.c
[-] CC lzio.c
[-] CC pkwrite.c
[-] CC lauxlib.c
[-] CC pkcs5.c
[-] CC lbaselib.c
[-] CC pkcs12.c
[-] CC pkparse.c
[-] CC lbitlib.c
[-] CC lcorolib.c
[-] CC ldblib.c
[-] CC platform.c
[-] CC liolib.c
[-] CC platform_util.c
[-] CC lmathlib.c
[-] CC rsa.c
[-] CC rsa_internal.c[-] CC loslib.c

[-] CC sha1.c
[-] CC sha256.c
[-] CC sha512.c
[-] CC threading.c
[-] CC x509.c
[-] CC lstrlib.c
[-] CC x509_crl.c
[-] CC x509_crt.c
[-] CC ltablib.c
[-] CC loadlib.c
[-] CC linit.c
[=] AR libwhereami.a
[-] CC hardnested_bruteforce.c
[=] AR libamiibo.a
[=] CXX nonce2key
[=] CXX mfkey32
[=] CXX mfkey32v2
[=] CXX mfkey64
[=] CXX mf_nonce_brute
[=] CXX mf_trace_brute
[=] AR libhardnested.a
[=] AR tinycbor.a
[=] AR libjansson.a
[=] AR liblua.a
[=] AR libreveng.a
[=] AR libcliparser.a
[=] CXX sma
[=] AR libmbedtls.a
[=] CXX sma_multi
[=] CXX fpga_compress
[*] MAKE armsrc/all
compiler version:  arm-none-eabi-gcc (15:12.2.rel1-1) 12.2.1 20221205
[-] GEN fpga_version_info.c
[-] GEN obj/fpga_all.bit.z
[-] CC start.c
[-] CC iso15693.c
[-] CC ../common/iso15693tools.c
[-] CC thinfilm.c
[-] CC lfops.c
[-] CC lfsampling.c
[-] CC pcf7931.c
[-] CC ../common/lfdemod.c
[-] CC lfadc.c
[-] CC ../common/lz4/lz4.c
[-] CC legicrf.c
[-] CC legicrfsim.c
[-] CC ../common/legic_prng.c
[-] CC ../common_arm/flashmem.c
[-] CC i2c.c
[-] CC usart.c
[-] CC hitag2_crypto.c
[-] CC hitag2.c
[-] CC hitagS.c
[-] CC em4x50.c
[-] CC ../common/bruteforce.c
[-] CC em4x70.c
[-] CC spiffs.c
[-] CC spiffs_cache.c
[-] CC spiffs_check.c
[-] CC spiffs_gc.c
[-] CC spiffs_nucleus.c
[-] CC spiffs_hydrogen.c
[-] CC hfops.c
[-] CC iso14443a.c
[-] CC mifareutil.c
[-] CC mifarecmd.c
[-] CC epa.c
[-] CC mifaresim.c
[-] CC iso14443b.c
[-] CC ../common/crapto1/crypto1.c
[-] CC ../common/mbedtls/des.c
[-] CC desfire_crypto.c
[-] CC mifaredesfire.c
[-] CC ../common/mbedtls/aes.c
[-] CC ../common/mbedtls/platform_util.c
[-] CC iclass.c
[-] CC optimized_cipherutils.c
[-] CC optimized_ikeys.c
[-] CC optimized_elite.c
[-] CC optimized_cipher.c
[-] CC ../common/crc.c
[-] CC ../common/crc16.c
[-] CC ../common/crc32.c
[-] CC felica.c
[-] CC ../armsrc/Standalone/lf_samyrun.c
[-] CC lfzx.c
[-] CC appmain.c
[-] CC printf.c
[-] CC dbprint.c
[-] CC ../common/commonutil.c
[-] CC util.c
[-] CC string.c
[-] CC BigBuf.c
[-] CC ../common_arm/ticks.c
[-] CC ../common_arm/clocks.c
[-] CC hfsnoop.c
[-] CC ../common/generator.c
[-] CC fpgaloader.c
[-] CC ../common_arm/usb_cdc.c
[-] CC cmd.c
[-] CC fpga_version_info.c
[-] GEN obj/fpga_all.o
[=] CXX proxmark3
[-] CHECK version_pm3.c
[-] CC version_pm3.c
[=] LD obj/fullimage.stage1.elf
[-] GEN obj/fullimage.data.bin
[-] GEN obj/fullimage.data.bin.z
[=] LD obj/fullimage.elf
[=] GEN obj/fullimage.s19
[*] MAKE recovery/all
[=] GEN bootrom.bin
[=] GEN fullimage.bin
[=] GEN proxmark3_recovery.bin

As you can see everything builds just fine. No errors or warnings.
What OS`es you’re using and how do you setup your build environments ?

p.s. based on the official iceman proxmark docu I had to also install the following packages to satisfy the deps

apt-get install --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev libssl-dev

also I am building for rdv4 with bt addon; here is my Makefile.plist

root@DietPi:~/git/proxmark3# cat Makefile.platform
# If you want to use it, copy this file as Makefile.platform and adjust it to your needs
# Run 'make PLATFORM=' to get an exhaustive list of possible parameters for this file.

PLATFORM=PM3RDV4
#PLATFORM=PM3GENERIC
# If you want more than one PLATFORM_EXTRAS option, separate them by spaces:
PLATFORM_EXTRAS=BTADDON
#PLATFORM_EXTRAS=FLASH
#PLATFORM_EXTRAS=BTADDON FLASH
#STANDALONE=LF_SAMYRUN

# Uncomment the lines below in order to make a 256KB image
# and comment out the lines above

#PLATFORM=PM3GENERIC
#PLATFORM_SIZE=256
#STANDALONE=
#SKIP_HITAG=1
#SKIP_FELICA=1
#SKIP_HFPLOT=1
#SKIP_NFCBARCODE=1
#SKIP_ZX8211=1
#SKIP_LF=1

# To accelerate repetitive compilations:
# Install package "ccache" -> Debian/Ubuntu: /usr/lib/ccache, Fedora/CentOS/RHEL: /usr/lib64/ccache
# And uncomment the following line
#export PATH := /usr/lib64/ccache:/usr/lib/ccache:${PATH}

# To install with sudo:
INSTALLSUDO=sudo
2 Likes