From 319c36df52eb016667d13ab006cae3752d0212e7 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 12 Feb 2021 17:48:10 -0500 Subject: [PATCH] config: Update generic-bigtreetech-gtr.cfg Add generic-bigtreetech-gtr.cfg to printers.test. Add definitions for thermocouple and temperature_mcu. Signed-off-by: Kevin O'Connor --- config/generic-bigtreetech-gtr.cfg | 9 ++++++++- test/klippy/printers.test | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config/generic-bigtreetech-gtr.cfg b/config/generic-bigtreetech-gtr.cfg index 6046960c..94db471a 100644 --- a/config/generic-bigtreetech-gtr.cfg +++ b/config/generic-bigtreetech-gtr.cfg @@ -94,8 +94,15 @@ pin: PE6 # FAN1 #[heater_fan fan2] #pin: PC8 # FAN2 +[temperature_sensor mcu_temp] +sensor_type: temperature_mcu + +[temperature_sensor k_therm] +sensor_type: MAX31855 +sensor_pin: PH9 +spi_bus: spi2b + [mcu] -baud: 250000 restart_method: command serial: dev/serial0 # setup for PA9, PA10 USART1_tx / rx directly connected to the RPI GPIO TX / RX pins diff --git a/test/klippy/printers.test b/test/klippy/printers.test index d8485fc4..2c065a95 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -143,6 +143,7 @@ CONFIG ../../config/printer-twotrees-sapphire-plus-2020.cfg # Printers using the stm32f407 DICTIONARY stm32f407.dict +CONFIG ../../config/generic-bigtreetech-gtr.cfg CONFIG ../../config/generic-bigtreetech-skr-pro.cfg CONFIG ../../config/generic-flyboard.cfg