From 817cb6f4bd20e66dcebb714a1db292e6c9cf39aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E7=BD=97=E6=AD=A3yun?= <1732036298@qq.com> Date: Mon, 4 Dec 2023 10:10:30 +0800 Subject: [PATCH] =?utf8?q?=E8=AE=BE=E7=BD=AE=E5=9B=BE=E7=89=87=E5=90=8D?= =?utf8?q?=E4=B8=8A=E4=BC=A0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 12 ++++---- .vscode/settings.json | 3 +- .vscode/tasks.json | 28 +++++++++--------- Resource/res/SETTING_BLUETOOTH.bin | Bin 0 -> 2840 bytes .../nativelauncher/include/UiConfig.h | 2 +- 5 files changed, 23 insertions(+), 22 deletions(-) create mode 100644 Resource/res/SETTING_BLUETOOTH.bin diff --git a/.vscode/launch.json b/.vscode/launch.json index b12bca77e..b33f94839 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,10 +8,10 @@ "DevEcoDebugInitPath": "${workspaceRoot}/.deveco/.debug-cache/brandy", "servertype": "jlink", "name": "brandy: DevEco GDB Launch", - "executable": "//wsl.localhost/Ubuntu-20.04/home/caiking/FD230/./software/code/sdk/output/brandy/acore/brandy-liteos/application.elf", - "toolchainBinDir": "", + "executable": "//wsl.localhost/Ubuntu-20.04/home/luozheng/FD230/./software/code/sdk/output/brandy/acore/brandy-liteos/application.elf", + "toolchainBinDir": "D:/tool/DevTools_CFBB_V1.0.6/cc_riscv32_win_env", "projectEnvName": "brandy", - "coreDir": "C:/Users/caiking/my_app/DevEco-Device-Tool/core", + "coreDir": "D:/tool/DevEco-Device-Tool/core", "preLaunchTask": "deveco: run debug server - brandy", "internalConsoleOptions": "openOnSessionStart" }, @@ -21,10 +21,10 @@ "DevEcoDebugInitPath": "${workspaceRoot}/.deveco/.debug-cache/brandy", "servertype": "jlink", "name": "brandy: DevEco GDB Attach", - "executable": "//wsl.localhost/Ubuntu-20.04/home/caiking/FD230/./software/code/sdk/output/brandy/acore/brandy-liteos/application.elf", - "toolchainBinDir": "", + "executable": "//wsl.localhost/Ubuntu-20.04/home/luozheng/FD230/./software/code/sdk/output/brandy/acore/brandy-liteos/application.elf", + "toolchainBinDir": "D:/tool/DevTools_CFBB_V1.0.6/cc_riscv32_win_env", "projectEnvName": "brandy", - "coreDir": "C:/Users/caiking/my_app/DevEco-Device-Tool/core", + "coreDir": "D:/tool/DevEco-Device-Tool/core", "preLaunchTask": "deveco: run debug server - brandy", "internalConsoleOptions": "openOnSessionStart" } diff --git a/.vscode/settings.json b/.vscode/settings.json index 7b6e82f94..e1455a90c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,5 +14,6 @@ "chrono": "cpp", "iostream": "cpp" }, - "C_Cpp.errorSquiggles": "disabled" + "C_Cpp.errorSquiggles": "disabled", + "cmake.sourceDirectory": "/home/luozheng/FD230/code/sdk" } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9e2269bc3..3a7715ba0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -7,13 +7,13 @@ "problemMatcher": [ "$deveco" ], - "command": "C:\\Users\\caiking\\my_app\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", + "command": "D:\\tool\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", "args": [ "run", "--target", "clean", "--project-dir", - "\\\\wsl.localhost\\Ubuntu-20.04\\home\\caiking\\FD230", + "\\\\wsl.localhost\\Ubuntu-20.04\\home\\luozheng\\FD230", "--environment", "brandy" ] @@ -24,11 +24,11 @@ "problemMatcher": [ "$deveco" ], - "command": "C:\\Users\\caiking\\my_app\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", + "command": "D:\\tool\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", "args": [ "run", "--project-dir", - "\\\\wsl.localhost\\Ubuntu-20.04\\home\\caiking\\FD230", + "\\\\wsl.localhost\\Ubuntu-20.04\\home\\luozheng\\FD230", "--environment", "brandy" ] @@ -39,7 +39,7 @@ "problemMatcher": [ "$deveco" ], - "command": "C:\\Users\\caiking\\my_app\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", + "command": "D:\\tool\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", "args": [ "run", "--target", @@ -47,7 +47,7 @@ "--target", "buildprog", "--project-dir", - "\\\\wsl.localhost\\Ubuntu-20.04\\home\\caiking\\FD230", + "\\\\wsl.localhost\\Ubuntu-20.04\\home\\luozheng\\FD230", "--environment", "brandy" ] @@ -58,7 +58,7 @@ "problemMatcher": [ "$deveco" ], - "command": "C:\\Users\\caiking\\my_app\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", + "command": "D:\\tool\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", "args": [ "run", "--target", @@ -71,13 +71,13 @@ "problemMatcher": [ "$deveco" ], - "command": "C:\\Users\\caiking\\my_app\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", + "command": "D:\\tool\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", "args": [ "run", "--target", "upload", "--project-dir", - "\\\\wsl.localhost\\Ubuntu-20.04\\home\\caiking\\FD230", + "\\\\wsl.localhost\\Ubuntu-20.04\\home\\luozheng\\FD230", "--environment", "brandy" ] @@ -88,13 +88,13 @@ "problemMatcher": [ "$deveco" ], - "command": "C:\\Users\\caiking\\my_app\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", + "command": "D:\\tool\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", "args": [ "run", "--target", "stackAnalysis", "--project-dir", - "\\\\wsl.localhost\\Ubuntu-20.04\\home\\caiking\\FD230", + "\\\\wsl.localhost\\Ubuntu-20.04\\home\\luozheng\\FD230", "--environment", "brandy" ] @@ -105,13 +105,13 @@ "problemMatcher": [ "$deveco" ], - "command": "C:\\Users\\caiking\\my_app\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", + "command": "D:\\tool\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", "args": [ "run", "--target", "imageAnalysis", "--project-dir", - "\\\\wsl.localhost\\Ubuntu-20.04\\home\\caiking\\FD230", + "\\\\wsl.localhost\\Ubuntu-20.04\\home\\luozheng\\FD230", "--environment", "brandy" ] @@ -129,7 +129,7 @@ "endsPattern": "^.*Listening\\son\\sTCP/IP\\sport.*" } }, - "command": "C:\\Users\\caiking\\my_app\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", + "command": "D:\\tool\\DevEco-Device-Tool\\core\\deveco-venv\\Scripts\\hos.exe", "args": [ "debug", "--interface=server", diff --git a/Resource/res/SETTING_BLUETOOTH.bin b/Resource/res/SETTING_BLUETOOTH.bin new file mode 100644 index 0000000000000000000000000000000000000000..d875fde650f9fa399a5e45d7e17447b143dc49d6 GIT binary patch literal 2840 zcmb_eZ){Ul6hF7`*}hKJcFr(2*xIr+p^0cWH{@Tocgq&mgyCL`i64mjhlH&dkZwlcyxXYrgoZLIxES29UsN(ej&`d_HxddhP2{|G)@c z(OX#rq9`5`1fd$@wIy4?D{Pu~=;rTFuNhRjYJd-I7B5#QNG~6~@z~ulxcwdjPnV|2 zF+%R&Xg@NOAlO8U!%DPX8Xo=3jT=)hQU7<;|5Ufp0D#-n{Y(;+%E=_D#TQ#oz4`cV z-;mPs@fEaRvD>#AJ+r)?V)^;e%h}N^A;__rM|2WxzW<6R z$VOG~o;3OMwKv3;Lt4JZx4ynDsE`VJ0J>&bNEO7#C^!~PWr@lK=%2U!2vgP{ad>{l z(yvwL&tvB5b3|MnYYq5*`H*e&`B89Tbb<1R5@3tq&!pWmM~%o$Q+cWpe%HGtx56e= zUdmpPLk+zKZ9Oa1gYpeW&o1!=U<0TF)o_NtIfotHu9ZTId>cR5i+zSz9q(K612B>` zWe2eke!idbn+Y3*I<+1@{yxCr;r@XrRqUi%F+z0XVfPQdeZT!dzIta*whKER7tEE{ zzHcR0TL=+$92V{Q^Xs)AJWpTT(duhuCy#CGU01Na`SUH+Z)(Tw+DuuBg9r3rX_Wu3 z9v1s~53S~C^z-c8Xv1_*pwG$C&S0Zk27ErBeA|nHUq@$idhn?FUEXitEe`w0`wv?W zxNO~!g7zxOg9@qq>90_&50wJ!yf+teF$p$i%;%@qUgQgPz?%8d#*03^`SruW+b%7 literal 0 HcmV?d00001 diff --git a/code/sdk/application/wearable/nativeapp/nativelauncher/include/UiConfig.h b/code/sdk/application/wearable/nativeapp/nativelauncher/include/UiConfig.h index abd759595..8e7f91ab5 100644 --- a/code/sdk/application/wearable/nativeapp/nativelauncher/include/UiConfig.h +++ b/code/sdk/application/wearable/nativeapp/nativelauncher/include/UiConfig.h @@ -145,7 +145,7 @@ namespace OHOS static constexpr const char *PNG_BLUETOOTH_STITLE = APP_RES_PATH "/BLUETOOTH_TITLE.bin"; static constexpr const char *PNG_DISPLAY_BRIGHTNESS = APP_RES_PATH "/DISPLAY_BRIGHTNESS.bin"; // 显示与亮度 - static constexpr const char *PNG_BLUETOOTH = APP_RES_PATH "/BLUETOOTH.bin"; // 蓝牙 + static constexpr const char *PNG_BLUETOOTH = APP_RES_PATH "/SETTING_BLUETOOTH.bin"; // 蓝牙 static constexpr const char *PNG_SOUND_VIBRATION = APP_RES_PATH "/SOUND_VIBRATION.bin"; // 声音与震动 static constexpr const char *PNG_SECONDARY_FUNCTION = APP_RES_PATH "/QUICK_ACCESS.bin"; // 辅助功能 static constexpr const char *PNG_SYSTEM = APP_RES_PATH "/SYSTEM.bin"; // 系统 -- 2.17.1