mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
remove SSL from S3 build
This commit is contained in:
@@ -9,7 +9,7 @@ the LICENSE file.
|
||||
#pragma once
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32S3
|
||||
#define EMC_CLIENT_SECURE
|
||||
// #define EMC_CLIENT_SECURE
|
||||
#endif
|
||||
|
||||
#ifndef EMC_TX_TIMEOUT
|
||||
|
||||
@@ -217,7 +217,7 @@ bool MqttSettingsService::configureMqtt() {
|
||||
|
||||
void MqttSettings::read(MqttSettings & settings, JsonObject & root) {
|
||||
#if CONFIG_IDF_TARGET_ESP32S3
|
||||
root["rootCA"] = settings.rootCA;
|
||||
// root["rootCA"] = settings.rootCA;
|
||||
#endif
|
||||
root["enabled"] = settings.enabled;
|
||||
root["host"] = settings.host;
|
||||
@@ -253,7 +253,7 @@ StateUpdateResult MqttSettings::update(JsonObject & root, MqttSettings & setting
|
||||
bool changed = false;
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32S3
|
||||
newSettings.rootCA = root["rootCA"] | "";
|
||||
// newSettings.rootCA = root["rootCA"] | "";
|
||||
#endif
|
||||
newSettings.enabled = root["enabled"] | FACTORY_MQTT_ENABLED;
|
||||
newSettings.host = root["host"] | FACTORY_MQTT_HOST;
|
||||
|
||||
@@ -84,8 +84,7 @@ build_flags = ${common.build_flags}
|
||||
build_unflags = ${common.unbuild_flags}
|
||||
|
||||
[env:ci_s3]
|
||||
platform = espressif32 @ 6.4.0
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.13/esp32-2.0.13.zip
|
||||
platform = https://github.com/tasmota/platform-espressif32.git
|
||||
framework = arduino
|
||||
extra_scripts = scripts/rename_fw.py
|
||||
board = lolin_s3
|
||||
|
||||
Reference in New Issue
Block a user