DEFAULT_BUILD_TYPE=release
DEFAULT_TARGET_PACK_NAME=pack_brandy_native_js
DEFAULT_APPLICATION_NAME=brandy-native-js
+DEFAULT_SSB_NAME=brandy-ssb
DEFAULT_TARGET_PACK_NAME_USER=pack_brandy_native_js_user
DEFAULT_APPLICATION_NAME_USER=brandy-native-js-user
DEFAULT_CUSTOM_FW_VERSION=1.3.71
then
TARGET_PACK_NAME=pack_brandy_native_js_oob128
APPLICATION_NAME=brandy-native-js-oob128
+DEFAULT_SSB_NAME=brandy-ssb-oob128
BUILD_NAME=_OOB128
fi
recovery_path=$package_dir/brandy-native-js-r/recovery.bin
recoveryelf_path=$package_dir/brandy-native-js-r/recovery.elf
recoverylst_path=$package_dir/brandy-native-js-r/recovery.lst
- ssb_path=$package_dir/brandy-ssb/ssb.bin
- ssbelf_path=$package_dir/brandy-ssb/ssb.elf
- ssblst_path=$package_dir/brandy-ssb/ssb.lst
+ ssb_path=$package_dir/$DEFAULT_SSB_NAME/ssb.bin
+ ssbelf_path=$package_dir/$DEFAULT_SSB_NAME/ssb.elf
+ ssblst_path=$package_dir/$DEFAULT_SSB_NAME/ssb.lst
dspmain_path=$HOMEDIR/code/sdk/tools/pkg/bin/brandy/dsp/normal/dsp_main.bin
dspoverlay_path=$HOMEDIR/code/sdk/tools/pkg/bin/brandy/dsp/normal/dsp_overlay.bin
[os.path.join(cur_dir, 'fs', 'update'), "0xcc0000"],
[os.path.join(cur_dir, 'fs', 'music'), "0xcc0000"],
[os.path.join(cur_dir, 'fs', 'user'), "null"]
-]
+ ]
+
partition_list_single = [
[os.path.join(cur_dir, 'fs', 'user'), "null"]
-]
+ ]
# 将生成image文件转换大小端,保存成另外文件
def convert(src_file, dest_file):
# ["system","0x0", "0xcc0000"],
# ["update","0xcc0000","0xcc0000"],
# ["music", "0x1980000","0xcc0000"],
- ["user", "0x2640000","null"]
+ ["user", "0x0","null"]
]
# 将生成image文件转换大小端,保存成另外文件