Description
Describe the bug
It looks like the CMake linker generator, when enabled, ends up in huge bin/hex files, at least on nRF52.
To Reproduce
west build -b nrf52840dk_nrf52840 samples/hello_world -p -- -DCONFIG_CMAKE_LINKER_GENERATOR=y
ls -lh build/zephyr | grep zephyr.hex
-rw-r--r--. 1 gmarull gmarull 1.5G May 5 12:35 zephyr.hex
Expected behavior
bin/hex file has the same size regardless of CONFIG_CMAKE_LINKER_GENERATOR.
Impact
CONFIG_CMAKE_LINKER_GENERATOR unusable
Logs and console output
N/A
Environment (please complete the following information):
- OS: Linux
- Toolchain Zephyr SDK 0.16.0
- Commit SHA or Version used bdbbb9e
Additional context
N/A