diff --git a/platformio_tasmota32.ini b/platformio_tasmota32.ini index 609450169..0eaa854e4 100644 --- a/platformio_tasmota32.ini +++ b/platformio_tasmota32.ini @@ -42,4 +42,4 @@ build_flags = ${esp32_defaults.build_flags} platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2solo1/platform-tasmota-espressif32-2.0.2-solo1.zip platform_packages = build_unflags = ${esp32_defaults.build_unflags} -build_flags = ${esp32_defaults.build_flags} +build_flags = ${esp32_defaults.build_flags} -DCORE32SOLO1 diff --git a/platformio_tasmota_env32.ini b/platformio_tasmota_env32.ini index 2756a60d6..a73ef16e4 100644 --- a/platformio_tasmota_env32.ini +++ b/platformio_tasmota_env32.ini @@ -51,7 +51,7 @@ build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA32 extends = env:tasmota32_base platform = ${core32solo1.platform} platform_packages = ${core32solo1.platform_packages} -build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA32 +build_flags = ${core32solo1.build_flags} -DFIRMWARE_TASMOTA32 [env:tasmota32-webcam] extends = env:tasmota32_base diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index b77efe515..050bc7c19 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -98,7 +98,9 @@ #ifdef ESP32 #ifdef CONFIG_IDF_TARGET_ESP32C3 #define OTA_URL "http://ota.tasmota.com/tasmota32/release/tasmota32c3.bin" // [OtaUrl] -#else // No CONFIG_IDF_TARGET_ESP32C3 +#elif defined(CORE32SOLO1) +#define OTA_URL "http://ota.tasmota.com/tasmota32/release/tasmota32solo1.bin" // [OtaUrl] +#else #define OTA_URL "http://ota.tasmota.com/tasmota32/release/tasmota32.bin" // [OtaUrl] #endif // CONFIG_IDF_TARGET_ESP32C3 #endif // ESP32