Quality: `ptr16` is not defined in micropython-samd-stubs
invalid
## Problem
The type checker reports `"ptr16" is not defined` when using `ptr16` in code targeting the SAMD port.
**Affected stub package:** `micropython-samd-stubs`
**Stub version:** v1.28.0.post3
**Affected module/symbol:** `ptr16` (expected to be a valid type/symbol in the SAMD port stubs)
## Current behavior
```
foo.py:58:11 error "ptr16" is not defined
```
`ptr16` is not exported or defined in the samd stubs, causing type errors when used in user code.
## Expected behavior
`ptr16` should be defined in the samd stubs (likely as a type alias or class) so that valid MicroPython code targeting SAMD does not produce false-positive type errors.
## Parent issue
See #888 for the original report and full reproduction context.
Related to #888
> [!NOTE]
> <details>
> <summary>🔒 Integrity filter blocked 3 items</summary>
>
> The following items were blocked because they don't meet the GitHub integrity level.
>
> - [#733](https://github.com/Josverl/micropython-stubs/issues/733) `search_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#732](https://github.com/Josverl/micropython-stubs/issues/732) `search_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#734](https://github.com/Josverl/micropython-stubs/issues/734) `search_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
>
> To allow these resources, lower `min-integrity` in your GitHub frontmatter:
>
> ```yaml
> tools:
> github:
> min-integrity: approved # merged | approved | unapproved | none
> ```
>
> </details>
> Generated by [quality-issue-triage](https://github.com/Josverl/micropython-stubs/actions/runs/25634753244/agentic_workflow) for issue #888 · ● 1.2M · [◷](https://github.com/search?q=repo%3AJosverl%2Fmicropython-stubs+is%3Aissue+%22gh-aw-workflow-call-id%3A+Josverl%2Fmicropython-stubs%2Fquality-issue-triage%22&type=issues)
<!-- gh-aw-agentic-workflow: quality-issue-triage, engine: copilot, version: 1.0.40, model: claude-sonnet-4.6, id: 25634753244, workflow_id: quality-issue-triage, run: https://github.com/Josverl/micropython-stubs/actions/runs/25634753244 -->
<!-- gh-aw-workflow-id: quality-issue-triage -->
<!-- gh-aw-workflow-call-id: Josverl/micropython-stubs/quality-issue-triage -->
关闭于 2026-05-10 0 条评论