Hi,
I followed the steps below and the error "zephyr\zephyr_pre0.elf section 'text' will not fit in region' FLASH'" appeared when I compiled. I did not change any code.
1.
2.
3.
4.Build
5.pm_static_nrf52840dk_nrf52840.yml
Hi,
I followed the steps below and the error "zephyr\zephyr_pre0.elf section 'text' will not fit in region' FLASH'" appeared when I compiled. I did not change any code.
1.
2.
3.
4.Build
5.pm_static_nrf52840dk_nrf52840.yml
Hi,
Do you see the same with "open existitng sample"?
Regards,
Sigurd Hellesvik
Hi,
Do you mean that I should open the light_bulb project and compile it like this?
From the result, it can be successfully compiled, but this is equivalent to modifying the source code of the routines in the SDK, right?
Best regards,
Chuck
Yes, that is true.
It is not a fix, just a test to get more information about this error.
Next up is maybe a fix:
Instead of using the "Create a new application", try to manually copy the light_bulb folder to somewhere outside the SDK, and then this new folder using "Open existing project".
However, I copied the light_bulb project without any changes as you said, and then compiled and burned it, and finally succeeded, but the program did not run, why?
What do you mean "did not run"?
What are the symptoms?
Built ant flashed both successed,but the attached 52840 module did not respond, and there was no log output via RTT.
Does the configuration of the pm_static_dfu.yml file have any impact?
Best regards,
Chuck
Hi Chuck,
Your project differs much from an unmodified sample. There are signs they are not from NCS v2.7.0 either, but a different version. If so, then this is an entirely different kind of issue. I must ask you to open a new case for it.
I tried to flash the sample unmodified in NCS v2.7.0, it works just fine.
By the way, regarding your initial issue where the sample cannot build with overflow flash, that is most likely because it wasn't built with sysbuild. From NCS v2.7.0, Matter samples only support sysbuild out of the box.
For more information, refer to https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.7.html#d1511e1288.
Best regards,
Hieu
Hi Chuck,
Your project differs much from an unmodified sample. There are signs they are not from NCS v2.7.0 either, but a different version. If so, then this is an entirely different kind of issue. I must ask you to open a new case for it.
I tried to flash the sample unmodified in NCS v2.7.0, it works just fine.
By the way, regarding your initial issue where the sample cannot build with overflow flash, that is most likely because it wasn't built with sysbuild. From NCS v2.7.0, Matter samples only support sysbuild out of the box.
For more information, refer to https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.7.html#d1511e1288.
Best regards,
Hieu