support for kernel spi (not bitbang) MAX38155 interface

This commit is contained in:
Andrew Malota
2017-11-30 18:48:39 -06:00
parent c6b5ca1144
commit 87778d8c2b
5 changed files with 65 additions and 16 deletions
+10 -3
View File
@@ -35,15 +35,22 @@ heater_invert = 0 # switches the polarity of the heater control
### Inputs
gpio_door = 18
### Thermocouple Adapter selection (MAX31855 or MAX6675)
max31855 = 1
### Thermocouple Adapter selection:
# max31855 - bitbang SPI interface
# max31855spi - kernel SPI interface
# max6675 - bitbang SPI interface
max31855 = 0
max6675 = 0
max31855spi = 1
### Thermocouple I2C Connection
### Thermocouple Connection (using bitbang interfaces)
gpio_sensor_cs = 27
gpio_sensor_clock = 22
gpio_sensor_data = 17
### Thermocouple SPI Connection (using adafrut drivers + kernel SPI interface)
spi_sensor_chip_id = 0
########################################################################
#