Files
proxmark3/doc
iceman1001andClaude Opus 5 730fad4c16 Add configure_environment.sh and make configure
A first-run check for a freshly cloned repo, so a new user finds out what is
missing before a build fails halfway through.

Checks the host toolchain (GNU make, gcc/g++, pkg-config, git, gcc >= 8 for
Qt6), the arm-none-eabi toolchain plus a linkable ARM C library, the required
client libraries (readline, bz2, lz4, libcrypto) and the optional ones, the
bundled-fallback ones, a Python venv with tools/requirements.txt, and on Linux
the dialout/uucp membership, the udev blacklist rule, ModemManager and the
rights on /dev/ttyACM*. Also the tracked .dummy files that hold the firmware
object directories in git, since nothing recreates those.

Detection is by probe, not by querying the package manager: pkg-config where a
.pc file exists, otherwise a real compile-and-link of the header with its -l
flag. Python requirements are compared offline through importlib.metadata.

The device side is covered too: it resolves PLATFORM and PLATFORM_EXTRAS the
way make does, rejects unknown platforms and the combinations Makefile.hal
errors on later (BWM off PM5, BTADDON on PM5, ...), and when there is no
Makefile.platform at all it lists the platforms and offers to write one for the
device the user picks, rather than silently building an RDV4 image.

It changes nothing by default. It asks before creating a venv and before
writing a Makefile.platform, and only --install touches the package manager.
Missing items are mapped to package names for apt, pacman, dnf, zypper, brew
and port and printed as one paste-ready line; NixOS is pointed at
tools/shell.nix.

make configure runs it. The script stays directly callable because make stops
on an invalid PLATFORM before it could run any target.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-14 09:55:17 +07:00
..
2026-08-25 17:04:52 +02:00
2026-08-25 17:04:52 +02:00
doc
2022-02-08 01:26:06 +02:00
2024-02-23 01:25:54 +02:00
2024-01-05 19:27:38 +01:00
2026-11-13 07:57:33 +07:00
2026-11-13 07:57:33 +07:00
2023-07-10 16:44:14 +02:00
2025-09-25 21:29:50 +02:00
2023-12-10 22:47:06 -05:00
2025-04-29 11:34:50 -04:00
2021-12-31 11:04:05 +01:00
2023-11-21 22:00:59 +02:00
2021-12-31 11:04:05 +01:00
2025-01-05 14:27:14 +01:00
2021-12-31 11:11:29 +01:00
2024-01-05 19:27:38 +01:00