diff options
| author | Mengsk <[email protected]> | 2023-12-13 17:19:13 +0100 |
|---|---|---|
| committer | Mengsk <[email protected]> | 2023-12-13 17:20:51 +0100 |
| commit | 3eb7d6ede962521091e9869e2c54ed7fd2c86bb7 (patch) | |
| tree | 3e56357fe17abfb3db2dccdf514b44e355c467e2 /examples | |
| parent | ccc59e87632909a781851f3b93c42b934b8da8e6 (diff) | |
Enhance IAR CMake support.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/build_system/cmake/cpu/cortex-m4.cmake | 2 | ||||
| -rw-r--r-- | examples/build_system/cmake/toolchain/arm_iar.cmake | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/build_system/cmake/cpu/cortex-m4.cmake b/examples/build_system/cmake/cpu/cortex-m4.cmake index 4e9bc242d..db308aa83 100644 --- a/examples/build_system/cmake/cpu/cortex-m4.cmake +++ b/examples/build_system/cmake/cpu/cortex-m4.cmake @@ -13,7 +13,7 @@ if (TOOLCHAIN STREQUAL "gcc") elseif (TOOLCHAIN STREQUAL "iar") set(TOOLCHAIN_COMMON_FLAGS --cpu cortex-m4 - --fpu VFPv4 + --fpu VFPv4_sp ) if (NOT DEFINED FREERTOS_PORT) diff --git a/examples/build_system/cmake/toolchain/arm_iar.cmake b/examples/build_system/cmake/toolchain/arm_iar.cmake index a487e5b9f..1482624e5 100644 --- a/examples/build_system/cmake/toolchain/arm_iar.cmake +++ b/examples/build_system/cmake/toolchain/arm_iar.cmake @@ -26,6 +26,7 @@ list(APPEND TOOLCHAIN_COMMON_FLAGS ) list(APPEND TOOLCHAIN_EXE_LINKER_FLAGS + --diag_suppress=Li065 ) include(${CMAKE_CURRENT_LIST_DIR}/set_flags.cmake) |
