summaryrefslogtreecommitdiff
path: root/docs/tutorial/assembler.rst
diff options
context:
space:
mode:
authorAnson Mansfield <amansfield@mantaro.com>2025-03-21 17:03:27 +0000
committerDamien George <damien@micropython.org>2025-12-02 00:09:06 +1100
commit2db2f536acd1b5701ca23d9cd065ef5479adf467 (patch)
tree5ed231afd1a99ad23a999ef41c606399ddb9cd25 /docs/tutorial/assembler.rst
parentb24c9cf2a9d8b0d12a17ea3c7d83b133483a7024 (diff)
rp2/rp2_pio: Fix support for pin wrapping and RP2350B upper-bank pins.
On RP2350B where there are more than 32 pins, using `pio_sm_set_pins_with_mask()` and `pio_sm_set_pindirs_with_mask()` is not correct because their arguments are `uint32_t` and higher bits get lost when `pio.gpio_base(16)` is used. This commit fixes the issue by using the 64-bit API functions on RP2350B. It also makes sure pin wrapping is supported, i.e. using [30, 31, 0, 1] or [46, 47, 16, 17] as contiguous pin ranges for a PIO program. Fixes issue #16199. Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
Diffstat (limited to 'docs/tutorial/assembler.rst')
0 files changed, 0 insertions, 0 deletions