summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-04-17 20:06:13 +0700
committerhathach <[email protected]>2024-04-19 23:16:57 +0700
commit3442a87d5b52112a8bc4672322d488703e4ee23e (patch)
tree05cc69e08bfbda4d4114842304ab4fe67c7df466 /examples
parent96f7ca02bff64021b14ed84544df873a0d694a79 (diff)
- 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)
Diffstat (limited to 'examples')
-rw-r--r--examples/build_system/cmake/cpu/cortex-m7.cmake1
-rw-r--r--examples/build_system/cmake/toolchain/common.cmake2
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/build_system/cmake/cpu/cortex-m7.cmake b/examples/build_system/cmake/cpu/cortex-m7.cmake
index f7684af84..b0f84b76b 100644
--- a/examples/build_system/cmake/cpu/cortex-m7.cmake
+++ b/examples/build_system/cmake/cpu/cortex-m7.cmake
@@ -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 "")
diff --git a/examples/build_system/cmake/toolchain/common.cmake b/examples/build_system/cmake/toolchain/common.cmake
index 6c6d54c74..bbd670b65 100644
--- a/examples/build_system/cmake/toolchain/common.cmake
+++ b/examples/build_system/cmake/toolchain/common.cmake
@@ -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 ()