Merge #1654 into sdk602patch0911 from refs/changes/1654/head 1666/target/1
authorsnickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Tue, 25 Feb 2025 02:13:07 +0000 (02:13 +0000)
committer袁清梦 <3449750381@qq.com>
Tue, 25 Feb 2025 02:13:07 +0000 (02:13 +0000)
默认不定义 single_user_partition 开启单分区模式

* refs/changes/1654/head: (1 commits squashed)

  - 默认不定义 single_user_partition 开启单分区模式

Signed-off-by: snickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Reviewed-by: Caisking <3449750381@qq.com>
Reviewed-by: 罗正 <1732036298@qq.com>
Reviewed-by: aliyun8003852482 <1224667075@qq.com>
Reviewed-by: snickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Reviewed-by: aliyun6865282430 <1624952103@qq.com>
Merged-by: Caisking <3449750381@qq.com>
link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/1654
code/sdk/build/script/cmake_builder.py

index 8e2b16b..d5d2348 100755 (executable)
@@ -150,10 +150,10 @@ class CMakeBuilder(BuildEnvironment):
                 output_path = env.get_output_path()
                 print(output_path)
                 # errcode = exec_shell([self.python_path, fs_script_path], None, True)
-                if env.get("single_user_partition") == 'True' :
-                    single_user_partition = 'True'
-                else:
+                if env.get("single_user_partition") == 'False' :
                     single_user_partition = 'False'
+                else:
+                    single_user_partition = 'True'
 
                 if env.get("nandflash_oobsize") :
                     oobsize=env.get("nandflash_oobsize")