We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ae7b7 commit ad7e45eCopy full SHA for ad7e45e
tools/platformio-build.py
@@ -201,9 +201,9 @@ def add_tinyuf2_extra_image():
201
# Process framework extra images
202
#
203
204
-# Tasmota places extra images "safeboot" in project folder
205
-flash_extra_img = ''.join([str(element) for element in board_config.get("upload.arduino.flash_extra_images", [])])
206
-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:
207
EXTRA_IMG_DIR = variants_dir
208
else:
209
EXTRA_IMG_DIR = FRAMEWORK_DIR
0 commit comments