diff --git a/doc/md/Use_of_Proxmark/0_Compilation-Instructions.md b/doc/md/Use_of_Proxmark/0_Compilation-Instructions.md index ffe312aac..bb3699a72 100644 --- a/doc/md/Use_of_Proxmark/0_Compilation-Instructions.md +++ b/doc/md/Use_of_Proxmark/0_Compilation-Instructions.md @@ -26,6 +26,41 @@ cd client ./proxmark3 /dev/ttyACM0 ``` +## Compiling for other boards + +Available boards + +| BOARD | PLATFORM | +|:---------------:|:---------------------------------------| +| `PM3RDV4` (def) | Proxmark3 rdv4 with AT91SAM7S512 | +| `PM3EVO` | Proxmark3 EVO with AT91SAM7S512 | +| `PM3EASY` | Proxmark3 rdv3 Easy with AT91SAM7S256 | +| `PM3RDV2` | Proxmark3 rdv2 with AT91SAM7S512 | +| `PM3OLD256` | Proxmark3 V1 with AT91SAM7S256 | +| `PM3OLD512` | Proxmark3 V1 with AT91SAM7S512 | + +Create a file named `Makefile.platform` in the root directory of the repository: + +```sh +# PLATFORM=${BOARD} +# Following example is to compile sources for Proxmark3 rdv3 Easy +PLATFORM=PM3EASY +``` + +From this point: + +```sh +# Clean and compile +make clean && make all + +# Flash the BOOTROM & FULLIMAGE +client/flasher /dev/ttyACM0 -b bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf + +# Run the client +cd client +./proxmark3 /dev/ttyACM0 +``` + ## Next steps For the next steps, please read the following pages: