espressif / esp-adf

Espressif Audio Development Framework
Other
1.49k stars 667 forks source link

No way to allocate a new PERIPH_ID_ (AUD-5389) #1201

Open cskilbeck opened 2 months ago

cskilbeck commented 2 months ago

Is your feature request related to a problem? Please describe.

When defining a new peripheral ID, there's no way to allocate a new ID.

Describe the solution you'd like

It would be useful if there was a block of IDs for the purpose of user defined peripheral IDs.

Describe alternatives you've considered

For now I hard code my peripheral ID as follows: #define PERIPH_ID_ENCODER (PERIPH_ID_LCD + 1)

Additional context

Gist