Replies: 1 comment 3 replies
-
Very cool to see these co-processors get some love. Breaking the existing API in order to remove a single function call does not seem worth it. We have no idea how many programs are using the API as it is right now. And does not seem to be anything actually broken in the existing approach. If anything, the current way is the one that lets the Python side have more control, which is generally the preferred approach in MicroPython. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I was writing updates to improve the ADC driver so that the RISCV ULP can use the ADC driver in micropython as described in my PR's #16521 and #16630. As pointed out by @dpgeorge, this requires some back and forth with the community, as I have made some breaking changes to the ULP api.
I am happy to revert the functions that I have changed to comply with the existing ones, however I made these changes because I saw redundancy in the functions being called.
What I mean specifically is the loading and the running the loaded ULP code. I have merged the two into a single function as usually users would (most probably) load and then immediately run their ULP code, and if the code loading was to be delegated to a later time, simply loading at the required time shouldn't be too taxing as ULP binaries are very small, right?
I am posting this as I think the ULP (especially the RISCV variant) could be a useful feature for micropython users.
Beta Was this translation helpful? Give feedback.
All reactions