-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move to new esp rmt device driver: resolves #28 #34
base: master
Are you sure you want to change the base?
Conversation
As promised, a new from-scratch implementation of
The public API should be backward compatible but the There are also a couple of new public API functions: |
Just shout if you want any tweaks. |
@mjcross awesome, thanks for this. I will take a closer look soon. Please don't be disheartened if you don't hear from me for a little while, I will get to this. Quick question - if someone uses this with the older ESP-IDF, prior to the RMT deprecation, does it fail (to compile, or run) in an informative way? |
@DavidAntliff no worries - I mainly did the updates because I use your lib in a couple of home projects but if others can benefit then that's a real bonus. FWIW I've already pushed something similar to my Good point about building with an an outdated IDF. At present it will just fail to compile but it would be far better to check Could this also be a good time to strip out the old GPIO stuff? It would certainly simplify the project internally. |
@mjcross Nice work with the pr. If I try to use it (drop in replacement) I get the following compiler error
If I replace it with
I am using ESP-IDF 5.0.3. Am I doing something wrong? Update/Edit: The following steps allowed me to compile and test the code
After the above changes my code works as before but with the new driver |
@CJCombrink Sounds like you're picking up the original version of @DavidAntliff do you think you'll be likely to merge the PR at some point? The PR version of
|
@mjcross
If you follow the includes in my original message you will see how it gets there. The includes are:
|
@CJCombrink |
@CJCombrink |
@mjcross Can you reproduce? |
@CJCombrink wrote:
Tried a full clean build, and no errors... as you say, perhaps it's the compiler. I'm using:
|
This is what I have
|
Proposed changes to integrate Espressif's new RMT driver