summaryrefslogtreecommitdiff
path: root/toolchain/avrxmega7.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/avrxmega7.cmake
parent49363e93477e3a0065dbc73da9b383a8e52aefe3 (diff)
New targets for:
- xmaga - arm-sim (arm-none-eabi-run) - cortex-m0 Improved toolchain directory structure.
Diffstat (limited to 'toolchain/avrxmega7.cmake')
-rw-r--r--toolchain/avrxmega7.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/avrxmega7.cmake b/toolchain/avrxmega7.cmake
new file mode 100644
index 0000000..876f811
--- /dev/null
+++ b/toolchain/avrxmega7.cmake
@@ -0,0 +1,7 @@
+# Name of the target
+set(CMAKE_SYSTEM_NAME avr)
+set(CMAKE_SYSTEM_PROCESSOR avrxmega7)
+
+set(MCPU_FLAGS "-mmcu=avrxmega7")
+
+include(${CMAKE_CURRENT_LIST_DIR}/common/avr-gcc.cmake) \ No newline at end of file