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

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