Page MenuHomePhabricator

Compile error when RAM_LOADING defined
Closed, ResolvedPublic

Description

Via the TFM-Mailing list from Thomas, a minor syntax error hidden by an ifdef

"
I just noticed that there has been an MCUBoot patch merged, which appears to cause build issues in loader.c for MUSCA_A, which seems to be the only target requiring RAM_LOADING:

[ 98%] Building C object bl2/ext/mcuboot/CMakeFiles/mcuboot.dir/bootutil/src/loader.o
C:/Users/thomasto/Projects/tf-m2/trusted-firmware-m/bl2/ext/mcuboot/bootutil/src/loader.c:189:24: error: expected value in expression
#if MCUBOOT_RAM_LOADING
���������������������� ^
1 error generated.
make[2]: * [bl2/ext/mcuboot/CMakeFiles/mcuboot.dir/build.make:341: bl2/ext/mcuboot/CMakeFiles/mcuboot.dir/bootutil/src/loader.o] Error 1
make[1]:
* [CMakeFiles/Makefile2:1265: bl2/ext/mcuboot/CMakeFiles/mcuboot.dir/all] Error 2
make: *** [Makefile:118: all] Error 2

Thomas

"

Event Timeline

RcColes triaged this task as Normal priority.Apr 20 2020, 12:13 PM
RcColes created this task.
RcColes closed this task as Resolved.Apr 20 2020, 12:32 PM

Fix has been merged