New targets for:
[lwext4.git] / toolchain / cortex-m0.cmake
diff --git a/toolchain/cortex-m0.cmake b/toolchain/cortex-m0.cmake
new file mode 100644 (file)
index 0000000..90863d3
--- /dev/null
@@ -0,0 +1,8 @@
+# Name of the target\r
+set(CMAKE_SYSTEM_NAME arm-none-eabi)\r
+set(CMAKE_SYSTEM_PROCESSOR cortex-m0)\r
+\r
+set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0")\r
+set(VFP_FLAGS "")\r
+\r
+include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
\ No newline at end of file