From: SnickerSun Date: Mon, 4 Nov 2024 08:22:49 +0000 (+0800) Subject: 简历uoffline编译选项,编译offline日志版本的固件 X-Git-Tag: fd230_release_V1.3.102~29^2~60 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F1333%2F1;p=mirrors%2FFD230.git 简历uoffline编译选项,编译offline日志版本的固件 --- diff --git a/autobuild.sh b/autobuild.sh index e9e2e0765..5744e13ee 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -10,7 +10,7 @@ DEFAULT_RECOVERY_NAME=brandy-native-js-r 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.76 +DEFAULT_CUSTOM_FW_VERSION=1.3.77 TARGET_PACK_NAME=$DEFAULT_TARGET_PACK_NAME APPLICATION_NAME=$DEFAULT_APPLICATION_NAME @@ -47,6 +47,13 @@ TARGET_PACK_NAME=$DEFAULT_TARGET_PACK_NAME_USER APPLICATION_NAME=$DEFAULT_APPLICATION_NAME_USER fi +if [ "$1" == "uoffline" ] +then +TARGET_PACK_NAME=pack_brandy_native_js_uoffline +APPLICATION_NAME=brandy-native-js-uoffline +BUILD_NAME=_OFFLINELOG +fi + if [ "$1" == "oob128" ] then TARGET_PACK_NAME=pack_brandy_native_js_oob128 @@ -166,7 +173,7 @@ build_target() cd $HOMEDIR/code/sdk/ echo ./build.py -nhso $CLEAN -$RELEASE_BUILD -build_time=$DATE -custom_fw_version=$DEFAULT_CUSTOM_FW_VERSION $TARGET_PACK_NAME 2>&1 ./build.py -nhso $CLEAN -$RELEASE_BUILD -build_time=$DATE -custom_fw_version=$DEFAULT_CUSTOM_FW_VERSION $TARGET_PACK_NAME 2>&1 - # ./build.py $CLEAN -$RELEASE_BUILD -build_time=$DATE -custom_fw_version=$DEFAULT_CUSTOM_FW_VERSION $TARGET_PACK_NAME 2>&1 + #./build.py $CLEAN -$RELEASE_BUILD -build_time=$DATE -custom_fw_version=$DEFAULT_CUSTOM_FW_VERSION $TARGET_PACK_NAME 2>&1 #./build.py -nhso $CLEAN -$RELEASE_BUILD -build_time=$DATE $TARGET_PACK_NAME 2>&1 ret_code=$? if [ $ret_code == 0 ] diff --git a/code/sdk/application/wearable/service/msg_center/brandy-native-js-uoffline/libmsg_center.a b/code/sdk/application/wearable/service/msg_center/brandy-native-js-uoffline/libmsg_center.a new file mode 100644 index 000000000..c8022217f Binary files /dev/null and b/code/sdk/application/wearable/service/msg_center/brandy-native-js-uoffline/libmsg_center.a differ diff --git a/code/sdk/build/config/target_config/brandy/config.py b/code/sdk/build/config/target_config/brandy/config.py index b7a49c816..d4a79133d 100755 --- a/code/sdk/build/config/target_config/brandy/config.py +++ b/code/sdk/build/config/target_config/brandy/config.py @@ -204,9 +204,20 @@ target = { 'brandy-native-js-user': { 'base_target_name': 'brandy-native-js', 'fs_image_path':'fd230', - 'defines': ['-:SW_UART_DEBUG', '-:DUMP_MEM_SUPPORT', '-:DUMP_REG_SUPPORT', '-:SUPPORT_DFX_EXCEPTION'], + 'defines': ['-:SW_UART_DEBUG', + '-:DUMP_MEM_SUPPORT', + '-:DUMP_REG_SUPPORT', + '-:SUPPORT_DFX_EXCEPTION'], + }, + 'brandy-native-js-uoffline': { + 'base_target_name': 'brandy-native-js', + 'fs_image_path':'fd230', + 'defines': ['-:SW_UART_DEBUG', + '-:DUMP_MEM_SUPPORT', + '-:DUMP_REG_SUPPORT', + '-:SUPPORT_DFX_EXCEPTION', + 'CONFIG_DFX_SUPPORT_OFFLINE_LOG_FILE=1'], }, - 'brandy-native-js-oob128': { 'base_target_name': 'brandy-native-js', 'fs_image_path':'fd230', @@ -482,6 +493,7 @@ target_group = { 'pack_brandy_target5': ['brandy-ssb', 'brandy-target5-r', 'brandy-target5'], 'pack_brandy_native_js': ['brandy-ssb', 'brandy-native-js-r', 'brandy-native-js'], 'pack_brandy_native_js_user': ['brandy-ssb', 'brandy-native-js-r', 'brandy-native-js-user'], + 'pack_brandy_native_js_uoffline': ['brandy-ssb', 'brandy-native-js-r', 'brandy-native-js-uoffline'], 'pack_brandy_native_js_leakcheck': ['brandy-ssb', 'brandy-native-js-r', 'brandy-native-js-leakcheck'], 'pack_brandy_native_js_autoota': ['brandy-ssb', 'brandy-native-js-r', 'brandy-native-js-autoota'], 'pack_brandy_native_js_autootacli': ['brandy-ssb', 'brandy-native-js-r', 'brandy-native-js-autootacli'], diff --git a/code/sdk/middleware/services/gpu/api/rm/brandy-native-js-r-uoffline/libgfx_rm.a b/code/sdk/middleware/services/gpu/api/rm/brandy-native-js-r-uoffline/libgfx_rm.a new file mode 100644 index 000000000..b6b63fe41 Binary files /dev/null and b/code/sdk/middleware/services/gpu/api/rm/brandy-native-js-r-uoffline/libgfx_rm.a differ diff --git a/code/sdk/middleware/services/gpu/api/rm/brandy-native-js-uoffline/libgfx_rm.a b/code/sdk/middleware/services/gpu/api/rm/brandy-native-js-uoffline/libgfx_rm.a new file mode 100644 index 000000000..8b2b0dfa2 Binary files /dev/null and b/code/sdk/middleware/services/gpu/api/rm/brandy-native-js-uoffline/libgfx_rm.a differ diff --git a/code/sdk/middleware/services/gui/hal/display/brandy-native-js-uoffline/libdisplay_gfx.a b/code/sdk/middleware/services/gui/hal/display/brandy-native-js-uoffline/libdisplay_gfx.a new file mode 100644 index 000000000..a9dbb4530 Binary files /dev/null and b/code/sdk/middleware/services/gui/hal/display/brandy-native-js-uoffline/libdisplay_gfx.a differ diff --git a/code/sdk/middleware/services/gui/uikit/brandy-native-js-uoffline/libuikit_ext.a b/code/sdk/middleware/services/gui/uikit/brandy-native-js-uoffline/libuikit_ext.a new file mode 100644 index 000000000..b35257668 Binary files /dev/null and b/code/sdk/middleware/services/gui/uikit/brandy-native-js-uoffline/libuikit_ext.a differ diff --git a/code/sdk/middleware/utils/fs/vfs/brandy-native-js-r-uoffline/libx_vfs_private.a b/code/sdk/middleware/utils/fs/vfs/brandy-native-js-r-uoffline/libx_vfs_private.a new file mode 100644 index 000000000..9146a5dce Binary files /dev/null and b/code/sdk/middleware/utils/fs/vfs/brandy-native-js-r-uoffline/libx_vfs_private.a differ diff --git a/code/sdk/middleware/utils/fs/vfs/brandy-native-js-uoffline/libx_vfs_private.a b/code/sdk/middleware/utils/fs/vfs/brandy-native-js-uoffline/libx_vfs_private.a new file mode 100644 index 000000000..2098718fa Binary files /dev/null and b/code/sdk/middleware/utils/fs/vfs/brandy-native-js-uoffline/libx_vfs_private.a differ diff --git a/code/sdk/middleware/utils/fs/yaffs2/brandy-native-js-r-uoffline/libfs_yaffs2.a b/code/sdk/middleware/utils/fs/yaffs2/brandy-native-js-r-uoffline/libfs_yaffs2.a new file mode 100644 index 000000000..a2818eef3 Binary files /dev/null and b/code/sdk/middleware/utils/fs/yaffs2/brandy-native-js-r-uoffline/libfs_yaffs2.a differ diff --git a/code/sdk/middleware/utils/fs/yaffs2/brandy-native-js-uoffline/libfs_yaffs2.a b/code/sdk/middleware/utils/fs/yaffs2/brandy-native-js-uoffline/libfs_yaffs2.a new file mode 100644 index 000000000..673fa280a Binary files /dev/null and b/code/sdk/middleware/utils/fs/yaffs2/brandy-native-js-uoffline/libfs_yaffs2.a differ diff --git a/code/sdk/open_source/openharmony/foundation/aafwk/aafwk_lite/brandy-native-js-uoffline/libams.a b/code/sdk/open_source/openharmony/foundation/aafwk/aafwk_lite/brandy-native-js-uoffline/libams.a new file mode 100644 index 000000000..c2cf773f6 Binary files /dev/null and b/code/sdk/open_source/openharmony/foundation/aafwk/aafwk_lite/brandy-native-js-uoffline/libams.a differ diff --git a/code/sdk/open_source/openharmony/foundation/ace/ace_engine_lite/brandy-native-js-uoffline/libace.a b/code/sdk/open_source/openharmony/foundation/ace/ace_engine_lite/brandy-native-js-uoffline/libace.a new file mode 100644 index 000000000..d75a78751 Binary files /dev/null and b/code/sdk/open_source/openharmony/foundation/ace/ace_engine_lite/brandy-native-js-uoffline/libace.a differ diff --git a/code/sdk/open_source/openharmony/foundation/appexecfwk/appexecfwk_lite/brandy-native-js-uoffline/libbms.a b/code/sdk/open_source/openharmony/foundation/appexecfwk/appexecfwk_lite/brandy-native-js-uoffline/libbms.a new file mode 100644 index 000000000..3ad0d2547 Binary files /dev/null and b/code/sdk/open_source/openharmony/foundation/appexecfwk/appexecfwk_lite/brandy-native-js-uoffline/libbms.a differ diff --git a/code/sdk/open_source/openharmony/third_party/jerryscript/brandy-native-js-uoffline/libjerryscript.a b/code/sdk/open_source/openharmony/third_party/jerryscript/brandy-native-js-uoffline/libjerryscript.a new file mode 100644 index 000000000..009009cc3 Binary files /dev/null and b/code/sdk/open_source/openharmony/third_party/jerryscript/brandy-native-js-uoffline/libjerryscript.a differ