-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kernel config to support external i2c devices #3642
Conversation
This commit adds support for usb to i2c adapters, the i2c chardev and the bme280 famaily environment sensors
📝 WalkthroughWalkthroughThe changes involve modifications to the kernel configuration file for the buildroot-external project. New configuration options have been added to enhance support for I2C and GPIO functionalities, as well as additional device drivers. These modifications include enabling support for various components related to the DLN2 platform, specifically targeting I2C devices and sensors. The existing configurations remain unchanged, ensuring the overall structure of the configuration file is preserved. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant KernelConfig
participant I2C
participant GPIO
participant Sensor
User->>KernelConfig: Modify configuration
KernelConfig->>I2C: Enable I2C support
KernelConfig->>GPIO: Enable GPIO support
KernelConfig->>Sensor: Enable sensor support
I2C->>KernelConfig: Configuration options added
GPIO->>KernelConfig: Configuration options added
Sensor->>KernelConfig: Configuration options added
KernelConfig->>User: Configuration updated
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🔇 Additional comments (6)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you had an opportunity to test it? Otherwise it looks good to me, thanks!
I built HAOS locally and tried loading the relevant kernel modules in a VM, but haven't tested this with actual hardware, cause that requires physical access, if you want i can do that though |
This pull request adds support for usb to i2c adapters, the i2c chardev and the bme280 family environment sensors for the ova board.
The same changes were already made to the kernel config for the generic-x86-64 board in #2800 and #2813.
Now i would like to move Home Assistant from a bare metal install to a virtual machine.
Summary by CodeRabbit