|
|
@ -387,7 +387,7 @@ |
|
|
|
[36, "VP (GPIO36, {#PIN_INPUT_ONLY})"], |
|
|
|
[39, "VN (GPIO39, {#PIN_INPUT_ONLY})"] |
|
|
|
]; |
|
|
|
var esp32s3pins = [ |
|
|
|
var esp32sXpins = [ |
|
|
|
[255, "off / default"], |
|
|
|
[0, "GPIO0 ({#PIN_DONT_USE} - BOOT)"], |
|
|
|
[1, "GPIO1"], |
|
|
@ -418,8 +418,8 @@ |
|
|
|
[30, "GPIO30 (FLASH - {#PIN_NOT_AVAIL})"], |
|
|
|
[31, "GPIO31 (FLASH - {#PIN_NOT_AVAIL})"], |
|
|
|
[32, "GPIO32 (FLASH - {#PIN_NOT_AVAIL})"], |
|
|
|
[33, "GPIO33 (not exposed on WROOM modules)"], |
|
|
|
[34, "GPIO34 (not exposed on WROOM modules)"], |
|
|
|
[33, "GPIO33 (not exposed on S3-WROOM modules)"], |
|
|
|
[34, "GPIO34 (not exposed on S3-WROOM modules)"], |
|
|
|
[35, "GPIO35"], |
|
|
|
[36, "GPIO36"], |
|
|
|
[37, "GPIO37"], |
|
|
@ -902,7 +902,7 @@ |
|
|
|
var pinList = esp8266pins; |
|
|
|
/*IF_ESP32*/ |
|
|
|
var pinList = esp32pins; |
|
|
|
if ("ESP32-S3" == system.chip_model) pinList = esp32s3pins; |
|
|
|
if ("ESP32-S3" == system.chip_model || "ESP32-S2" == system.chip_model) pinList = esp32sXpins; |
|
|
|
else if("ESP32-C3" == system["chip_model"]) pinList = esp32c3pins; |
|
|
|
/*ENDIF_ESP32*/ |
|
|
|
pins = [['led0', 'pinLed0', '{#LED_AT_LEAST_ONE_PRODUCING}'], ['led1', 'pinLed1', '{#LED_MQTT_CONNECTED}'], ['led2', 'pinLed2', '{#LED_NIGHT_TIME}']]; |
|
|
@ -938,7 +938,7 @@ |
|
|
|
var pinList = esp8266pins; |
|
|
|
/*IF_ESP32*/ |
|
|
|
var pinList = esp32pins; |
|
|
|
if ("ESP32-S3" == system.chip_model) pinList = esp32s3pins; |
|
|
|
if ("ESP32-S3" == system.chip_model || "ESP32-S2" == system.chip_model) pinList = esp32sXpins; |
|
|
|
else if("ESP32-C3" == system["chip_model"]) pinList = esp32c3pins; |
|
|
|
/*ENDIF_ESP32*/ |
|
|
|
|
|
|
@ -971,7 +971,7 @@ |
|
|
|
var e = document.getElementById("cmt"); |
|
|
|
var en = inp("cmtEnable", null, null, ["cb"], "cmtEnable", "checkbox"); |
|
|
|
var pinList = esp32pins; |
|
|
|
if ("ESP32-S3" == system["chip_model"]) pinList = esp32s3pins; |
|
|
|
if ("ESP32-S3" == system.chip_model || "ESP32-S2" == system.chip_model) pinList = esp32sXpins; |
|
|
|
else if("ESP32-C3" == system["chip_model"]) pinList = esp32c3pins; |
|
|
|
|
|
|
|
en.checked = obj["en"]; |
|
|
@ -1005,7 +1005,7 @@ |
|
|
|
var pinList = esp8266pins; |
|
|
|
/*IF_ESP32*/ |
|
|
|
var pinList = esp32pins; |
|
|
|
if ("ESP32-S3" == system.chip_model) pinList = esp32s3pins; |
|
|
|
if ("ESP32-S3" == system.chip_model || "ESP32-S2" == system.chip_model) pinList = esp32sXpins; |
|
|
|
else if("ESP32-C3" == system["chip_model"]) pinList = esp32c3pins; |
|
|
|
/*ENDIF_ESP32*/ |
|
|
|
|
|
|
|