-
Couldn't load subscription status.
- Fork 7.7k
Integrate Peripheral Manager? #11926
-
I'm updating a library and considering adding integration with Peripheral Manager.
What's the upside for doing so?
Been about three years since its introduction. Is it getting traction outside the arduino-esp32 core?
FWIW, the library is an RMT-based RGB LED driver.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 2 replies
-
I doubt the peripheral manager will get any traction outside the core (or ESP32 specific things) because it exists to work with the fact that peripherals on ESP32 are not tied to specific pins, therefore it tracks what peripheral is connected to what pin and can free resources if the pin needs another peripheral. If your library uses the Arduino API for RMT, then periman is already in use :)
Beta Was this translation helpful? Give feedback.
All reactions
-
Language is a funny thing sometimes. 😄
Yes, of course the peripheral manager only makes sense with the ESP32 family.
I should have said "Is it getting traction outside the arduino-esp32 core developers"?
As in, "Are other developers integrating peripheral manager into their libraries?"
Beta Was this translation helpful? Give feedback.
All reactions
-
There isn't much for libs to do to use the periman. Maybe set the extra type, but that is about it.
Beta Was this translation helpful? Give feedback.