pinsDebug patch

This commit is contained in:
Scott Lahteine 2018-02-21 13:12:02 -06:00
parent d473456a08
commit aa635fe9f1
2 changed files with 130 additions and 134 deletions

View File

@ -43,8 +43,8 @@ bool endstop_monitor_flag = false;
#define _ADD_PIN_2(PIN_NAME, ENTRY_NAME) static const char ENTRY_NAME[] PROGMEM = { PIN_NAME }; #define _ADD_PIN_2(PIN_NAME, ENTRY_NAME) static const char ENTRY_NAME[] PROGMEM = { PIN_NAME };
#define _ADD_PIN(PIN_NAME, COUNTER) _ADD_PIN_2(PIN_NAME, entry_NAME_##COUNTER) #define _ADD_PIN(PIN_NAME, COUNTER) _ADD_PIN_2(PIN_NAME, entry_NAME_##COUNTER)
#define REPORT_NAME_DIGITAL(COUNTER, NAME) _ADD_PIN(#NAME, COUNTER) #define REPORT_NAME_DIGITAL(COUNTER, NAME) _ADD_PIN(NAME, COUNTER)
#define REPORT_NAME_ANALOG(COUNTER, NAME) _ADD_PIN(#NAME, COUNTER) #define REPORT_NAME_ANALOG(COUNTER, NAME) _ADD_PIN(NAME, COUNTER)
#include "pinsDebug_list.h" #include "pinsDebug_list.h"
#line 51 #line 51

View File

@ -27,81 +27,77 @@
// Pin lists 1.1.x and 2.0.x synchronized 2018-02-17 // Pin lists 1.1.x and 2.0.x synchronized 2018-02-17
#define PIN_EXISTS_ANALOG(PN) (PIN_EXISTS(PN) && PN##_PIN < NUM_ANALOG_INPUTS) #line 31 // set __LINE__ to a known value for both passes
#define _EXISTS(PN) (defined(PN) && PN >= 0)
#define _EXISTS_ANALOG(PN) (_EXISTS(PN) && PN < NUM_ANALOG_INPUTS)
#line 0 // set __LINE__ to a known value for both passes #if defined(EXT_AUX_A0) && EXT_AUX_A0 > 0 && EXT_AUX_A0 < NUM_ANALOG_INPUTS
#if _EXISTS_ANALOG(EXT_AUX_A0)
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A0) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A0)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A1) #if defined(EXT_AUX_A1) && EXT_AUX_A1 > 0 && EXT_AUX_A1 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A1) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A1)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A2) #if defined(EXT_AUX_A2) && EXT_AUX_A2 > 0 && EXT_AUX_A2 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A2) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A2)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A3) #if defined(EXT_AUX_A3) && EXT_AUX_A3 > 0 && EXT_AUX_A3 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A3) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A3)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A4) #if defined(EXT_AUX_A4) && EXT_AUX_A4 > 0 && EXT_AUX_A4 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A4) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A4)
#endif #endif
#if PIN_EXISTS_ANALOG(FILWIDTH) #if PIN_EXISTS(FILWIDTH) && FILWIDTH_PIN >= 0 && FILWIDTH_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, FILWIDTH_PIN) REPORT_NAME_ANALOG(__LINE__, FILWIDTH_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(MAIN_VOLTAGE_MEASURE) #if PIN_EXISTS(MAIN_VOLTAGE_MEASURE) && MAIN_VOLTAGE_MEASURE_PIN >= 0 && MAIN_VOLTAGE_MEASURE_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, MAIN_VOLTAGE_MEASURE_PIN) REPORT_NAME_ANALOG(__LINE__, MAIN_VOLTAGE_MEASURE_PIN)
#endif #endif
#if !defined(ARDUINO_ARCH_SAM) //TC1 & TC2 are macros in the SAM tool chain #if !defined(ARDUINO_ARCH_SAM) //TC1 & TC2 are macros in the SAM tool chain
#if _EXISTS_ANALOG(TC1) #if defined(TC1) && TC1 > 0 && TC1 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TC1) REPORT_NAME_ANALOG(__LINE__, TC1)
#endif #endif
#if _EXISTS_ANALOG(TC2) #if defined(TC2) && TC2 > 0 && TC2 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TC2) REPORT_NAME_ANALOG(__LINE__, TC2)
#endif #endif
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_0) #if PIN_EXISTS(TEMP_0) && TEMP_0_PIN >= 0 && TEMP_0_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_0_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_0_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_1) #if PIN_EXISTS(TEMP_1) && TEMP_1_PIN >= 0 && TEMP_1_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_1_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_1_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_2) #if PIN_EXISTS(TEMP_2) && TEMP_2_PIN >= 0 && TEMP_2_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_2_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_2_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_3) #if PIN_EXISTS(TEMP_3) && TEMP_3_PIN >= 0 && TEMP_3_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_3_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_3_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_4) #if PIN_EXISTS(TEMP_4) && TEMP_4_PIN >= 0 && TEMP_4_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_4_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_4_PIN)
#endif #endif
#if _EXISTS(THERMO_CS2) #if defined(THERMO_CS2) && THERMO_CS2 > 0
REPORT_NAME_DIGITAL(__LINE__, THERMO_CS2) REPORT_NAME_DIGITAL(__LINE__, THERMO_CS2)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_BED) #if PIN_EXISTS(TEMP_BED) && TEMP_BED_PIN >= 0 && TEMP_BED_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_BED_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_BED_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_CHAMBER) #if PIN_EXISTS(TEMP_CHAMBER) && TEMP_CHAMBER_PIN >= 0 && TEMP_CHAMBER_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_CHAMBER_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_CHAMBER_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_X) #if PIN_EXISTS(TEMP_X) && TEMP_X_PIN >= 0 && TEMP_X_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_X_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_X_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(ADC_KEYPAD) #if PIN_EXISTS(ADC_KEYPAD) && ADC_KEYPAD_PIN >= 0 && ADC_KEYPAD_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, ADC_KEYPAD_PIN) REPORT_NAME_ANALOG(__LINE__, ADC_KEYPAD_PIN)
#endif #endif
#if _EXISTS(__FD) #if defined(__FD) && __FD > 0
REPORT_NAME_DIGITAL(__LINE__, __FD) REPORT_NAME_DIGITAL(__LINE__, __FD)
#endif #endif
#if _EXISTS(__FS) #if defined(__FS) && __FS > 0
REPORT_NAME_DIGITAL(__LINE__, __FS) REPORT_NAME_DIGITAL(__LINE__, __FS)
#endif #endif
#if _EXISTS(__GD) #if defined(__GD) && __GD > 0
REPORT_NAME_DIGITAL(__LINE__, __GD) REPORT_NAME_DIGITAL(__LINE__, __GD)
#endif #endif
#if _EXISTS(__GS) #if defined(__GS) && __GS > 0
REPORT_NAME_DIGITAL(__LINE__, __GS) REPORT_NAME_DIGITAL(__LINE__, __GS)
#endif #endif
#if PIN_EXISTS(AVR_MISO) #if PIN_EXISTS(AVR_MISO)
@ -122,43 +118,43 @@
#if PIN_EXISTS(BEEPER) #if PIN_EXISTS(BEEPER)
REPORT_NAME_DIGITAL(__LINE__, BEEPER_PIN) REPORT_NAME_DIGITAL(__LINE__, BEEPER_PIN)
#endif #endif
#if _EXISTS(BTN_BACK) #if defined(BTN_BACK) && BTN_BACK > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_BACK) REPORT_NAME_DIGITAL(__LINE__, BTN_BACK)
#endif #endif
#if _EXISTS(BTN_CENTER) #if defined(BTN_CENTER) && BTN_CENTER > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_CENTER) REPORT_NAME_DIGITAL(__LINE__, BTN_CENTER)
#endif #endif
#if _EXISTS(BTN_DOWN) #if defined(BTN_DOWN) && BTN_DOWN > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_DOWN) REPORT_NAME_DIGITAL(__LINE__, BTN_DOWN)
#endif #endif
#if _EXISTS(BTN_DWN) #if defined(BTN_DWN) && BTN_DWN > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_DWN) REPORT_NAME_DIGITAL(__LINE__, BTN_DWN)
#endif #endif
#if _EXISTS(BTN_EN1) #if defined(BTN_EN1) && BTN_EN1 > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_EN1) REPORT_NAME_DIGITAL(__LINE__, BTN_EN1)
#endif #endif
#if _EXISTS(BTN_EN2) #if defined(BTN_EN2) && BTN_EN2 > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_EN2) REPORT_NAME_DIGITAL(__LINE__, BTN_EN2)
#endif #endif
#if _EXISTS(BTN_ENC) #if defined(BTN_ENC) && BTN_ENC > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_ENC) REPORT_NAME_DIGITAL(__LINE__, BTN_ENC)
#endif #endif
#if _EXISTS(BTN_HOME) #if defined(BTN_HOME) && BTN_HOME > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_HOME) REPORT_NAME_DIGITAL(__LINE__, BTN_HOME)
#endif #endif
#if _EXISTS(BTN_LEFT) #if defined(BTN_LEFT) && BTN_LEFT > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_LEFT) REPORT_NAME_DIGITAL(__LINE__, BTN_LEFT)
#endif #endif
#if _EXISTS(BTN_LFT) #if defined(BTN_LFT) && BTN_LFT > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_LFT) REPORT_NAME_DIGITAL(__LINE__, BTN_LFT)
#endif #endif
#if _EXISTS(BTN_RIGHT) #if defined(BTN_RIGHT) && BTN_RIGHT > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_RIGHT) REPORT_NAME_DIGITAL(__LINE__, BTN_RIGHT)
#endif #endif
#if _EXISTS(BTN_RT) #if defined(BTN_RT) && BTN_RT > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_RT) REPORT_NAME_DIGITAL(__LINE__, BTN_RT)
#endif #endif
#if _EXISTS(BTN_UP) #if defined(BTN_UP) && BTN_UP > 0
REPORT_NAME_DIGITAL(__LINE__, BTN_UP) REPORT_NAME_DIGITAL(__LINE__, BTN_UP)
#endif #endif
#if PIN_EXISTS(CASE_LIGHT) #if PIN_EXISTS(CASE_LIGHT)
@ -173,55 +169,55 @@
#if PIN_EXISTS(CUTOFF_TEST) #if PIN_EXISTS(CUTOFF_TEST)
REPORT_NAME_DIGITAL(__LINE__, CUTOFF_TEST_PIN) REPORT_NAME_DIGITAL(__LINE__, CUTOFF_TEST_PIN)
#endif #endif
#if _EXISTS(D57) #if defined(D57) && D57 > 0
REPORT_NAME_DIGITAL(__LINE__, D57) REPORT_NAME_DIGITAL(__LINE__, D57)
#endif #endif
#if _EXISTS(D58) #if defined(D58) && D58 > 0
REPORT_NAME_DIGITAL(__LINE__, D58) REPORT_NAME_DIGITAL(__LINE__, D58)
#endif #endif
#if PIN_EXISTS(DAC_DISABLE) #if PIN_EXISTS(DAC_DISABLE)
REPORT_NAME_DIGITAL(__LINE__, DAC_DISABLE_PIN) REPORT_NAME_DIGITAL(__LINE__, DAC_DISABLE_PIN)
#endif #endif
#if _EXISTS(DAC0_SYNC) #if defined(DAC0_SYNC) && DAC0_SYNC > 0
REPORT_NAME_DIGITAL(__LINE__, DAC0_SYNC) REPORT_NAME_DIGITAL(__LINE__, DAC0_SYNC)
#endif #endif
#if _EXISTS(DAC1_SYNC) #if defined(DAC1_SYNC) && DAC1_SYNC > 0
REPORT_NAME_DIGITAL(__LINE__, DAC1_SYNC) REPORT_NAME_DIGITAL(__LINE__, DAC1_SYNC)
#endif #endif
#if PIN_EXISTS(DEBUG) #if PIN_EXISTS(DEBUG)
REPORT_NAME_DIGITAL(__LINE__, DEBUG_PIN) REPORT_NAME_DIGITAL(__LINE__, DEBUG_PIN)
#endif #endif
#if _EXISTS(DIGIPOTS_I2C_SCL) #if defined(DIGIPOTS_I2C_SCL) && DIGIPOTS_I2C_SCL > 0
REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SCL) REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SCL)
#endif #endif
#if _EXISTS(DIGIPOTS_I2C_SDA_E0) #if defined(DIGIPOTS_I2C_SDA_E0) && DIGIPOTS_I2C_SDA_E0 > 0
REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_E0) REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_E0)
#endif #endif
#if _EXISTS(DIGIPOTS_I2C_SDA_E1) #if defined(DIGIPOTS_I2C_SDA_E1) && DIGIPOTS_I2C_SDA_E1 > 0
REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_E1) REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_E1)
#endif #endif
#if _EXISTS(DIGIPOTS_I2C_SDA_X) #if defined(DIGIPOTS_I2C_SDA_X) && DIGIPOTS_I2C_SDA_X > 0
REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_X) REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_X)
#endif #endif
#if _EXISTS(DIGIPOTS_I2C_SDA_Y) #if defined(DIGIPOTS_I2C_SDA_Y) && DIGIPOTS_I2C_SDA_Y > 0
REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_Y) REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_Y)
#endif #endif
#if _EXISTS(DIGIPOTS_I2C_SDA_Z) #if defined(DIGIPOTS_I2C_SDA_Z) && DIGIPOTS_I2C_SDA_Z > 0
REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_Z) REPORT_NAME_DIGITAL(__LINE__, DIGIPOTS_I2C_SDA_Z)
#endif #endif
#if PIN_EXISTS(DIGIPOTSS) #if PIN_EXISTS(DIGIPOTSS)
REPORT_NAME_DIGITAL(__LINE__, DIGIPOTSS_PIN) REPORT_NAME_DIGITAL(__LINE__, DIGIPOTSS_PIN)
#endif #endif
#if _EXISTS(DOGLCD_A0) #if defined(DOGLCD_A0) && DOGLCD_A0 > 0
REPORT_NAME_DIGITAL(__LINE__, DOGLCD_A0) REPORT_NAME_DIGITAL(__LINE__, DOGLCD_A0)
#endif #endif
#if _EXISTS(DOGLCD_CS) #if defined(DOGLCD_CS) && DOGLCD_CS > 0
REPORT_NAME_DIGITAL(__LINE__, DOGLCD_CS) REPORT_NAME_DIGITAL(__LINE__, DOGLCD_CS)
#endif #endif
#if _EXISTS(DOGLCD_MOSI) #if defined(DOGLCD_MOSI) && DOGLCD_MOSI > 0
REPORT_NAME_DIGITAL(__LINE__, DOGLCD_MOSI) REPORT_NAME_DIGITAL(__LINE__, DOGLCD_MOSI)
#endif #endif
#if _EXISTS(DOGLCD_SCK) #if defined(DOGLCD_SCK) && DOGLCD_SCK > 0
REPORT_NAME_DIGITAL(__LINE__, DOGLCD_SCK) REPORT_NAME_DIGITAL(__LINE__, DOGLCD_SCK)
#endif #endif
#if PIN_EXISTS(E_MUX0) #if PIN_EXISTS(E_MUX0)
@ -350,100 +346,100 @@
#if PIN_EXISTS(E4_STEP) #if PIN_EXISTS(E4_STEP)
REPORT_NAME_DIGITAL(__LINE__, E4_STEP_PIN) REPORT_NAME_DIGITAL(__LINE__, E4_STEP_PIN)
#endif #endif
#if _EXISTS(ENET_CRS) #if defined(ENET_CRS) && ENET_CRS > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_CRS) REPORT_NAME_DIGITAL(__LINE__, ENET_CRS)
#endif #endif
#if _EXISTS(ENET_MDIO) #if defined(ENET_MDIO) && ENET_MDIO > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_MDIO) REPORT_NAME_DIGITAL(__LINE__, ENET_MDIO)
#endif #endif
#if _EXISTS(ENET_MOC) #if defined(ENET_MOC) && ENET_MOC > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_MOC) REPORT_NAME_DIGITAL(__LINE__, ENET_MOC)
#endif #endif
#if _EXISTS(ENET_RX_ER) #if defined(ENET_RX_ER) && ENET_RX_ER > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_RX_ER) REPORT_NAME_DIGITAL(__LINE__, ENET_RX_ER)
#endif #endif
#if _EXISTS(ENET_RXD0) #if defined(ENET_RXD0) && ENET_RXD0 > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_RXD0) REPORT_NAME_DIGITAL(__LINE__, ENET_RXD0)
#endif #endif
#if _EXISTS(ENET_RXD1) #if defined(ENET_RXD1) && ENET_RXD1 > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_RXD1) REPORT_NAME_DIGITAL(__LINE__, ENET_RXD1)
#endif #endif
#if _EXISTS(ENET_TX_EN) #if defined(ENET_TX_EN) && ENET_TX_EN > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_TX_EN) REPORT_NAME_DIGITAL(__LINE__, ENET_TX_EN)
#endif #endif
#if _EXISTS(ENET_TXD0) #if defined(ENET_TXD0) && ENET_TXD0 > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_TXD0) REPORT_NAME_DIGITAL(__LINE__, ENET_TXD0)
#endif #endif
#if _EXISTS(ENET_TXD1) #if defined(ENET_TXD1) && ENET_TXD1 > 0
REPORT_NAME_DIGITAL(__LINE__, ENET_TXD1) REPORT_NAME_DIGITAL(__LINE__, ENET_TXD1)
#endif #endif
#if PIN_EXISTS(EXP_VOLTAGE_LEVEL) #if PIN_EXISTS(EXP_VOLTAGE_LEVEL)
REPORT_NAME_DIGITAL(__LINE__, EXP_VOLTAGE_LEVEL_PIN) REPORT_NAME_DIGITAL(__LINE__, EXP_VOLTAGE_LEVEL_PIN)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A0) #if defined(EXT_AUX_A0) && EXT_AUX_A0 > 0 && EXT_AUX_A0 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A0) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A0)
#endif #endif
#if _EXISTS(EXT_AUX_A0) && EXT_AUX_A0 >= NUM_ANALOG_INPUTS #if defined(EXT_AUX_A0) && EXT_AUX_A0 >= NUM_ANALOG_INPUTS && EXT_AUX_A0 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A0) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A0)
#endif #endif
#if _EXISTS(EXT_AUX_A0_IO) #if defined(EXT_AUX_A0_IO) && EXT_AUX_A0_IO > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A0_IO) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A0_IO)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A1) #if defined(EXT_AUX_A1) && EXT_AUX_A1 > 0 && EXT_AUX_A1 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A1) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A1)
#endif #endif
#if _EXISTS(EXT_AUX_A1) && EXT_AUX_A1 >= NUM_ANALOG_INPUTS #if defined(EXT_AUX_A1) && EXT_AUX_A1 >= NUM_ANALOG_INPUTS && EXT_AUX_A1 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A1) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A1)
#endif #endif
#if _EXISTS(EXT_AUX_A1_IO) #if defined(EXT_AUX_A1_IO) && EXT_AUX_A1_IO > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A1_IO) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A1_IO)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A2) #if defined(EXT_AUX_A2) && EXT_AUX_A2 > 0 && EXT_AUX_A2 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A2) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A2)
#endif #endif
#if _EXISTS(EXT_AUX_A2) && EXT_AUX_A2 >= NUM_ANALOG_INPUTS #if defined(EXT_AUX_A2) && EXT_AUX_A2 >= NUM_ANALOG_INPUTS && EXT_AUX_A2 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A2) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A2)
#endif #endif
#if _EXISTS(EXT_AUX_A2_IO) #if defined(EXT_AUX_A2_IO) && EXT_AUX_A2_IO > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A2_IO) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A2_IO)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A3) #if defined(EXT_AUX_A3) && EXT_AUX_A3 > 0 && EXT_AUX_A3 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A3) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A3)
#endif #endif
#if _EXISTS(EXT_AUX_A3) && EXT_AUX_A3 >= NUM_ANALOG_INPUTS #if defined(EXT_AUX_A3) && EXT_AUX_A3 >= NUM_ANALOG_INPUTS && EXT_AUX_A3 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A3) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A3)
#endif #endif
#if _EXISTS(EXT_AUX_A3_IO) #if defined(EXT_AUX_A3_IO) && EXT_AUX_A3_IO > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A3_IO) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A3_IO)
#endif #endif
#if _EXISTS_ANALOG(EXT_AUX_A4) #if defined(EXT_AUX_A4) && EXT_AUX_A4 > 0 && EXT_AUX_A4 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A4) REPORT_NAME_ANALOG(__LINE__, EXT_AUX_A4)
#endif #endif
#if _EXISTS(EXT_AUX_A4) && EXT_AUX_A4 >= NUM_ANALOG_INPUTS #if defined(EXT_AUX_A4) && EXT_AUX_A4 >= NUM_ANALOG_INPUTS && EXT_AUX_A4 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A4) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A4)
#endif #endif
#if _EXISTS(EXT_AUX_A4_IO) #if defined(EXT_AUX_A4_IO) && EXT_AUX_A4_IO > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A4_IO) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_A4_IO)
#endif #endif
#if _EXISTS(EXT_AUX_PWM_D24) #if defined(EXT_AUX_PWM_D24) && EXT_AUX_PWM_D24 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_PWM_D24) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_PWM_D24)
#endif #endif
#if _EXISTS(EXT_AUX_RX1_D2) #if defined(EXT_AUX_RX1_D2) && EXT_AUX_RX1_D2 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_RX1_D2) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_RX1_D2)
#endif #endif
#if _EXISTS(EXT_AUX_SCL_D0) #if defined(EXT_AUX_SCL_D0) && EXT_AUX_SCL_D0 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_SCL_D0) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_SCL_D0)
#endif #endif
#if _EXISTS(EXT_AUX_SDA_D1) #if defined(EXT_AUX_SDA_D1) && EXT_AUX_SDA_D1 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_SDA_D1) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_SDA_D1)
#endif #endif
#if _EXISTS(EXT_AUX_TX1_D3) #if defined(EXT_AUX_TX1_D3) && EXT_AUX_TX1_D3 > 0
REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_TX1_D3) REPORT_NAME_DIGITAL(__LINE__, EXT_AUX_TX1_D3)
#endif #endif
#if _EXISTS(EXTRUDER_0_AUTO_FAN) #if defined(EXTRUDER_0_AUTO_FAN) && EXTRUDER_0_AUTO_FAN > 0
REPORT_NAME_DIGITAL(__LINE__, EXTRUDER_0_AUTO_FAN) REPORT_NAME_DIGITAL(__LINE__, EXTRUDER_0_AUTO_FAN)
#endif #endif
#if _EXISTS(EXTRUDER_1_AUTO_FAN) #if defined(EXTRUDER_1_AUTO_FAN) && EXTRUDER_1_AUTO_FAN > 0
REPORT_NAME_DIGITAL(__LINE__, EXTRUDER_1_AUTO_FAN) REPORT_NAME_DIGITAL(__LINE__, EXTRUDER_1_AUTO_FAN)
#endif #endif
#if PIN_EXISTS(FAN) #if PIN_EXISTS(FAN)
@ -461,7 +457,7 @@
#if PIN_EXISTS(FIL_RUNOUT) #if PIN_EXISTS(FIL_RUNOUT)
REPORT_NAME_DIGITAL(__LINE__, FIL_RUNOUT_PIN) REPORT_NAME_DIGITAL(__LINE__, FIL_RUNOUT_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(FILWIDTH) #if PIN_EXISTS(FILWIDTH) && FILWIDTH_PIN >= 0 && FILWIDTH_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, FILWIDTH_PIN) REPORT_NAME_ANALOG(__LINE__, FILWIDTH_PIN)
#endif #endif
#if PIN_EXISTS(HEATER_0) #if PIN_EXISTS(HEATER_0)
@ -506,25 +502,25 @@
#if PIN_EXISTS(LCD_BACKLIGHT) #if PIN_EXISTS(LCD_BACKLIGHT)
REPORT_NAME_DIGITAL(__LINE__, LCD_BACKLIGHT_PIN) REPORT_NAME_DIGITAL(__LINE__, LCD_BACKLIGHT_PIN)
#endif #endif
#if _EXISTS(LCD_PINS_D4) #if defined(LCD_PINS_D4) && LCD_PINS_D4 > 0
REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_D4) REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_D4)
#endif #endif
#if _EXISTS(LCD_PINS_D5) #if defined(LCD_PINS_D5) && LCD_PINS_D5 > 0
REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_D5) REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_D5)
#endif #endif
#if _EXISTS(LCD_PINS_D6) #if defined(LCD_PINS_D6) && LCD_PINS_D6 > 0
REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_D6) REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_D6)
#endif #endif
#if _EXISTS(LCD_PINS_D7) #if defined(LCD_PINS_D7) && LCD_PINS_D7 > 0
REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_D7) REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_D7)
#endif #endif
#if _EXISTS(LCD_PINS_ENABLE) #if defined(LCD_PINS_ENABLE) && LCD_PINS_ENABLE > 0
REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_ENABLE) REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_ENABLE)
#endif #endif
#if _EXISTS(LCD_PINS_RS) #if defined(LCD_PINS_RS) && LCD_PINS_RS > 0
REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_RS) REPORT_NAME_DIGITAL(__LINE__, LCD_PINS_RS)
#endif #endif
#if _EXISTS(LCD_SDSS) #if defined(LCD_SDSS) && LCD_SDSS > 0
REPORT_NAME_DIGITAL(__LINE__, LCD_SDSS) REPORT_NAME_DIGITAL(__LINE__, LCD_SDSS)
#endif #endif
#if PIN_EXISTS(LED_GREEN) #if PIN_EXISTS(LED_GREEN)
@ -545,13 +541,13 @@
#if PIN_EXISTS(MAX6675_SCK) #if PIN_EXISTS(MAX6675_SCK)
REPORT_NAME_DIGITAL(__LINE__, MAX6675_SCK_PIN) REPORT_NAME_DIGITAL(__LINE__, MAX6675_SCK_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(MAIN_VOLTAGE_MEASURE) #if PIN_EXISTS(MAIN_VOLTAGE_MEASURE) && MAIN_VOLTAGE_MEASURE_PIN >= 0 && MAIN_VOLTAGE_MEASURE_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, MAIN_VOLTAGE_MEASURE_PIN) REPORT_NAME_ANALOG(__LINE__, MAIN_VOLTAGE_MEASURE_PIN)
#endif #endif
#if _EXISTS(MAX6675_SS) #if defined(MAX6675_SS) && MAX6675_SS > 0
REPORT_NAME_DIGITAL(__LINE__, MAX6675_SS) REPORT_NAME_DIGITAL(__LINE__, MAX6675_SS)
#endif #endif
// #if _EXISTS(MISO) // #if defined(MISO) && MISO > 0
// REPORT_NAME_DIGITAL(__LINE__, MISO) // REPORT_NAME_DIGITAL(__LINE__, MISO)
// #endif // #endif
#if PIN_EXISTS(MISO) #if PIN_EXISTS(MISO)
@ -569,7 +565,7 @@
#if PIN_EXISTS(MOSFET_D) #if PIN_EXISTS(MOSFET_D)
REPORT_NAME_DIGITAL(__LINE__, MOSFET_D_PIN) REPORT_NAME_DIGITAL(__LINE__, MOSFET_D_PIN)
#endif #endif
// #if _EXISTS(MOSI) // #if defined(MOSI) && MOSI > 0
// REPORT_NAME_DIGITAL(__LINE__, MOSI) // REPORT_NAME_DIGITAL(__LINE__, MOSI)
// #endif // #endif
#if PIN_EXISTS(MOSI) #if PIN_EXISTS(MOSI)
@ -617,7 +613,7 @@
#if PIN_EXISTS(PWM_2) #if PIN_EXISTS(PWM_2)
REPORT_NAME_DIGITAL(__LINE__, PWM_2_PIN) REPORT_NAME_DIGITAL(__LINE__, PWM_2_PIN)
#endif #endif
#if _EXISTS(REF_CLK) #if defined(REF_CLK) && REF_CLK > 0
REPORT_NAME_DIGITAL(__LINE__, REF_CLK) REPORT_NAME_DIGITAL(__LINE__, REF_CLK)
#endif #endif
#if PIN_EXISTS(RAMPS_D10) #if PIN_EXISTS(RAMPS_D10)
@ -647,28 +643,28 @@
#if PIN_EXISTS(SAFETY_TRIGGERED) #if PIN_EXISTS(SAFETY_TRIGGERED)
REPORT_NAME_DIGITAL(__LINE__, SAFETY_TRIGGERED_PIN) REPORT_NAME_DIGITAL(__LINE__, SAFETY_TRIGGERED_PIN)
#endif #endif
// #if _EXISTS(SCK) // #if defined(SCK) && SCK > 0
// REPORT_NAME_DIGITAL(__LINE__, SCK) // REPORT_NAME_DIGITAL(__LINE__, SCK)
// #endif // #endif
#if PIN_EXISTS(SCK) #if PIN_EXISTS(SCK)
REPORT_NAME_DIGITAL(__LINE__, SCK_PIN) REPORT_NAME_DIGITAL(__LINE__, SCK_PIN)
#endif #endif
#if _EXISTS(SCL) #if defined(SCL) && SCL > 0
REPORT_NAME_DIGITAL(__LINE__, SCL) REPORT_NAME_DIGITAL(__LINE__, SCL)
#endif #endif
#if PIN_EXISTS(SD_DETECT) #if PIN_EXISTS(SD_DETECT)
REPORT_NAME_DIGITAL(__LINE__, SD_DETECT_PIN) REPORT_NAME_DIGITAL(__LINE__, SD_DETECT_PIN)
#endif #endif
#if _EXISTS(SDA) #if defined(SDA) && SDA > 0
REPORT_NAME_DIGITAL(__LINE__, SDA) REPORT_NAME_DIGITAL(__LINE__, SDA)
#endif #endif
#if _EXISTS(SDPOWER) #if defined(SDPOWER) && SDPOWER > 0
REPORT_NAME_DIGITAL(__LINE__, SDPOWER) REPORT_NAME_DIGITAL(__LINE__, SDPOWER)
#endif #endif
#if _EXISTS(SDSS) #if defined(SDSS) && SDSS > 0
REPORT_NAME_DIGITAL(__LINE__, SDSS) REPORT_NAME_DIGITAL(__LINE__, SDSS)
#endif #endif
#if _EXISTS(SERVO0) #if defined(SERVO0) && SERVO0 > 0
REPORT_NAME_DIGITAL(__LINE__, SERVO0) REPORT_NAME_DIGITAL(__LINE__, SERVO0)
#endif #endif
#if PIN_EXISTS(SERVO0) #if PIN_EXISTS(SERVO0)
@ -683,16 +679,16 @@
#if PIN_EXISTS(SERVO3) #if PIN_EXISTS(SERVO3)
REPORT_NAME_DIGITAL(__LINE__, SERVO3_PIN) REPORT_NAME_DIGITAL(__LINE__, SERVO3_PIN)
#endif #endif
#if _EXISTS(SHIFT_CLK) #if defined(SHIFT_CLK) && SHIFT_CLK > 0
REPORT_NAME_DIGITAL(__LINE__, SHIFT_CLK) REPORT_NAME_DIGITAL(__LINE__, SHIFT_CLK)
#endif #endif
#if _EXISTS(SHIFT_EN) #if defined(SHIFT_EN) && SHIFT_EN > 0
REPORT_NAME_DIGITAL(__LINE__, SHIFT_EN) REPORT_NAME_DIGITAL(__LINE__, SHIFT_EN)
#endif #endif
#if _EXISTS(SHIFT_LD) #if defined(SHIFT_LD) && SHIFT_LD > 0
REPORT_NAME_DIGITAL(__LINE__, SHIFT_LD) REPORT_NAME_DIGITAL(__LINE__, SHIFT_LD)
#endif #endif
#if _EXISTS(SHIFT_OUT) #if defined(SHIFT_OUT) && SHIFT_OUT > 0
REPORT_NAME_DIGITAL(__LINE__, SHIFT_OUT) REPORT_NAME_DIGITAL(__LINE__, SHIFT_OUT)
#endif #endif
#if PIN_EXISTS(SLED) #if PIN_EXISTS(SLED)
@ -716,25 +712,25 @@
#if PIN_EXISTS(SOL4) #if PIN_EXISTS(SOL4)
REPORT_NAME_DIGITAL(__LINE__, SOL4_PIN) REPORT_NAME_DIGITAL(__LINE__, SOL4_PIN)
#endif #endif
#if _EXISTS(SPARE_IO) #if defined(SPARE_IO) && SPARE_IO > 0
REPORT_NAME_DIGITAL(__LINE__, SPARE_IO) REPORT_NAME_DIGITAL(__LINE__, SPARE_IO)
#endif #endif
#if _EXISTS(SPI_CHAN_DAC) #if defined(SPI_CHAN_DAC) && SPI_CHAN_DAC > 0
REPORT_NAME_DIGITAL(__LINE__, SPI_CHAN_DAC) REPORT_NAME_DIGITAL(__LINE__, SPI_CHAN_DAC)
#endif #endif
#if _EXISTS(SPI_CHAN_EEPROM1) #if defined(SPI_CHAN_EEPROM1) && SPI_CHAN_EEPROM1 > 0
REPORT_NAME_DIGITAL(__LINE__, SPI_CHAN_EEPROM1) REPORT_NAME_DIGITAL(__LINE__, SPI_CHAN_EEPROM1)
#endif #endif
#if _EXISTS(SPI_EEPROM) #if defined(SPI_EEPROM) && SPI_EEPROM > 0
REPORT_NAME_DIGITAL(__LINE__, SPI_EEPROM) REPORT_NAME_DIGITAL(__LINE__, SPI_EEPROM)
#endif #endif
#if _EXISTS(SPI_EEPROM1_CS) #if defined(SPI_EEPROM1_CS) && SPI_EEPROM1_CS > 0
REPORT_NAME_DIGITAL(__LINE__, SPI_EEPROM1_CS) REPORT_NAME_DIGITAL(__LINE__, SPI_EEPROM1_CS)
#endif #endif
#if _EXISTS(SPI_EEPROM2_CS) #if defined(SPI_EEPROM2_CS) && SPI_EEPROM2_CS > 0
REPORT_NAME_DIGITAL(__LINE__, SPI_EEPROM2_CS) REPORT_NAME_DIGITAL(__LINE__, SPI_EEPROM2_CS)
#endif #endif
#if _EXISTS(SPI_FLASH_CS) #if defined(SPI_FLASH_CS) && SPI_FLASH_CS > 0
REPORT_NAME_DIGITAL(__LINE__, SPI_FLASH_CS) REPORT_NAME_DIGITAL(__LINE__, SPI_FLASH_CS)
#endif #endif
#if PIN_EXISTS(SPINDLE_DIR) #if PIN_EXISTS(SPINDLE_DIR)
@ -764,7 +760,7 @@
#if PIN_EXISTS(STAT_LED_BLUE) #if PIN_EXISTS(STAT_LED_BLUE)
REPORT_NAME_DIGITAL(__LINE__, STAT_LED_BLUE_PIN) REPORT_NAME_DIGITAL(__LINE__, STAT_LED_BLUE_PIN)
#endif #endif
#if _EXISTS(STAT_LED_RED_LED) #if defined(STAT_LED_RED_LED) && STAT_LED_RED_LED > 0
REPORT_NAME_DIGITAL(__LINE__, STAT_LED_RED_LED) REPORT_NAME_DIGITAL(__LINE__, STAT_LED_RED_LED)
#endif #endif
#if PIN_EXISTS(STAT_LED_RED) #if PIN_EXISTS(STAT_LED_RED)
@ -776,40 +772,40 @@
#if PIN_EXISTS(SUICIDE) #if PIN_EXISTS(SUICIDE)
REPORT_NAME_DIGITAL(__LINE__, SUICIDE_PIN) REPORT_NAME_DIGITAL(__LINE__, SUICIDE_PIN)
#endif #endif
#if _EXISTS(THERMO_CS1) #if defined(THERMO_CS1) && THERMO_CS1 > 0
REPORT_NAME_DIGITAL(__LINE__, THERMO_CS1) REPORT_NAME_DIGITAL(__LINE__, THERMO_CS1)
#endif #endif
#if _EXISTS(THERMO_CS2) #if defined(THERMO_CS2) && THERMO_CS2 > 0
REPORT_NAME_DIGITAL(__LINE__, THERMO_CS2) REPORT_NAME_DIGITAL(__LINE__, THERMO_CS2)
#endif #endif
#if _EXISTS_ANALOG(TC1) #if defined(TC1) && TC1 > 0 && TC1 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TC1) REPORT_NAME_ANALOG(__LINE__, TC1)
#endif #endif
#if _EXISTS_ANALOG(TC2) #if defined(TC2) && TC2 > 0 && TC2 < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TC2) REPORT_NAME_ANALOG(__LINE__, TC2)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_0) #if PIN_EXISTS(TEMP_0) && TEMP_0_PIN >= 0 && TEMP_0_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_0_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_0_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_1) #if PIN_EXISTS(TEMP_1) && TEMP_1_PIN >= 0 && TEMP_1_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_1_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_1_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_2) #if PIN_EXISTS(TEMP_2) && TEMP_2_PIN >= 0 && TEMP_2_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_2_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_2_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_3) #if PIN_EXISTS(TEMP_3) && TEMP_3_PIN >= 0 && TEMP_3_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_3_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_3_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_4) #if PIN_EXISTS(TEMP_4) && TEMP_4_PIN >= 0 && TEMP_4_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_4_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_4_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_BED) #if PIN_EXISTS(TEMP_BED) && TEMP_BED_PIN >= 0 && TEMP_BED_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_BED_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_BED_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_CHAMBER) #if PIN_EXISTS(TEMP_CHAMBER) && TEMP_CHAMBER_PIN >= 0 && TEMP_CHAMBER_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_CHAMBER_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_CHAMBER_PIN)
#endif #endif
#if PIN_EXISTS_ANALOG(TEMP_X) #if PIN_EXISTS(TEMP_X) && TEMP_X_PIN >= 0 && TEMP_X_PIN < NUM_ANALOG_INPUTS
REPORT_NAME_ANALOG(__LINE__, TEMP_X_PIN) REPORT_NAME_ANALOG(__LINE__, TEMP_X_PIN)
#endif #endif
#if PIN_EXISTS(THERMO_DO) #if PIN_EXISTS(THERMO_DO)
@ -860,13 +856,13 @@
#if PIN_EXISTS(TX_ENABLE) #if PIN_EXISTS(TX_ENABLE)
REPORT_NAME_DIGITAL(__LINE__, TX_ENABLE_PIN) REPORT_NAME_DIGITAL(__LINE__, TX_ENABLE_PIN)
#endif #endif
#if _EXISTS(UI1) #if defined(UI1) && UI1 > 0
REPORT_NAME_DIGITAL(__LINE__, UI1) REPORT_NAME_DIGITAL(__LINE__, UI1)
#endif #endif
#if _EXISTS(UI2) #if defined(UI2) && UI2 > 0
REPORT_NAME_DIGITAL(__LINE__, UI2) REPORT_NAME_DIGITAL(__LINE__, UI2)
#endif #endif
#if _EXISTS(UNUSED_PWM) #if defined(UNUSED_PWM) && UNUSED_PWM > 0
REPORT_NAME_DIGITAL(__LINE__, UNUSED_PWM) REPORT_NAME_DIGITAL(__LINE__, UNUSED_PWM)
#endif #endif
#if PIN_EXISTS(X_ATT) #if PIN_EXISTS(X_ATT)