ArduinoNRF 0.4.2 hardens USB lifecycle and upload safety across the supported nRF52 layouts.
Highlights:
- Makes serial DFU single-attempt and identity-bound, with bounded discovery, transfer, cleanup, and runtime-return checks.
- Strengthens Windows, Linux, and macOS endpoint attribution and rejects ambiguous or stale upload targets.
- Fixes nRF52840 USB address handoff, reset/configuration state, suspend/VBUS lifecycle, CDC backpressure, and wrap-safe timing.
- Adds bounded, transactional pluggable USB control-IN and control-OUT handling.
- Validates application vectors, memory bounds, bootloader metadata, and debugger command inputs before mutation.
The packaged core passed the complete local 22-layout compile/preflight matrix and a clean archive-install compile.