micropython / micropython/micropython

Delete / Unallocate RMT Driver on ESP32

Open
#10,609 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
22.1k
Forks
9k
Avg merge
6d 4h
Merged PRs (30d)
16

Description

The current RMT functionality in Micropython for the ESP32 appears to have no method to uninstall an RMT driver. This makes it challenging to re-configure RMT on the fly or reuse those resources. Calls to del() of an RMT object to not appear to uninstall the driver either. Recommend creating a RMT.del() function to implement the Espressif rmt_del_channel() function to free the resources

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing MicroPython's ESP32 RMT functionality and the Espressif rmt_del_channel() documentation linked in the issue. Trace how RMT objects are created and released, then verify that the proposed deletion path frees resources so RMT can be reconfigured or reused.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.