zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.49k stars 6.42k forks source link

RFC: namespace Kconfig driver enable flags #31106

Open pabigot opened 3 years ago

pabigot commented 3 years ago

I'm noticing that a lot of sensors are being added, with Kconfig symbols like CONFIG_LM73C, which doesn't say whether an "lm73" is a sensor, or a flash storage device, or a GPIO extender, or whatever.

At some point these names are going to become ambiguous. Perhaps we should find a way to including the driver subsystem along with the driver name into these symbols.

galak commented 3 years ago

Namespacing around a few areas: