{{ message }}
add ULP support with uPython assembler#214
Open
ubIQio wants to merge 5 commits into
Open
Conversation
Author
|
Not sure, but it certainly lowers the bar for developing code for the ULP, and ULP support is a essential feature not a nice to have, esp. if you want a battery powered device. The code/debug/test cycle is much faster with the python assembler, as theres just one file to copy to the target, which given the lack of visibility of the ULP code, really helps development (esp. as the ULP binary is functionally very closely coupled to the python code that launches and talks to it) Until/unless someone integrates the esp-idf ULP compiler into the build scripts, Thomas Waldmann's assembler seems like a great approach. Even then, the one file binary+python ULP update makes it preferable IMO. |
Owner
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 support for loading and running ULP code (taken from Andreas Valder's PR to Damien George's MicroPython) together with Thomas Waldmann's micropython ULP assembler.
ulp_count.py included as simple usage example
pulse_counter.py shows use of GPIO by ULP to debounce a noisy pulse stream