diff options
| author | hathach <[email protected]> | 2026-03-13 23:07:46 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-03-13 23:07:46 +0700 |
| commit | e2ead60107ce2e1324c7578fcee98efb8f0c5975 (patch) | |
| tree | 0b1e79f1c984ef9224f7bf22c2618b3bf9090bd6 /examples/build_system/cmake/cpu/ft32.cmake | |
| parent | adf853643b3db80444da5c3018eb214e244fcf47 (diff) | |
add ft9xx-gcc toolchain support to CI
Diffstat (limited to 'examples/build_system/cmake/cpu/ft32.cmake')
| -rw-r--r-- | examples/build_system/cmake/cpu/ft32.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/build_system/cmake/cpu/ft32.cmake b/examples/build_system/cmake/cpu/ft32.cmake new file mode 100644 index 000000000..13153e555 --- /dev/null +++ b/examples/build_system/cmake/cpu/ft32.cmake @@ -0,0 +1,13 @@ +if (TOOLCHAIN STREQUAL "gcc") + set(TOOLCHAIN_COMMON_FLAGS + -fvar-tracking + -fvar-tracking-assignments + ) + +elseif (TOOLCHAIN STREQUAL "clang") + message(FATAL_ERROR "Clang is not supported for this target") + +elseif (TOOLCHAIN STREQUAL "iar") + message(FATAL_ERROR "IAR is not supported for this target") + +endif () |
