skip link option --print-memory-usage for renesas rx since it does not support this option

This commit is contained in:
hathach
2023-05-09 21:39:10 +07:00
parent 77f0726361
commit bc579c045e
6 changed files with 12 additions and 5 deletions

View File

@@ -137,8 +137,8 @@ function(family_configure_target TARGET)
# LinkServer has a bug that can only execute with full path otherwise it throws:
# realpath error: No such file or directory
execute_process(COMMAND which LinkServer OUTPUT_VARIABLE LINKSERVER_PATH OUTPUT_STRIP_TRAILING_WHITESPACE)
add_custom_target(${TARGET}-redlink
COMMAND ${LINKSERVER_PATH} flash ${NXPLS_DEVICE} load $<TARGET_FILE:${TARGET}>
add_custom_target(${TARGET}-nxplink
COMMAND ${LINKSERVER_PATH} flash ${NXPLINK_DEVICE} load $<TARGET_FILE:${TARGET}>
)
endfunction()