Add pn7150 - #288
Merged
Merged
Add pn7150#288
Conversation
Driver for the NXP PN7150 NFC controller. Reads NTAG/Ultralight, Mifare Classic, DESFire/ISO-DEP, ISO15693 and FeliCa, decodes and writes NDEF, and emulates a Type 4 tag. Single file, no dependencies outside the core modules. Submodule is pinned at the 1.4.0 tag. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
TheFilipcom4607
added a commit
to TheFilipcom4607/circuitpython-org
that referenced
this pull request
Sep 8, 2026
The driver is in the Community Bundle as of adafruit/CircuitPython_Community_Bundle#288, so `circup install pn7150` works on its own and the `circup bundle-add` step is no longer needed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds circuitpython-pn7150 as
libraries/drivers/pn7150, pinned at the1.4.0tag, plus a line incircuitpython_community_library_list.md.It is a driver for the NXP PN7150 NFC controller. It reads NTAG/Ultralight, Mifare Classic, DESFire/ISO-DEP, ISO15693 and FeliCa, decodes and writes NDEF, and can emulate a Type 4 tag so a phone tapped on the board opens a URL. Single file, MIT, and it imports only core modules (
busio,digitalio,supervisor,micropython,time), so it has no dependencies to resolve.There is currently no PN7150 or other NFC reader driver in the bundle, so this is not a duplicate of anything here.
I built the bundle locally with
circuitpython-build-bundlesusing the same arguments asbuild.sh, and the library builds clean:Version
1.4.0is picked up from the tag and stamped into__version__. The repo already usesadafruit/workflows-circuitpython-libs/release-ghto attach bundle zips to each release, and declares[tool.setuptools] py-modulesinpyproject.tomlrather than relying on autodetection.Development happens on hardware, an iLabs Challenger RP2040 NFC, and the readme lists which tag types and technologies have been verified there. I will keep up with build-tools changes if any of them affect the library.
🤖 Generated with Claude Code