如果将“CY8C4248FNI”的蓝牙协议栈设置为不支持OTA升级,可以节省多少 Flash 和 SRAM 空间?

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
guta_2945091
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked

如题,现在Flash与RAM不够了,不知道有没有人用过,有没有相关的经验

0 点赞
1 解答
ShengY_96
Employee
Employee
10 sign-ins 5 sign-ins Welcome!

支持OTA升级的功能供BLE升级功能使用,如果不需要使用OTA功能的话,把OTA功能相关的全部删掉,能节省flash及Sram空间。BLE组件手册上有关于OTA组件选项的说明:

Stack only – When this option is selected, the component represents only the stack portion of BLE along with a Bootloader Service. It is used to isolate the stack from the profiles. In this mode, the Profile fields are disabled and the Profiles tab configuration is non-editable.  The Stack only mode is used in the BLE OTA Upgradable Stack Example. Note This mode requires approximately 3024 additional bytes of heap memory. If there is not enough heap memory, the BLE component will not work. The Heap size property can be modified in the PSoC Creator Design-Wide Resources System Editor. See the PSoC Creator Help for more information.

Regards

Jenson

在原帖中查看解决方案

0 点赞
1 回复
ShengY_96
Employee
Employee
10 sign-ins 5 sign-ins Welcome!

支持OTA升级的功能供BLE升级功能使用,如果不需要使用OTA功能的话,把OTA功能相关的全部删掉,能节省flash及Sram空间。BLE组件手册上有关于OTA组件选项的说明:

Stack only – When this option is selected, the component represents only the stack portion of BLE along with a Bootloader Service. It is used to isolate the stack from the profiles. In this mode, the Profile fields are disabled and the Profiles tab configuration is non-editable.  The Stack only mode is used in the BLE OTA Upgradable Stack Example. Note This mode requires approximately 3024 additional bytes of heap memory. If there is not enough heap memory, the BLE component will not work. The Heap size property can be modified in the PSoC Creator Design-Wide Resources System Editor. See the PSoC Creator Help for more information.

Regards

Jenson

0 点赞