diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2014-05-30 13:25:30 +0000 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2014-05-30 13:25:30 +0000 |
| commit | 51f1e57ab39213c2a84155f9383f87d483dad769 (patch) | |
| tree | fe707a243bb09bb3f2eb5bf3ab038946bb0e6d51 /toolchain/cortex-m0.cmake | |
| parent | 49363e93477e3a0065dbc73da9b383a8e52aefe3 (diff) | |
New targets for:
- xmaga
- arm-sim (arm-none-eabi-run)
- cortex-m0
Improved toolchain directory structure.
Diffstat (limited to 'toolchain/cortex-m0.cmake')
| -rw-r--r-- | toolchain/cortex-m0.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/toolchain/cortex-m0.cmake b/toolchain/cortex-m0.cmake new file mode 100644 index 0000000..90863d3 --- /dev/null +++ b/toolchain/cortex-m0.cmake @@ -0,0 +1,8 @@ +# Name of the target
+set(CMAKE_SYSTEM_NAME arm-none-eabi)
+set(CMAKE_SYSTEM_PROCESSOR cortex-m0)
+
+set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0")
+set(VFP_FLAGS "")
+
+include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
\ No newline at end of file |
