1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00

Update to Issue #10 that fixes the errors on SPI loading. Have to not set spidev as compatible for spidev. Such meta, much fail, wow

This commit is contained in:
Robert Wolterman
2016-07-17 14:23:55 -05:00
parent e270080af8
commit 01347416ab
5 changed files with 234 additions and 0 deletions

View File

@ -4,6 +4,8 @@ import shutil
import glob
def compile():
# The compile needs the include for the spi2 stuff, not enabling that at the moment
# as I don't want to pull in the include section from CHIP-dt-overlays
call(["dtc", "-O", "dtb", "-o", "overlays/chip-spi2.dtbo", "-b", "o", "-@", "overlays/chip-spi2.dts"])
call(["dtc", "-O", "dtb", "-o", "overlays/chip-i2c1.dtbo", "-b", "o", "-@", "overlays/chip-i2c1.dts"])
call(["dtc", "-O", "dtb", "-o", "overlays/chip-pwm0.dtbo", "-b", "o", "-@", "overlays/chip-pwm0.dts"])