Fix memap not running

pull/15339/head
Jamie Smith 2022-05-29 15:47:58 -07:00 committed by Jay Sridharan
parent fb4164951c
commit 87f0272138
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ find_package(Python3 COMPONENTS Interpreter)
include(CheckPythonPackage)
# Check python packages
set(PYTHON_PACKAGES_TO_CHECK prettytable future jinja2 mbed_tools)
set(PYTHON_PACKAGES_TO_CHECK intelhex prettytable future jinja2 mbed_tools)
foreach(PACKAGE_NAME ${PYTHON_PACKAGES_TO_CHECK})
string(TOUPPER ${PACKAGE_NAME} PACKAGE_NAME_UCASE) # Ucase name needed for CMake variable
string(TOLOWER ${PACKAGE_NAME} PACKAGE_NAME_LCASE) # Lcase name needed for import statement
@ -53,7 +53,7 @@ if(Python3_FOUND AND HAVE_PYTHON_INTELHEX AND HAVE_PYTHON_PRETTYTABLE)
set(HAVE_MEMAP_DEPS TRUE)
else()
set(HAVE_MEMAP_DEPS FALSE)
message(STATUS "Missing Python dependencies (python3, intelhex, prettytable) so the memory map cannot be printed")
message(STATUS "Missing Python dependencies (at least one of: python3, intelhex, prettytable) so the memory map cannot be printed")
endif()
# load mbed_create_distro