...
Codeblock | ||
---|---|---|
| ||
mkdir lab3 cd lab3 git clone git://git.buildroot.net/buildroot cd buildroot git checkout -b bme280 2020.05.3 make stm32mp157astm32mp157c_dk1dk2_defconfig make menuconfig make |
...
At this point, our linux/
folder contains the exact same source code as what Buildroot has retrieved. It is time to make our Device Tree change by editing arch/arm/boot/dts/stm32mp157astm32mp157c-dk1dk2.dts
and at the end of it, add:
...
If you look closely at what Buildroot will do, it will do a rsync of the Linux kernel source code from your linux/
Git repository to output/build/linux-custom
in Buildroot, and then do the build. You can check make sure that your I2C5 change is there!output/build/linux-custom/arch/arm/boot/dts/stm32mp157c-dk2.dts
to
...