Skip to content

Commit

Permalink
Merge branch 'bugfix/increase_bt_example_partition_size' into 'master'
Browse files Browse the repository at this point in the history
example:fix partition size of BT examples are not enough

See merge request adf/esp-adf-internal!1250
  • Loading branch information
jason-mao committed Nov 28, 2023
2 parents f64f647 + 2240f57 commit 74663b6
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1300000,
factory, app, factory, 0x10000, 3000000,
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ CONFIG_HFP_AUDIO_DATA_PATH_HCI=y

CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y

# Increase default app partition size to accommodate BT
# by providing new partition table in "partitions_bt_sink_example.csv"
CONFIG_PARTITION_TABLE_CUSTOM=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1300000,
factory, app, factory, 0x10000, 3000000,
2 changes: 2 additions & 0 deletions examples/player/pipeline_a2dp_sink_stream/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y

CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y

# Increase default app partition size to accommodate BT
# by providing new partition table in "partitions_bt_sink_example.csv"
CONFIG_PARTITION_TABLE_CUSTOM=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 2000000,
factory, app, factory, 0x10000, 3000000,
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y

CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y

# Increase default app partition size to accommodate BT
# by providing new partition table in "partitions_bt_source_example.csv"
CONFIG_PARTITION_TABLE_CUSTOM=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 2M,
factory, app, factory, 0x10000, 3000000,
2 changes: 1 addition & 1 deletion examples/player/pipeline_hfp_stream/partitions_hfp.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1200000,
factory, app, factory, 0x10000, 3000000,
2 changes: 2 additions & 0 deletions examples/player/pipeline_hfp_stream/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ CONFIG_HFP_AUDIO_DATA_PATH_HCI=y

CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y

# Increase default app partition size to accommodate BT
# by providing new partition table in "partitions_hfp.csv"
CONFIG_PARTITION_TABLE_CUSTOM=y
Expand Down

0 comments on commit 74663b6

Please sign in to comment.