Skip to content

Commit 6175bbf

Browse files
Fix an annoyance
1 parent c89ece6 commit 6175bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ if("MBED_CONF_TARGET_APPLICATION_PROFILE=full" IN_LIST MBED_CONFIG_DEFINITIONS O
132132
elseif("MBED_CONF_TARGET_APPLICATION_PROFILE=bare-metal" IN_LIST MBED_CONFIG_DEFINITIONS)
133133
set(APPLICATION_PROFILE_CONFIG_BAREMETAL TRUE)
134134
else()
135-
message(FATAL_ERROR "target.application-profile must be set to either 'full' or 'bare-metal'!")
135+
message(FATAL_ERROR "target.application-profile must be set to either 'full' or 'bare-metal'! If you are getting this after upgrading mbed-os then you likely need to clear your CMake cache.")
136136
endif()
137137

138138
# mbed-core-flags/mbed-core-sources link mbed-rtos-flags/mbed-rtos-sources or not depending on

0 commit comments

Comments
 (0)