diff --git a/VERSION.txt b/VERSION.txt index 72f9fa8..060d4b5 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.2.4 \ No newline at end of file +0.2.4.1 \ No newline at end of file diff --git a/ufbt/bootstrap.py b/ufbt/bootstrap.py index c8d151e..4188ef1 100644 --- a/ufbt/bootstrap.py +++ b/ufbt/bootstrap.py @@ -606,6 +606,9 @@ def _func(self, args) -> int: else: if current_task.mode: task_to_deploy = current_task + # No previous state, use default hw target + if not task_to_deploy.hw_target: + task_to_deploy.hw_target = SdkDeployTask.DEFAULT_HW_TARGET else: log.warn("No previous SDK state was found, fetching latest release") task_to_deploy = SdkDeployTask.default()