Hello
Could you help us confirm you are running the example in MCUXpresso for Visual studio code?
Have you made modifications on flash_partitioning.h file?
In your middleware folder do you have an mcuboot_opensource besides the mcuboot?
Could you help us describe how do you import the example ota_mcuboot_basic?
I try to replicate this error with FRDM-MCXE31B by importing [ota_mcuboot_basic] from SDK in Visual studio code and MCUXpresso IDE and at the moment I wasn’t able to replicate this.
If you could share your setup, it would be highly appreciated.
Best Regards