This directory contains the local release helpers for the ArduinoNRF package.
- A local Board Manager archive can be built from
hardware/arduinonrf/nrf52. update_package_index.pycan inject real archive metadata intopackage_arduinonrf_index.json.validate_package_index.pycan validate the index shape, with optional placeholder URL allowance for local dry runs.validate_memory_layout.pycan verify thatboards.txtsketch and RAM limits match the active linker scripts and reserved flash settings.compile_matrix.ps1covers representative native-USB and SWD-first boards plus the current smoke sketches.
f:/Arduino/driver/ArduinoNRF/.venv/Scripts/python.exe tools/release/build_platform_archive.py --platform-root hardware/arduinonrf/nrf52 --output-dir distf:/Arduino/driver/ArduinoNRF/.venv/Scripts/python.exe tools/release/update_package_index.py --index package_arduinonrf_index.json --archive dist/arduinonrf-0.1.0.zip --download-base https://example.invalid/arduinonrf --version 0.1.0 --maintainer NiusRobotLabf:/Arduino/driver/ArduinoNRF/.venv/Scripts/python.exe tools/release/validate_package_index.py --index package_arduinonrf_index.json --allow-placeholder-urlspython tools/release/validate_memory_layout.py --boards hardware/arduinonrf/nrf52/boards.txtpowershell -ExecutionPolicy Bypass -File tools/release/compile_matrix.ps1