diff --git a/sonoff/support.ino b/sonoff/support.ino index 963cac331..a9f8b3b84 100644 --- a/sonoff/support.ino +++ b/sonoff/support.ino @@ -757,7 +757,7 @@ void GetFeatures() feature_drv1 |= 0x00100000; // xdrv_07_domoticz.ino #endif #ifdef USE_DISPLAY - feature_drv1 |= 0x00200000; // xdrv_98_display.ino + feature_drv1 |= 0x00200000; // xdrv_13_display.ino #endif #ifdef USE_HOME_ASSISTANT feature_drv1 |= 0x00400000; // xdrv_12_home_assistant.ino @@ -806,6 +806,30 @@ void GetFeatures() #ifdef USE_KNX_NO_EMULATION feature_drv2 |= 0x00000010; // user_config(_override).h #endif +#ifdef USE_DISPLAY_MODES1TO5 + feature_drv2 |= 0x00000020; // xdrv_13_display.ino +#endif +#ifdef USE_DISPLAY_GRAPH + feature_drv2 |= 0x00000040; // xdrv_13_display.ino +#endif +#ifdef USE_DISPLAY_LCD + feature_drv2 |= 0x00000080; // xdsp_01_lcd.ino +#endif +#ifdef USE_DISPLAY_SSD1306 + feature_drv2 |= 0x00000100; // xdsp_02_ssd1306.ino +#endif +#ifdef USE_DISPLAY_MATRIX + feature_drv2 |= 0x00000200; // xdsp_03_matrix.ino +#endif +#ifdef USE_DISPLAY_ILI9341 + feature_drv2 |= 0x00000400; // xdsp_04_ili9341.ino +#endif +#ifdef USE_DISPLAY_EPAPER + feature_drv2 |= 0x00000800; // xdsp_05_epaper.ino +#endif +#ifdef USE_DISPLAY_SH1106 + feature_drv2 |= 0x00001000; // xdsp_06_sh1106.ino +#endif #ifdef VTABLES_IN_FLASH @@ -943,6 +967,12 @@ void GetFeatures() #ifdef USE_MPU6050 feature_sns2 |= 0x00000008; // xsns_32_mpu6050.ino #endif +#ifdef USE_MCP230xx_OUTPUT + feature_sns2 |= 0x00000010; // xsns_29_mcp230xx.ino +#endif +#ifdef USE_MCP230xx_DISPLAYOUTPUT + feature_sns2 |= 0x00000020; // xsns_29_mcp230xx.ino +#endif } /*********************************************************************************************\ diff --git a/tools/decode-status.py b/tools/decode-status.py index 48a08ef9a..749d81455 100644 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -104,9 +104,9 @@ a_features = [[ "USE_KNX","USE_WPS","USE_SMARTCONFIG","" ],[ "USE_CONFIG_OVERRIDE","BE_MINIMAL","USE_ALL_SENSORS","USE_CLASSIC", - "USE_KNX_NO_EMULATION","","","", - "","","","", - "","","","", + "USE_KNX_NO_EMULATION","USE_DISPLAY_MODES1TO5","USE_DISPLAY_GRAPH","USE_DISPLAY_LCD", + "USE_DISPLAY_SSD1306","USE_DISPLAY_MATRIX","USE_DISPLAY_ILI9341","USE_DISPLAY_EPAPER", + "USE_DISPLAY_SH1106","","","", "","","","", "","","","", "","","VTABLES_IN_FLASH","PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH", @@ -122,7 +122,7 @@ a_features = [[ "USE_SDM630","USE_LM75AD","USE_APDS9960","USE_TM1638" ],[ "USE_MCP230xx","USE_MPR121","USE_CCS811","USE_MPU6050", - "","","","", + "USE_MCP230xx_OUTPUT","USE_MCP230xx_DISPLAYOUTPUT","","", "","","","", "","","","", "","","","",