SAtacker / bb-config

Configure your beagle device
MIT License
41 stars 7 forks source link

Overlay Generator (I2C/SPI)... #47

Open RobertCNelson opened 2 years ago

RobertCNelson commented 2 years ago

Most i2c/spi are really simple..

&i2c2 {
    status = "okay";

    clock-frequency = <100000>;

    #address-cells = <1>;
    #size-cells = <0>;

    bme680@76 {
        status = "okay";
        compatible = "bosch,bme680";
        reg = <0x76>;
    };
};

Could we grep zcat /proc/config.gz

and allow a selection option for different i2c/spi devices and ask what port, then just build/compile the overlay?

Regards,