Configuring MCU boot from Zephyr application

Under bootloader/mcuboot/boot/zephyr there is a prj.conf and prj_miminal.conf. By default mcuboot uses the prj.conf. I'd like to know if:

  1. it is possible to configure mcuboot from an application build to use minimal or other config 
  2. what strategies exist for customizing the mcuboot build

Currently, in order to change the mcu configuration, I am modifying the prj.conf directly, which seems wrong. Ideally I would not have to modify the bootloader/mcuboot repository at all.

Thank you 

Related