Devicetree aliases, accel0 and magn0, were recently introduced to enable sensor sample applications to support multiple sensor drivers of the same type and thereby reduce the number of driver-specific sensor sample applications. This was implemented by adding devicetree nodelabels to accelerometer and magnetometer sensor nodes, which unfortunately can suffer from naming conflicts when using shield boards. Fix the problem by appending the I2C bus address or SPI chip select to the devicetree nodelabel for sensor nodes on shield boards only. Base boards are left alone to keep their nodelabels as short as possible. Signed-off-by: Maureen Helm <maureen.helm@intel.com> |
||
|---|---|---|
| .. | ||
| arc | ||
| arm | ||
| arm64 | ||
| common | ||
| mips | ||
| nios2 | ||
| posix | ||
| riscv | ||
| shields | ||
| sparc | ||
| x86 | ||
| xtensa | ||
| CMakeLists.txt | ||
| deprecated.cmake | ||
| index.rst | ||
| Kconfig | ||