Skip to content

Commit 7c28481

Browse files
committed
Merge branch 'release-candidate' into release
2 parents a77e6e2 + 91668fb commit 7c28481

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.3
1+
0.2.4

ufbt/bootstrap.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ class SdkDeployTask:
427427
mode: str = None
428428
all_params: Dict[str, str] = field(default_factory=dict)
429429

430-
DEFAULT_HW_TARGET: ClassVar[str] = ""
430+
DEFAULT_HW_TARGET: ClassVar[str] = "f7"
431431

432432
def update_from(self, other: "SdkDeployTask") -> None:
433433
log.debug(f"deploy task update from {other=}")
@@ -454,7 +454,7 @@ def default() -> "SdkDeployTask":
454454
@staticmethod
455455
def from_args(args: argparse.Namespace) -> "SdkDeployTask":
456456
task = SdkDeployTask()
457-
task.hw_target = args.hw_target or SdkDeployTask.DEFAULT_HW_TARGET
457+
task.hw_target = args.hw_target
458458
task.force = args.force
459459
for loader_cls in all_boostrap_loader_cls:
460460
task.all_params.update(loader_cls.args_namespace_to_metadata(args))
@@ -607,7 +607,7 @@ def _func(self, args) -> int:
607607
if current_task.mode:
608608
task_to_deploy = current_task
609609
else:
610-
log.error("No previous SDK state was found, fetching latest release")
610+
log.warn("No previous SDK state was found, fetching latest release")
611611
task_to_deploy = SdkDeployTask.default()
612612

613613
if not sdk_deployer.deploy(task_to_deploy):
@@ -637,6 +637,7 @@ def _add_arguments(self, parser: argparse.ArgumentParser):
637637

638638
def _func(self, args) -> int:
639639
sdk_deployer = UfbtSdkDeployer(args.ufbt_home)
640+
log.info("If you want to clean build artifacts, use 'ufbt -c', not 'clean'")
640641
if args.purge:
641642
log.info(f"Cleaning complete ufbt state in {sdk_deployer.ufbt_state_dir}")
642643
shutil.rmtree(sdk_deployer.ufbt_state_dir, ignore_errors=True)

0 commit comments

Comments
 (0)