How to enable core dump to flash

You can get into the menuconfig per doc, project tasks.

You need to also use a partition table that has space for the core dump, otherwise you’ll be running into No core dump partition found.