From: snicker Date: Wed, 29 Nov 2023 13:07:00 +0000 (+0800) Subject: 扩大application 分区大小 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=be2673c53bfcd34cf114ff7581c42201deeb57a6;p=mirrors%2FFD230.git 扩大application 分区大小 --- 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"