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 bec7ade commit 5001ac4Copy full SHA for 5001ac4
builder/frameworks/espidf.py
@@ -838,9 +838,8 @@ def create_version_file():
838
version_file = os.path.join(FRAMEWORK_DIR, "version.txt")
839
if not os.path.isfile(version_file):
840
with open(version_file, "w") as fp:
841
- fp.write(
842
- get_original_version(platform.get_package_version("framework-espidf"))
843
- )
+ package_version = platform.get_package_version("framework-espidf")
+ fp.write(get_original_version(package_version) or package_version)
844
845
846
def generate_empty_partition_image(binary_path, image_size):
0 commit comments