fix linking missing ivt symbol for imxrt with cmake

changed device port = 0, host port =1 for imxrt 1060 and 1064
This commit is contained in:
hathach
2023-05-08 17:25:47 +07:00
parent 654f182176
commit 4fc4f35a8a
13 changed files with 60 additions and 14 deletions

View File

@@ -25,7 +25,13 @@ list(APPEND TOOLCHAIN_COMMON_FLAGS
-fno-strict-aliasing
)
set(TOOLCHAIN_WARNING_FLAGS
list(APPEND TOOLCHAIN_EXE_LINKER_FLAGS
-Wl,--print-memory-usage
-Wl,--gc-sections
-Wl,--cref
)
list(APPEND TOOLCHAIN_WARNING_FLAGS
-Wall
-Wextra
-Werror