Conversation
📝 WalkthroughWalkthroughThis pull request modifies the device tree compiler grammar to separately handle single-line and multi-line comments, replacing a unified COMMENT token with SINGLE_LINE_COMMENT and MULTI_LINE_COMMENT tokens. Additionally, the PR adds I2S (Inter-IC Sound) audio interface nodes to device tree files for six hardware boards: lilygo-tdeck, lilygo-tlora-pager, m5stack-cardputer-adv, m5stack-cardputer, m5stack-core2, and m5stack-cores3. Each device tree file receives an i2s0 node with ESP32 I2S configuration including compatible strings, port numbers, and audio pin mappings. The lilygo-tdeck device tree undergoes a node repositioning of its existing i2s0 block. 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (5)
Devices/m5stack-cardputer/m5stack,cardputer.dts (1)
3-6:⚠️ Potential issue | 🟠 MajorMissing
#include <tactility/bindings/esp32_i2s.h>for I2S constants.The i2s0 node uses
I2S_NUM_0andGPIO_PIN_NONEconstants, but the required header is not included. Other device tree files in this PR (e.g.,lilygo,tdeck.dts) include this header.Proposed fix
`#include` <tactility/bindings/root.h> `#include` <tactility/bindings/esp32_gpio.h> `#include` <tactility/bindings/esp32_i2c.h> +#include <tactility/bindings/esp32_i2s.h>Devices/m5stack-cardputer-adv/m5stack,cardputer-adv.dts (1)
3-5:⚠️ Potential issue | 🟠 MajorMissing
#include <tactility/bindings/esp32_i2s.h>for I2S constants.Same issue as
m5stack,cardputer.dts- the i2s0 node usesI2S_NUM_0andGPIO_PIN_NONEconstants without including the required header.Proposed fix
`#include` <tactility/bindings/root.h> `#include` <tactility/bindings/esp32_gpio.h> `#include` <tactility/bindings/esp32_i2c.h> +#include <tactility/bindings/esp32_i2s.h>Devices/m5stack-cores3/m5stack,cores3.dts (1)
3-5:⚠️ Potential issue | 🟠 MajorMissing
#include <tactility/bindings/esp32_i2s.h>for I2S constants.The i2s0 node uses
I2S_NUM_0constant without including the required header.Proposed fix
`#include` <tactility/bindings/root.h> `#include` <tactility/bindings/esp32_gpio.h> `#include` <tactility/bindings/esp32_i2c.h> +#include <tactility/bindings/esp32_i2s.h>Devices/lilygo-tlora-pager/lilygo,tlora-pager.dts (1)
3-5:⚠️ Potential issue | 🟠 MajorMissing
#include <tactility/bindings/esp32_i2s.h>for I2S constants.The i2s0 node uses
I2S_NUM_0constant without including the required header.Proposed fix
`#include` <bindings/tlora_pager.h> `#include` <tactility/bindings/esp32_gpio.h> `#include` <tactility/bindings/esp32_i2c.h> +#include <tactility/bindings/esp32_i2s.h>Devices/m5stack-core2/m5stack,core2.dts (1)
3-5:⚠️ Potential issue | 🟠 MajorMissing
#include <tactility/bindings/esp32_i2s.h>for I2S constants.The i2s0 node uses
I2S_NUM_0andGPIO_PIN_NONEconstants without including the required header.Proposed fix
`#include` <tactility/bindings/root.h> `#include` <tactility/bindings/esp32_gpio.h> `#include` <tactility/bindings/esp32_i2c.h> +#include <tactility/bindings/esp32_i2s.h>
Summary by CodeRabbit
New Features
Chores