summaryrefslogtreecommitdiff
path: root/toolchain/arm-sim.cmake
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2014-05-30 13:25:30 +0000
committergkostka <kostka.grzegorz@gmail.com>2014-05-30 13:25:30 +0000
commit51f1e57ab39213c2a84155f9383f87d483dad769 (patch)
treefe707a243bb09bb3f2eb5bf3ab038946bb0e6d51 /toolchain/arm-sim.cmake
parent49363e93477e3a0065dbc73da9b383a8e52aefe3 (diff)
New targets for:
- xmaga - arm-sim (arm-none-eabi-run) - cortex-m0 Improved toolchain directory structure.
Diffstat (limited to 'toolchain/arm-sim.cmake')
-rw-r--r--toolchain/arm-sim.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/toolchain/arm-sim.cmake b/toolchain/arm-sim.cmake
new file mode 100644
index 0000000..bfa1c88
--- /dev/null
+++ b/toolchain/arm-sim.cmake
@@ -0,0 +1,9 @@
+# Name of the target
+set(CMAKE_SYSTEM_NAME arm-none-eabi)
+set(CMAKE_SYSTEM_PROCESSOR arm-sim)
+
+set(MCPU_FLAGS "")
+set(VFP_FLAGS "")
+set(SIM_FLAGS "--specs=rdimon.specs -Wl,--start-group -lgcc -lc -lm -lrdimon -Wl,--end-group")
+
+include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake) \ No newline at end of file