From e7d73943e319c868959ec0847c14fb2c78b72956 Mon Sep 17 00:00:00 2001 From: Caisking Date: Tue, 16 Sep 2025 21:51:58 +0800 Subject: [PATCH] =?utf8?q?=E5=A2=9E=E5=8A=A0N9=E7=9A=84=E9=9B=B7=E9=B8=9F?= =?utf8?q?=E6=B5=8B=E8=AF=95=E5=AE=8F=E3=80=82=E5=BC=80=E5=90=AF=E5=AE=8F?= =?utf8?q?=E5=BC=80=E6=9C=BA=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E9=9B=B7?= =?utf8?q?=E9=B8=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../n9/nativeapp/nativelauncher/src/NativeLauncher.cpp | 4 ++-- code/sdk/build/config/target_config/brandy/config.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/n9/nativeapp/nativelauncher/src/NativeLauncher.cpp b/code/sdk/application/wearable/n9/nativeapp/nativelauncher/src/NativeLauncher.cpp index 56776b460..d2f141470 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativelauncher/src/NativeLauncher.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativelauncher/src/NativeLauncher.cpp @@ -174,8 +174,8 @@ void NativeLauncher::InitNativeLauncher(LaunchMode mode) // 开机增加震动 页面启动震动一次 // custom_VibratorFunc_int(0); - // 如果是雷鸟项目 - #ifdef BOARD_LEINIAO + // 如果是雷鸟项目 或者是测试雷鸟项目 + #if defined(BOARD_LEINIAO) || defined(TEST_LEINIAO) NativeAbility::GetInstance().SetDefaultSliceId(VIEW_THUNDER_BIRD); return; #endif diff --git a/code/sdk/build/config/target_config/brandy/config.py b/code/sdk/build/config/target_config/brandy/config.py index 176043ccc..00b37c96c 100644 --- a/code/sdk/build/config/target_config/brandy/config.py +++ b/code/sdk/build/config/target_config/brandy/config.py @@ -944,6 +944,8 @@ target = { #自定义配置项,选择硬件及功能参数 'defines': [ 'BOARD_N9', + #雷鸟测试宏 + # 'TEST_LEIRNIA' # cat1 相关配置 'FT_SINGLE_UART', 'SUPPORT_CAT1_SERVICE', -- 2.17.1