Error: Image size (0x36c54) + trailer (0x630) exceeds requested size 0x37000

So, I'm trying to debug some code I've been working on, so set CONFIG_LOG=y in my prof.config file.

Now, when I try and builld, I get this error:

Error: Image size (0x36c54) + trailer (0x630) exceeds requested size 0x37000

If I remove the CONFIG_LOG=y from the proj.config, then the error goes away.

I've no idea why these two things are related, and I've got no idea what the error means, nor how to fix it.

Can anyone help me get to the bottom of this?

Cheers,

Mike