File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ function(mbed_generate_map_file target)
185
185
TARGET
186
186
${target}
187
187
POST_BUILD
188
- COMMAND ${Python3_EXECUTABLE} ${MBED_ROOT } /tools/memap.py -t ${MBED_TOOLCHAIN} ${CMAKE_BINARY_DIR} /${target}${CMAKE_EXECUTABLE_SUFFIX}.map
188
+ COMMAND ${Python3_EXECUTABLE} ${MBED_PATH } /tools/memap.py -t ${MBED_TOOLCHAIN} ${CMAKE_BINARY_DIR} /${target}${CMAKE_EXECUTABLE_SUFFIX}.map
189
189
WORKING_DIRECTORY
190
190
${CMAKE_BINARY_DIR}
191
191
COMMENT
@@ -198,7 +198,7 @@ endfunction()
198
198
#
199
199
function (mbed_validate_application_profile target )
200
200
get_target_property (app_link_libraries ${target} LINK_LIBRARIES )
201
- string (FIND ${app_link_libraries} "mbed-baremetal" string_found_position )
201
+ string (FIND " ${app_link_libraries} " "mbed-baremetal" string_found_position )
202
202
if (${string_found_position} GREATER_EQUAL 0 )
203
203
if (NOT "bare-metal" IN_LIST MBED_TARGET_SUPPORTED_APPLICATION_PROFILES )
204
204
message (FATAL_ERROR
You can’t perform that action at this time.
0 commit comments