esp-rainmaker icon indicating copy to clipboard operation
esp-rainmaker copied to clipboard

gpio_button (MEGH-4093)

Open espressif2022 opened this issue 2 years ago • 2 comments

gpio_button is necessary, can it be removed? Now component espressif/button is used, there is a conflict;

espressif2022 avatar Dec 13 '22 12:12 espressif2022

Older esp idfs do not use component manager by default and so, this component has been retained. It was renamed from button to gpio_button to prevent some conflicts in cmake dependency resolution. Can you elaborate what is the exact issue you are seeing? I believe your compilation must be finding 2 instances of the same APIs. Is that so?

shahpiyushv avatar Dec 13 '22 13:12 shahpiyushv

yes,compilation find 2 instances of the same APIs. I noticed that the function name has been changed here to prevent conflicts, but the newly added component espressif/button use the same name as you.

I'll ask the maintainer of button component if they can handle it. Thanks!

espressif2022 avatar Dec 13 '22 13:12 espressif2022