Hi,
I try to build the following example project:
C:\work\mcx\mcuxpresso-sdk\mcuxsdk\examples\ota_examples\ota_mcuboot_basic
With this command:
(.venv-mcx) C:\work\mcx\mcuxpresso-sdk>west build -b frdmmcxe31b -d build_mcuboot mcuxsdk\examples\ota_examples\mcuboot_opensource\
And get this error:
C:/work/mcx/mcuxpresso-sdk/mcuxsdk/examples/_boards/frdmmcxe31b/ota_examples/mcuboot_opensource/flash_partitioning/flash_partitioning.h:11:10: fatal error: mcuboot_config.h: No such file or directory
11 | #include "mcuboot_config.h"
MCUBoot folder is here:
C:\work\mcx\mcuxpresso-sdk\mcuxsdk\middleware\mcuboot
What might the issue be?
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