We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3932b9f commit 5484d19Copy full SHA for 5484d19
tools/platformio-build.py
@@ -204,9 +204,9 @@ def add_tinyuf2_extra_image():
204
# Process framework extra images
205
#
206
207
-# Tasmota places extra images "safeboot" in project folder
208
-flash_extra_img = ''.join([str(element) for element in board_config.get("upload.arduino.flash_extra_images", [])])
209
-if "safeboot" in flash_extra_img:
+# Tasmota places extra images "safeboot" in custom variants folder in project directory
+flash_extra_img = board_config.get("build.variants_dir", "")
+if flash_extra_img:
210
EXTRA_IMG_DIR = variants_dir
211
else:
212
EXTRA_IMG_DIR = FRAMEWORK_DIR
0 commit comments