From be2673c53bfcd34cf114ff7581c42201deeb57a6 Mon Sep 17 00:00:00 2001 From: snicker Date: Wed, 29 Nov 2023 21:07:00 +0800 Subject: [PATCH] =?utf8?q?=E6=89=A9=E5=A4=A7application=20=E5=88=86?= =?utf8?q?=E5=8C=BA=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/.gitignore | 1 + .../drivers/boards/brandy_evb/product/product_evb4_standard.h | 4 ++-- code/sdk/tools/pkg/chip_packet/brandy/packet.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/code/sdk/.gitignore b/code/sdk/.gitignore index 4c0821c60..27a750b6e 100644 --- a/code/sdk/.gitignore +++ b/code/sdk/.gitignore @@ -9,3 +9,4 @@ interim_binary/brandy/libs/bt/evb_standard/liteos/br/libbt_host_brandy_sample.a interim_binary/brandy/libs/gpu/evb_standard/libgpu.a interim_binary/brandy/libs/media/evb_standard/libjs_audio_captuer.a interim_binary/brandy/libs/media/evb_standard/libjs_player.a +build/script/parse_tool/__pycache__/** diff --git a/code/sdk/drivers/boards/brandy_evb/product/product_evb4_standard.h b/code/sdk/drivers/boards/brandy_evb/product/product_evb4_standard.h index bc1bda19d..85432ec53 100644 --- a/code/sdk/drivers/boards/brandy_evb/product/product_evb4_standard.h +++ b/code/sdk/drivers/boards/brandy_evb/product/product_evb4_standard.h @@ -31,8 +31,8 @@ #define BT_IMAGE_PAGES 144 #define HIFI0_IMAGE_PAGES 224 #define HIFI0_CODEC_PAGES 320 -#define APP_IMAGE_PAGES 896 -#define APP_RESERVED_IMAGE_PAGES 313 +#define APP_IMAGE_PAGES (896+308) +#define APP_RESERVED_IMAGE_PAGES (313-308) #define NV_IMAGE_PAGES 4 #define FOTA_IMAGE_PAGES 3 #define FOTA_IMAGE_START 0x770000 diff --git a/code/sdk/tools/pkg/chip_packet/brandy/packet.py b/code/sdk/tools/pkg/chip_packet/brandy/packet.py index d7a6a6a00..ff782d11a 100644 --- a/code/sdk/tools/pkg/chip_packet/brandy/packet.py +++ b/code/sdk/tools/pkg/chip_packet/brandy/packet.py @@ -76,8 +76,8 @@ def make_all_in_one_packet(pack_style_str): nv_bx = nv + "|0x707F9000|0x4000|100" app = os.path.join(application_dir, "application.bin") - app_bx = app + "|0x70340000|0x380000|18" - + app_bx = app + "|0x70340000|0x4B4000|18" +a #pp_bx = app + "|0x70340000|0x380000|18" bt = os.path.join(bin_dir, "bt.bin") bt_bx = bt + "|0x70090000|0x90000|20" -- 2.17.1