Skip to content

[mimx93_evk_a55] CONFIG_HEAP_MEM_POOL_SIZE to 65535 cause the zephy bin inscreate 64K #62578

@hakehuang

Description

@hakehuang

Describe the bug

modify prj.conf CONFIG_HEAP_MEM_POOL_SIZE=65535

the zephyr.bin size increase 64K as well

Please also mention any information which could help others to understand
the problem you're facing:

  • What target platform are you using?
    mimx93_evk_a55
  • What have you tried to diagnose or workaround this issue?
    No
  • Is this a regression? If yes, have you been able to "git bisect" it to a
    specific commit?
    No regress

To Reproduce
Steps to reproduce the behavior:

  1. change the samples/hello_world/prj.conf, adding
    CONFIG_HEAP_MEM_POOL_SIZE=65535
  2. build
    west build -b mimx93_evk_a55
  3. check the file size

Expected behavior
as the HEAP is put into noint area, this should not increase the binary size.

Impact
this will cause the imx95 binary increase too much to deploy

Logs and console output

before change

zephyr/samples/hello_world$ ls build/zephyr/zephyr.bin -la
-rwxrwxr-x 1 ubuntu ubuntu 106500  9月 13 16:11 build/zephyr/zephyr.bin

after change

zephyr/samples/hello_world$ ls build/zephyr/zephyr.bin -la
-rwxrwxr-x 1 ubuntu ubuntu 172036  9月 13 16:11 build/zephyr/zephyr.bin

Environment (please complete the following information):

  • OS: (e.g. Linux,, )
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used: zephyr-v3.4.0-3573-g79158a777b

Metadata

Metadata

Assignees

Labels

StalebugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions