- clang h743 build and run cdc_msc ok

- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
This commit is contained in:
hathach
2024-04-17 20:06:13 +07:00
parent 96f7ca02bf
commit 3442a87d5b
7 changed files with 33 additions and 15 deletions

View File

@@ -18,7 +18,6 @@ elseif (TOOLCHAIN STREQUAL "clang")
set(TOOLCHAIN_COMMON_FLAGS
--target=arm-none-eabi
-mcpu=cortex-m7
-mfloat-abi=hard
-mfpu=fpv5-d16
)
set(FREERTOS_PORT GCC_ARM_CM7 CACHE INTERNAL "")

View File

@@ -45,7 +45,7 @@ elseif (TOOLCHAIN STREQUAL "clang")
list(APPEND TOOLCHAIN_EXE_LINKER_FLAGS
-Wl,--print-memory-usage
-Wl,--gc-sections
-Wl,--cref
#-Wl,--cref
)
endif ()