Will cause compilation warning if NDEBUG is defined We can't modify the code of the external library, so let's ignore it
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Configuration option MCUBOOT_REPOSITORY adds possibility to configure
MCUboot GIT repository to be downloaded (for specified hash commit or
version). This allows to use different forks and personal repositories.
MCUboot main repository is kept as default option.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
Older versions of mcuboot did not support swap using move and therefore
the build would have failed CONFIG_MCUBOOT_SWAP_USING_MOVE=y.
Newer mcuboot contains initial support of swap using move for NuttX. Also
Makefile was updated to as some bootutil files were removed from mcuboot.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This can be useful for development purposes when you don't need any complex bootloader yet,
but just want to jump to the app image.
Can be helpful when we need to switch from secure environment to non-secure environment.
This option, which resolves to -w when CONFIG_CYGWIN_WINTOOL is
configured, is now appended to INCDIR in tools/Config.mk.
See git commit # 5eae32577e5d5226e5d3027c169eeb369f83f77d in the main
The current examples belongs to 'examples/mcuboot' directory. This
moves related example code and Kconfig entries to their respective
project inside examples/mcuboot directory. It cleans all Kconfig
entries at 'boot/mcuboot', including Kconfig, Makefile and
README.md files.
This not perform any code modification.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
This adjusts code and Kconfig variables as preparation to move MCUboot
examples to examples/mcuboot folder.
This changes perfor below sed operations:
's/MCUBOOT_UPDATE_AGENT_EXAMPLE/EXAMPLES_MCUBOOT_UPDATE_AGENT/g'
's/MCUBOOT_SLOT_CONFIRM_EXAMPLE/EXAMPLES_MCUBOOT_SLOT_CONFIRM/g'
It replaces 'apps/boot/mcuboot' prefix by 'apps/examples/mcuboot' and
adjust it with respective application name on below source files:
boot/mcuboot/mcuboot_agent_main.c
boot/mcuboot/mcuboot_confirm_main.c
This commit does not other changes in the code.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
Even though the options existed, the second application would override
the values, resulting in the missing first application on the final
binary.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>