My approach of how to develop and test reusable components independently of an application might of interest for other developers.
I created simple example as demonstration located at https://github.com/mh-dev/esp32_reusable_components.
It consists of
- The simple component awesome_component
- Application that uses it
- Setup explanation in README.md