child_image mcuboot.conf can not be added to project?

i am sure my mcuboot.conf is correct like this:

# Enable MCUboot Serial Recovery
CONFIG_MCUBOOT_SERIAL=y
CONFIG_UART_CONSOLE=n

CONFIG_MCUBOOT_INDICATION_LED=y

it can be added to m4_20230626 application, but can not be added to hello_world application. however the mcuboot.overlay can be added both applications, like this:

this is my dir files of hello_world application, like this:

this is my dir files of m4_20230626 application, like this:

but i can not understand why this happen? do you have some suggestions? thank you.

Related