summaryrefslogtreecommitdiff
path: root/cmake/cpu
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-04-24 16:43:40 +0700
committerGitHub <[email protected]>2023-04-24 16:43:40 +0700
commit8ede566c41ee0fc89929e7bc45cdbe31fe53bf0f (patch)
tree23156a728b847d46d4b8a973fbc431f6bb5079a0 /cmake/cpu
parent0871238cacddb1802e5ce88a8e407d55a7fa34af (diff)
parenta4d5d515493187437731eae830cb4b173fd11c02 (diff)
Merge pull request #2039 from hathach/add-cmake-build
Add cmake build
Diffstat (limited to 'cmake/cpu')
-rw-r--r--cmake/cpu/cortex-m7.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/cpu/cortex-m7.cmake b/cmake/cpu/cortex-m7.cmake
new file mode 100644
index 000000000..2b258726f
--- /dev/null
+++ b/cmake/cpu/cortex-m7.cmake
@@ -0,0 +1,6 @@
+set(TOOLCHAIN_COMMON_FLAGS
+ -mthumb
+ -mcpu=cortex-m7
+ -mfloat-abi=hard
+ -mfpu=fpv5-d16
+ )